keefe007 said:
A smarthost is something completely different.
What that page shows how to do is forward all mail destined for one domain to a different server instead.
It does it by taking mail from authenticated users addressed to pobox.com and sends it through the isp's mailserver.
Which is quite different from what you want to do.
You want to take mail from unathenticated users (the rest of the world) and accept it, and then sanitize it, and then send it to it's proper server.
Here's what you have to do:
1) You have to be the MX server for the domain, and you have to teach your exim to accept email for real users (and only real users) on that domain (even though those users don't exist on your server), refusing mail for users that are NOT real users. To do that you have to, for each domain you receive mail for, find it in a list to be sure you're supposed to accept unauthenticated mail for it.
2) You have to sanitize the mail. You could use SpamBlocker and VirusBlocker. VB isn't out yet, but should be in about a week. SB's newest version (in beta tonight or tomorrow) will do much of what you need, but that's only part of the equation.
3) You could use SpamAssassin 3, though here it only catches about 50% of the spam that makes it through SB. (That could be because SB is so efficient; it might do much better on systems without SB.) It definitely uses a lot of resources, though.
4) You also have to somehow block viruses, or do something else with them, such as mark and forward them, or send them back. Sending back isn't a good option; you'll cause a lot of collateral spam (look up the exact term in Google if you need more info) and you'll find yourself on blocklists. So you'll need to block it. I haven't seen anyone here doing that successfully yet, though VB will, in a week or so. And yes, it to uses a lot of resources.
5) Once you've sanitized the mail you have to forward it to the "real" mailserver for the domain.
How do you do that? You can't do it by MX, because the MX points to you. So you'll need some other method (hint: sendmail uses "mailertable").
If you can do all that without a custom exim.conf file, then good for you

.
Jeff