August 21st, 2011, 11:02 AM
External mail not working
My old Freebsd server has died of old age, and I have built a new one using Freebsd 8.2. Almost everything works fine, Apache, Samba, Qpopper etc but I cannot get external mail to go out or come in.
I cannot 'telnet domain.com 25' - no connection. I can 'telnet localhost 25'. It's not my ISP blocking anything - I have had to move email to the PC on the table next to it in order continue to receive mail.
I can ping the outside world, so I imagine it's not DNS.
I can mail local users.
I can appear to email external users, but nothing gets received.
I have set up and made a hash of virtusertable, and done everything exactly as I have done in the past since v4.11, using my notes. local-host-names has the same list of names that Samba's virtual hosts have.
Can anyone help me with some tests to try, or logs to look in, or is there some known difference between 8.2 and earlier versions?
Last edited by Mervyn; August 21st, 2011 at 11:18 AM.
August 22nd, 2011, 05:54 PM
Is your firewall and any port forwarding set up properly?
The man who doesn't read good books has no advantage over the man who can't read them.
August 23rd, 2011, 03:51 AM
I discovered what caused it last night. PING, ports etc are all happy with the router's internal IP address as the DNS server.
Sendmail is fussier, and if you don't use the external IP address of the DNS server, names don't resolve, or perhaps it gets confused when the real server replies. At least, changing that on my setup made it work.
Thanks for the help.