On 08/07/2011 17:51, Ben Allen wrote:
On Friday, July 08, 2011 09:19:15 am [email protected] wrote:
On 07/07/2011 22:13, Jeremy Harris wrote:
On 2011-07-07 19:32, [email protected] wrote:
Hello, I'm trying to verify the sender of my messages so that my
users (authenticated) can't send with FROM something like
[email protected], 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?
--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/