[thelist] Exim mail relay issue
Burhan Khalid
thelist at meidomus.com
Wed Feb 23 00:49:46 CST 2005
Russ wrote:
> All...
>
> I've got exim set up on a box running Fedora, and for some reason, it
> isn't relaying mail from localhost to recipients not on the same
> server--when running ColdFusion pages that are pushing out emails (just
> so you know that CFMX is running as well) or any other time.
>
> If while on the server I do a "telnet localhost 25" and send mail, it
> works, but if I do a "telnet [hostname] 25" and do it, it fails, even
> though it should be recognized as a local host.
>
> Seems as if this should be rather simple, but I'm spinning my wheels all
> over the place. Anyone experience this before?
Not specifically in Fedora, but this sounds like a DNS resolv issue.
Are you sure your hosts file has the correct entries for your server?
If your server is called mail.mydomain.com, then your hosts file should
be similar to :
127.0.0.1 mail.mydomain.com mail localhost
[ additional entries for other hosts, etc. ]
You can also use the "dig" utility to verify DNS records for your
server. For example, this is the MX record entry for evolt.org :
burhan at sandbox burhan $ dig +nocomments evolt.org MX
; <<>> DiG 9.2.3 <<>> +nocomments evolt.org MX
;; global options: printcmd
;evolt.org. IN MX
evolt.org. 3565 IN MX 20 relay.evolt.org.
evolt.org. 3565 IN MX 10 mail.evolt.org.
evolt.org. 2528 IN NS ns2.everydns.net.
evolt.org. 2528 IN NS ns3.everydns.net.
evolt.org. 2528 IN NS ns4.everydns.net.
evolt.org. 2528 IN NS ns1.everydns.net.
ns2.everydns.net. 22676 IN A 216.218.240.206
ns3.everydns.net. 105128 IN A 80.84.249.169
ns4.everydns.net. 105128 IN A 63.219.183.200
;; Query time: 947 msec
;; SERVER: 195.226.224.72#53(195.226.224.72)
;; WHEN: Wed Feb 23 09:27:46 2005
;; MSG SIZE rcvd: 202
More information about the thelist
mailing list