Will Smith <[email protected]> (Di 06 Mai 2014 23:55:54 CEST): > On Tue, May 6, 2014 at 2:59 PM, Heiko Schlittermann > <[email protected]>wrote: > > > Will Smith <[email protected]> (Di 06 Mai 2014 17:06:46 CEST): > > ...> So, my question. Will that work for what I want to do? > > > > Probably not. > > > > It will split the current recipient into $local_part and $domain. Then it > > will search for $domain in the reject_senderdomain file, but $domain > > contains *your* domain, not the senders domain. If you turn this into > > deny senders = @@lsearch… it will find the domain of the sender, but > > then Exim will compare the $sender_address_local_part with the data > > looked up. (If I remember well how @@ works.) > > > > Ok, that makes sense. > > > > In your recipient acl I'd to something like this: > > > > acl_check_recipient: > > > > … > > deny message = please send your message to Will > > sender_domains = senderdomain.net > > !local_parts = will : william > > > > Ok, added that to my config. I don't have an email at the domain in > question, but I will watch the logs and check it out.
Just test it on the mx itself:
swaks --pipe 'exim -bh 8.8.8.8' --from … --to …
--
Heiko
signature.asc
Description: Digital signature
-- ## 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/
