We are having problems with delivery of mails from our email server [qmail on Red Hat Linux 6.1] which is behind the Raptor firewall. The qmail server has problem delivering mails to other domains having 2 MX records if server with higher preference MX record is down. The qmail server behind the Raptor firewall does not send mail to server with lower MX preference. To verify we did the following setup.
We have setup a domain called "test.********.com". We have 2 exchange servers in this domain . In our DNS server we have proper A & 2 MX record
entries:
A record for exmem1.test.********.com pointing to *.*.*.200
A record for expdc1.test.********.com pointing to *.*.*.201
MX record for exmem1.test.********.com with preference 10
MX record for expdc1.test.********.com with preference 20
We tested this setup with the following two scenarios.
Scenario 1: With both the Exchange servers online.
We could receive mails from
our domain (behind Raptor firewall)
hotmail.com (i.e. all other outside domains)
Scenario 2: With exmem1.test.********.com (the mail server with higher preference) down.
We could receive mails from
hotmail.com (i.e. all other outside domains)
BUT WE COULD NOT RECEIVE MAILS FROM our domain
The mail server of our domain tries to contact the higher preference mail server for test.********.com (i.e. exmem1.test.********.com) but this server is offline. Ideally it should try the next preference from the MX record in the DNS. But the mails remain in the queue and our qmail server keeps on retrying to send the mail to the first MX record without trying the second one.
I want to know whether this problem is with qmail or is it the Raptor Firewall's problem?
We have setup a domain called "test.********.com". We have 2 exchange servers in this domain . In our DNS server we have proper A & 2 MX record
entries:
A record for exmem1.test.********.com pointing to *.*.*.200
A record for expdc1.test.********.com pointing to *.*.*.201
MX record for exmem1.test.********.com with preference 10
MX record for expdc1.test.********.com with preference 20
We tested this setup with the following two scenarios.
Scenario 1: With both the Exchange servers online.
We could receive mails from
our domain (behind Raptor firewall)
hotmail.com (i.e. all other outside domains)
Scenario 2: With exmem1.test.********.com (the mail server with higher preference) down.
We could receive mails from
hotmail.com (i.e. all other outside domains)
BUT WE COULD NOT RECEIVE MAILS FROM our domain
The mail server of our domain tries to contact the higher preference mail server for test.********.com (i.e. exmem1.test.********.com) but this server is offline. Ideally it should try the next preference from the MX record in the DNS. But the mails remain in the queue and our qmail server keeps on retrying to send the mail to the first MX record without trying the second one.
I want to know whether this problem is with qmail or is it the Raptor Firewall's problem?