Re: [exim] Verify sender ignored

Pàgina inicial
Delete this message
Reply to this message
Autor: mailing@securitylabs.it
Data:  
A: exim-users
Assumpte: Re: [exim] Verify sender ignored
On 08/07/2011 17:51, Ben Allen wrote:
> On Friday, July 08, 2011 09:19:15 am mailing@??? wrote:
>> On 07/07/2011 22:13, Jeremy Harris wrote:
>>> On 2011-07-07 19:32, mailing@??? wrote:
>>>> Hello, I'm trying to verify the sender of my messages so that my
>>>> users (authenticated) can't send with FROM something like
>>>> user@???, but with the real and public email address. But
>>>> actually every senders is accepted. This is my ACL, I suppose that
>>>> deny !verify = sender/callout (or without callout) will do the job,
> It will work, but only if you've got your routers set properly. Verifying
> senders (or recipient for that matter) is just a way to see if one of your
> routers is prepared to deliver to the address.

Thank you, it wasn't clear to me that the sender is routed to test it.
So my problem is that I route all messages to ! +local_domains with this:

smart_route:
driver = manualroute
domains = ! +local_domains
transport = remote_smtp
route_list = * xx.xx.xx.xx
no_more

xx.xx.xx.xx is a postfix machine that refuses bad senders at rcpt, but
it seems that exim does not try to deliver the message before queue it.

If I use this router:

dnslookup:
driver = dnslookup
domains = ! +local_domains
transport = remote_smtp
ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8
no_more

The sender verification works. Is there a way to block bad senders/bad
domain that does not exists in my dns and using a manualroute instead of
dnslookup?