Hi, On Mon, 14 Mar 2011 12:08:48 +0000 in message number <3d31371c0eb7ea41af4b131fc1382f78237d73f...@crwnmail.staff.staffs.ac.uk>, received here on 14/03/2011 16:16:57, ROGERS Richard <[email protected]> said:
> Bill Hayles wrote: > > > Hi, Steffen > > > > On Mon, 7 Mar 2011 18:08:45 +0100 in message number > > <[email protected]>, received here on > > 08/03/2011 10:56:38, "Steffen Heil" <[email protected]> said: > > > > > Most recipients will drop mails that are FOR > > > and FROM them... This is a classical spam approach. > > > > Is there any way of doing this in Exim? It would be useful. > > Bill, > > You could do something like this: > > warn > condition = ${if eq {${lc:$sender_address}}{${lc:$local_part@$domain}} > } > sender_domains = +relay_to_domains > !hosts = +relay_from_hosts : *.paypal.com [or any other exemptions you > need] > !local_parts = [put your exemptions here] > set ACL_STATUS = SameAddr > > Then do what you want with the ACL_STATUS flag (or just write it as a "deny" > if you don't need any more flexibility). > Thanks very much for that; it gives me something to work on for my own needs. -- This is Spain. We do things differently here! Bill Hayles [email protected] -- ## List details at http://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/
