RE: [exim] Do not accept messages to <someuser@myname.compan…

Página Inicial
Delete this message
Reply to this message
Autor: Giuliano Gavazzi
Data:  
Para: Hochstrasser Benedikt, exim-users
CC: 
Assunto: RE: [exim] Do not accept messages to <someuser@myname.company.org>
At 10:39 pm +0100 2004/11/04, Hochstrasser Benedikt wrote:
>I wrote:
>>>>
>Question: Is there a simple acl that would deny all mail that would end
>up at the local host? Or a catch-all rewrite rule that redirects all
>"local" mail to one of the internal domains?
><<<
>
>Never mind...I found it.
>
>"self = fail" (or self = reroute: rewrite: <domain>) in the dnslookup
>router did the trick.


no, I was going to reply to your previous because I did not really
see your point and now I think that the answer is not the most
correct..
You said:

>Today I checked with a relay test ("telnet relay-test.mail-abuse.org"
>from your exim box) and that darn tool tried to send mail to
><user@???>; sure enough exim belched with a 451 "try
>later" message.
>Debugging via -bt revealed that "remote host address is the local host"
>(as if I didn't know).


well, it should have immediately replied with a "550 relay not
permitted", or equivalent, and this should have not involved any
routers (except for checking the MAIL FROM:) as the source is
certainly not a host you relay from and myhostname.company.org is not
a local_domain (since you have NO local domains!) or a
relay_to_domain. So, why did your box try to route the email in the
first place?

Giuliano