Re: [exim] Help, Please.

Etusivu
Poista viesti
Vastaa
Lähettäjä: Magnus Holmgren
Päiväys:  
Vastaanottaja: exim-users
Aihe: Re: [exim] Help, Please.
On Thursday 26 July 2007 19:20, Tom Ray [Lists] wrote:
> Well it is a domain I host. I did remove the MX records in a hope that
> it would stop the incoming traffic, but it hasn't. This domain is just a
> website pointer. It's not supposed to accept mail anyways. I didn't have
> it in the local_domains list.


Ah, in that case you could add

  deny domains = mymsviews.com    (add more domains if relevant)
       message = $domain does not accept mail


early in the ACL, to give an explicit message, even to local users. But it's
not necessary; if you remove that superfluous "require verify = recipient",
Exim will find that it doesn't know the domain locally and that the sender
isn't authorized to relay (unless it is), and give an appropriate error
message.

> And my dnslookup router is already this:
>
> dnslookup:
> driver = dnslookup
> domains = ! +local_domains
> transport = remote_smtp
> ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8
> no_more
>
> Is that just not doing the same thing?


If you add

self = fail

then Exim will return a permanent error instead of a temporary one. Normally
you don't want that, because "lowest numbered MX record points to
local host" is usually a configuration error, which you'd want to spot and fix
before mail bounces.

-- 
Magnus Holmgren        holmgren@???
                       (No Cc of list mail needed, thanks)


"Exim is better at being younger, whereas sendmail is better for
Scrabble (50 point bonus for clearing your rack)" -- Dave Evans