Found this new post at Directadmin Knowledgebase, so thought that everybody here should check it out, looks good and easy too
http://help.directadmin.com/item.php?id=167
http://help.directadmin.com/item.php?id=167
Very interesting discussion. I understand exactly what jlasman is saying here and his points are dead on. None the less, I have a situation where I think that a backup mx is required for at least a short period of time during a migration from one service to another.
Will the exim setting "require_verify" help with this situation at all j? I am so new to exim I don't know where this test is taking place in the process or how dependable it is![]()
Thanks!
Dan Ellison,
Concepte of Illinois
sender verify will drop a percentage of the spam, however like Jeff said, spammers can use valid forged email addresses, there for, once your backup mx delivers the mail to your primary mx and your primary mx, says undeliverable, it will then spam that persons email address, which your secondary mx said was actually valid.
The best, safe and only way this should really be implemented is with a list of email addresses that you will only accept email for on your seconday mx which are valid on your primary
Inevitably spam messages will arrive at the secondary MX for non-existent users. The secondary server has no idea what users are valid on the primary mail server. Thus it will accept the message and attempt to relay it. But the primary mail server will reject it and the message will remain in the secondary server's queue. A simple solution is for the secondary server to attempt to see if relaying to that user is possible before accepting the message. (Results will be cached to reduce the performance hit.)
Create /etc/exim4/local_rcpt_callout and list, one per line, each relay domain.
Edit conf.d/acl/30_exim4-config_check_rcp and replace !verify = recipient/callout with !verify = recipient/callout=10s,defer_ok to accept messages if the callout fails.
Note that call-outs only check addresses and don't prevent frozen messages from piling up that were rejected at RCPT time due to their contents. Installing the same spam filters on the secondary mail server will help mitigate this.
I still don't see any reason to have a backup mx server.