Relay Mail through another server? (but not for apache user)

Dixiesys

Verified User
Joined
Aug 2, 2003
Messages
123
Location
The South
What I want to do is relay outgoing email say, for AOL.com (who keep blocking servers for "spamming" yet we get no warnings) through another server NOT being blocked.

BUT I don't want to send ANY apache (php) generated emails through this other server for fear of IT getting blocked too (99.9% of the spam problems are due to php scripts and it only takes a handful of spam emails to leave your server before Aol/Spamcop/SBC/etc will BLOCK your server with no warning and often, no appeal).

So I simply want to setup a forwarding situation, server wide, to forward all email EITHER for a couple domains (aol.com in particular) through another server but I don't ever want apache generated email to be relayed, it can just be delivered "as normal" and if it's blocked so be it. OR I want to simply forward ALL outoing email through a relaying server, but NOT for user apache.

Does this make sense? Anyway if you have any handle on how to make this happen I'll be appreciative of any help.
 
Why not just add the domains you dont want blocked to /etc/virtual/whitelist_domains

???
 
Dixiesys,

You can do this, and a lot of other things as well, through a customized exim.conf file, but teach a course in exim.conf is well beyond the scope of this humble forum.

There's a lot of good information at the exim.org site, including the complete manual. There's also a great exim-users mailing list; you can subscribe from their site.

Or buy the book "Exim: The Exim SMTP Mail Server" published by "UIT Cambridge" (not the one published by O'Reilly as it's out of date); the book is the reference we find most useful.

Be careful what yo do, though. If AOL and others discover that you're doing what you want to do they'll see it as evidence of spamming and you may eventually find every server you use blocked just because they can.

Jeff
 
Back
Top