My current setup before any changes were made is explained here: http://forums.cpanel.net/showthread.php?t=59402
Basically what I now want to do is to have 'mailbackup.domain' as the first MX record, and my Exchange Server as the second. The reason being is I want all email checked by SpamAssassin before being forwarded to the next MX record; thus removing any spam before delivering to my Exchange Server (which has no spam protection).
Zen Internet have done the very same thing previously with my domains, where their mail cluster (4 servers running Exim 4.x) are the 1st MX record (mailcluster.zen.co.uk) and my domain is the 2nd.
There are several domains on my server that want this functionality, so for the time being I have only changed my DNS records, as follows:
domain. MX 10 mailbackup.domain.
domain. MX 20 mail.domain.
* mailbackup represents my server IP, and mail respresents my Exchange Server IP.
I've applied the change direct to the .DB file located under /var/named/ and restarted the BIND service in WHM. I send a few test emails (using the SMTP service on the server, sending from one domain into the domain I've just made the changes to).
I receive all emails no problem, with no errors.
However today I have not received the emails I get on a daily basis from the server telling giving me a server status update and so on. I check the Mail Queue to find they're queued, and have been for over 12 hours! I try to release the emails to be told:
LOG: MAIN
cwd=/usr/local/cpanel/whostmgr/docroot 3 args: exim -v -qff
LOG: queue_run MAIN
Start queue run: pid=8806 -qff
delivering 1GqhQa-0002bE-W7 (queue run pid 8806)
LOG: MAIN
Unfrozen by forced delivery
LOG: MAIN
lowest numbered MX record points to local host: domain
LOG: MAIN
== [email protected] R=lookuphost defer (-1): lowest numbered MX record points to local host
LOG: MAIN
Frozen
...And so on...
I've also noticed that emails from an external location have the same problem!
I have now reverted back to the original DNS and restarted BIND and EXIM. However the same problem is occuring! Any new emails that come in just queue and I cannot release them!!! HELP!!!
As a note, I have checked /etc/localdomains, /etc/remotedomains and /etc/secondarymx but these remain unchanged (they're config'd OK).
Any help on resolving this urgent issue would be greatly appreciated.
Thanks in advance.
Basically what I now want to do is to have 'mailbackup.domain' as the first MX record, and my Exchange Server as the second. The reason being is I want all email checked by SpamAssassin before being forwarded to the next MX record; thus removing any spam before delivering to my Exchange Server (which has no spam protection).
Zen Internet have done the very same thing previously with my domains, where their mail cluster (4 servers running Exim 4.x) are the 1st MX record (mailcluster.zen.co.uk) and my domain is the 2nd.
There are several domains on my server that want this functionality, so for the time being I have only changed my DNS records, as follows:
domain. MX 10 mailbackup.domain.
domain. MX 20 mail.domain.
* mailbackup represents my server IP, and mail respresents my Exchange Server IP.
I've applied the change direct to the .DB file located under /var/named/ and restarted the BIND service in WHM. I send a few test emails (using the SMTP service on the server, sending from one domain into the domain I've just made the changes to).
I receive all emails no problem, with no errors.
However today I have not received the emails I get on a daily basis from the server telling giving me a server status update and so on. I check the Mail Queue to find they're queued, and have been for over 12 hours! I try to release the emails to be told:
LOG: MAIN
cwd=/usr/local/cpanel/whostmgr/docroot 3 args: exim -v -qff
LOG: queue_run MAIN
Start queue run: pid=8806 -qff
delivering 1GqhQa-0002bE-W7 (queue run pid 8806)
LOG: MAIN
Unfrozen by forced delivery
LOG: MAIN
lowest numbered MX record points to local host: domain
LOG: MAIN
== [email protected] R=lookuphost defer (-1): lowest numbered MX record points to local host
LOG: MAIN
Frozen
...And so on...
I've also noticed that emails from an external location have the same problem!
I have now reverted back to the original DNS and restarted BIND and EXIM. However the same problem is occuring! Any new emails that come in just queue and I cannot release them!!! HELP!!!
As a note, I have checked /etc/localdomains, /etc/remotedomains and /etc/secondarymx but these remain unchanged (they're config'd OK).
Any help on resolving this urgent issue would be greatly appreciated.
Thanks in advance.