Cyberdevil
Verified User
- Joined
- Sep 16, 2007
- Messages
- 40
I'm working on a fallback mailserver at the moment but I can't get it to work.
Situation : I'm using directadmin and exim as a main mailserver and using postfix for fallback because it should be easy to set this up.
What Ive done : making a cron to get /etc/virtual/domains to the fallback server and including it with :
relay_domains = /etc/postfix/domains
I've changed inet_interfaces = localhost to inet_interfaces = all
relay_recipient_maps =
smtpd_client_restrictions = permit_mynetworks
smtpd_delay_reject = no
smtpd_helo_required = yes
Something like this and I've set the MX 20 to the fallback server but if I send a mail to the server when mx1 is down, the fallback server does nothing (notting in logs tho) and the mail is waiting untill the main mail server is back on.
Anyone with such a configuration who knows whats wrong ?
Situation : I'm using directadmin and exim as a main mailserver and using postfix for fallback because it should be easy to set this up.
What Ive done : making a cron to get /etc/virtual/domains to the fallback server and including it with :
relay_domains = /etc/postfix/domains
I've changed inet_interfaces = localhost to inet_interfaces = all
relay_recipient_maps =
smtpd_client_restrictions = permit_mynetworks
smtpd_delay_reject = no
smtpd_helo_required = yes
Something like this and I've set the MX 20 to the fallback server but if I send a mail to the server when mx1 is down, the fallback server does nothing (notting in logs tho) and the mail is waiting untill the main mail server is back on.
Anyone with such a configuration who knows whats wrong ?