On Wednesday 15 October 2003 05:32, Lars Holmström wrote:
# testmxlookup skyitl.se
Domain skyitl.se:
Relay: mail1.skyitl.se, Priority: 180, Address: ::ffff:172.24.99.31
Relay: mail1.skyitl.se, Priority: 200, Address: ::ffff:172.24.99.31
That's one of your problems. Courier is trying to send mail to your domain
through "mail1.skyitl.se" which is NOT routeable on the internet. I can't
get an ip address for it.
# more /etc/courier/esmtproutes
skyitl.se: 172.24.99.31
mail.skyitl.se: 172.24.99.31
That's your other problem. If you are going to route to ip addresses then
need to be in brackets. Courier is trying here to send to a host called
"172.24.99.31", NOT an ip address. So
skyitl.se: [172.24.99.31]
will solve your problem. Now courier will send all mail for the skyitl.se
domain to that ip address. But you ought to get your dns fixed as well.
Interestingly enough when I do a lookup I get different results.
[jeff@superman jeff]$ testmxlookup skyitl.se
Domain skyitl.se:
Relay: mail.skyitl.se, Priority: 200, Address: ::ffff:194.237.242.110
Relay: www.skyitl.se, Priority: 230, Address: ::ffff:195.54.149.250
Relay: ns.flysta.net, Priority: 500, Address: ::ffff:192.121.126.10
These appear to be correct in that it references "mail.skyitl.se" as the
primary mail server.
Hope that helps.