SteveWoody
04-29-2008, 09:07 AM
I have a Cobalt RAQ4R which I have recently setup with Bluequartz/CentOS. I have also installed Mailscanner and ClamAV.
I also have an existing Windows NT based mail server which I plan to replace with the RAQ. Both sit behind a NAT firewall with SMTP service presently pointing to the old NT box.
The setup appears to be operating correctly, except for one MAJOR problem. I am using a DynDNS address in the MX records for the public IP address of the mail server.
When I try to send a message to any of the Cobalt Raq local mail adresses, using Squirellmail or telneting directly to port 25, the mail domain address is changed to the DynDNS domain name and passed to the smarthost.
For instance:-
MX record for mydomain.net resolves to mydomain.dyndns.org
Mail is sent to the local user and domain myname@mydomain.net, in the mailheader I can see that the address has changed to myname@mydomain.dyndns.org before being forward to my ISP's mail server.
This happens for all the users and domains hosted on the server. I have checked /etc/local-host-names which is correct.
Is this a problem with Sendmail or Mailscanner, is the mail setup picking up the Dyndns domain name from a local configuration file or is it checking the MX records and ammending the domain name to match, and how do I correct it?
Many thanks
Steve
I also have an existing Windows NT based mail server which I plan to replace with the RAQ. Both sit behind a NAT firewall with SMTP service presently pointing to the old NT box.
The setup appears to be operating correctly, except for one MAJOR problem. I am using a DynDNS address in the MX records for the public IP address of the mail server.
When I try to send a message to any of the Cobalt Raq local mail adresses, using Squirellmail or telneting directly to port 25, the mail domain address is changed to the DynDNS domain name and passed to the smarthost.
For instance:-
MX record for mydomain.net resolves to mydomain.dyndns.org
Mail is sent to the local user and domain myname@mydomain.net, in the mailheader I can see that the address has changed to myname@mydomain.dyndns.org before being forward to my ISP's mail server.
This happens for all the users and domains hosted on the server. I have checked /etc/local-host-names which is correct.
Is this a problem with Sendmail or Mailscanner, is the mail setup picking up the Dyndns domain name from a local configuration file or is it checking the MX records and ammending the domain name to match, and how do I correct it?
Many thanks
Steve
