Here is what I have.
One server (CXM – crazy8.ccaac.cxm) is server only and used for local email only. No access to the internet for any incoming or outgoing mail. The users use this server and access their email via hord web-mail. All seems to work OK, but I have to keep issuing the “service smtpd restart” command in order to unfreeze the webmail and get the mail going again.
The other server (COM – gnatbox.asthmaandallergy.com) is setup to be a gateway and I have web applications that send email to the CXM mail. All this was working well until I upgraded both machines to 7.1.
At present I have put an entry in the CXM server in the /etc/cron/hourly as follows:
#!/bin/sh
#
service smtpd restart > /dev/null
This has helped some, but I feel that I am just covering up a problem and would like to fix it.
Here is what I have done…
On the COM machine I created a domain named ccaac.cxm and had to link it to a e-bay called test. It is set to resolve locally. Under Host names and addresses I erased all entries except the mail.ccaac.cxm for mail and the gnatbox.ccaac.cxm (which you cannot erase w/o removing the domain entry. The mail.ccaac.cxm is set local and the ip and mac address are set properly. The gnatbox.ccaac.cxm is (of course) set to self. This was done via the server-manager.
In the /etc/hosts I have the following:
In the CMX host:
#------------------------------------------------------------
127.0.0.1 localhost
192.168.1.8 crazy8.ccaac.cxm crazy8
192.168.1.86 gnatbox.asthmaandallergy.com
In the COM host:
#------------------------------------------------------------
127.0.0.1 localhost
192.168.1.86 gnatbox.asthmaandallergy.com gnatbox
192.168.1.8 crazy8.ccaac.cxm
192.168.1.8 mail.ccaac.cxm
192.168.1.8 ccaac.cxm
+++++++++++++++++++++++++++++++++
In the /var/qmail/control/locals I have the following:
In the CXM host:
#
localhost
crazy8.ccaac.cxm
# No ExternalIP
mail.ccaac.cxm
In the COM host:
#
localhost
gnatbox.asthmaandallergy.com
[…my external ip…]
+++++++++++++++++++++++++++++++
In the /var/qmail/control/rcphosts I have the following:
In the CXM host:
#------------------------------------------------------------
crazy8.ccaac.cxm
ccaac.cxm
In the COM host:
#------------------------------------------------------------
gnatbox.asthmaandallergy.com
asthmaandallergy.com
ccaac.cxm
morganpedi.com
sw-allergy-asthma-foundation.org
trombly.info
trombly.org
[…my external ip…]
In the CXM host in the /var/log/qmail I get these messages:
CNAME lookup failed temporarily. (#4.4.3)/
Sorry, I wasn't able to establish an SMTP connection. (#4.4.1)/
Sorry. Although I'm listed as a best-preference MX or A for that host,/it isn't in my control/locals file, so I don't treat it as local. (#5.4.6)/
If I am going about this in the wrong way I would certainly appreciate any help you could give.
