I do it as a plugin. It allows me to have an array of systems that all sit
in front of the real MTA.
That's exactly my configuration; anything I add would be smart enough to check for loops over multiple Received: lines. Care to share your plugin???
John
