[exim] Mail from remote server sending to my dedicated site:…

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Albert Wong
Datum:  
To: exim-users
Betreff: [exim] Mail from remote server sending to my dedicated site: 550 Error Relay not permitted
So, I posted this before, but I did some more work on this.

_On my Dedicated Box_
Exim's primary_host / local_domains / ACL section *does* seem to be
configured to receive the mail to the appropriate domains [local_domains]
when mail is sent out **from the local "mail" command line** on the
dedicated box... However, when the mail is sent **from a remote mail
server**, [like yahoo.com or my ISP dslextreme.com] to the dedicated box, I
get the "550 Error Relay not permitted".

I think that the locally originating mail gets appropriately passed through
the exim.configure file, but remotely originating mail does not .

When I dig "ithou.org" when I am logged onto the localhost, I get this:

dig ithou.org -t mx

gives:

;; QUESTION SECTION:
;ithou.org. IN MX

;; ANSWER SECTION:
ithou.org. 3600 IN MX 20 mail.ithou.org.
ithou.org. 3600 IN MX 10 mx.ithou.org.

;; AUTHORITY SECTION:
ithou.org. 3600 IN NS ns2.ithou.org.
ithou.org. 3600 IN NS ns1.ithou.org.

;; ADDITIONAL SECTION:
mx.ithou.org. 3600 IN A 216.32.94.10
mail.ithou.org. 3600 IN A 216.32.94.10
ns1.ithou.org. 3600 IN A 216.32.94.10
ns2.ithou.org. 3600 IN A 216.32.94.10

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Mon Aug 14 11:24:01 2006
;; MSG SIZE rcvd: 167

whereas the actual godaddy nameservers [where my site nameservers are set up
right now] yields the following:

dig @park29.secureserver.net ithou.org -t mx

gives this output:

;; QUESTION SECTION:
;ithou.org. IN MX

;; ANSWER SECTION:
ithou.org. 3600 IN MX 10 mx.ithou.org.
ithou.org. 3600 IN MX 30 mail.ithou.org.

;; ADDITIONAL SECTION:
mail.ithou.org. 3600 IN A 216.32.94.10
mx.ithou.org. 3600 IN A 216.32.94.10

;; Query time: 39 msec
;; SERVER: 64.202.165.19#53(64.202.165.19)
;; WHEN: Mon Aug 14 11:29:15 2006
;; MSG SIZE rcvd: 99

---------------

Additionally, here's the main parts of the exim configure file:

primary_hostname = ithou.org

domainlist local_domains = @ : ithou.org : <http://www.ithou.org>
www.ithou.org
domainlist relay_to_domains = *.ithou.org : ithou.org
hostlist relay_from_hosts = localhost : 216.32.94.10

Thanks for any ideas! :-)

Finally: and this might be key... when I try to do a telnet test send
message from exim, I get the following response:

#telnet ithou.org 25
Connected to ithou.org.
Escape character is '^]'.
220 newinst.layeredtech.com ESMTP Exim 4.62 Mon, 14 Aug 2006 11:37:00 -0500
ehlo ithou.org
250-newinst.layeredtech.com Hello ithou.org [216.32.94.10]
250-SIZE 52428800
250-PIPELINING
250 HELP
MAIL FROM: wonga@???
250 OK
RCPT TO: wonga@???
451 Temporary local problem - please try later

Thanks for all your ideas!

I've tried to contact LayeredTech.com which is my hosting company to try and
set things up with a PTR / DNS record upstream. because Bill Hacker
graciously recommended that I do so earlier, but the hosting company is
being kinda unresponsive.

Anyhow, thanks for your help!

Albert