SLUG Mailing List ArchivesIf you configure your secondary as a relay host for your primary, then it will accept mail from anywhere and deliver it to the primary when possible. This i believe is the behavior your wanting?
Spammers will usually exploit the relaxed rules on a secondary, and the trust relationship with the primary, to deliver spam. My understanding and from observation, is that spammers will try the highest value secondary and work their way down. A normal mail server should do the opposite, trying the lowest MX and working upwards. I have seen recommendations to put your real mail server a few MX's up, and make the rest of the MX's bogus entries, thus (arguably) tarpitting spammers and still allowing proper email delivery - albeit slightly delayed.
Keep in mind that if your primary mail server is down, other mail servers wanting to deliver will hold on to the mails and retry for days. So a secondary is not strictly necessary.
I must also advocate the use of Exim, it is the best MTA. People may flame away on that point.
Dean Phillipus Gunawan wrote:
Hi SLUGgers,
I am planning to experimenting my own Secondary Mail server (MX)
Currently I had a Postfix on my shorewall and working fine to deliver all emails to stupid Exchange07
Setup the DNS, everything ok
To add the flavor, I am planing to ask my best mate so I can leave a small box over his house to host secondary mail server
What I would prefer the 2nd MX is to hold all emails in case my postix is not online
I read few articles, but most of them needing me to list all current email address hold on Postfix / Exch
Is there any way I can set a 2nd MX just to hold all the emails no matter whoever the users are, and deliver it to my primary mail server after its back online?
Thanks for any advice
__________________________________________________________________________________
Win 1 of 4 Sony home entertainment packs thanks to Yahoo!7.
Enter now: http://au.docs.yahoo.com/homepageset/