Re: [exim] Changing Return-Path on SMTP relay

Inizio della pagina
Delete this message
Reply to this message
Autore: Bill Hayles
Data:  
To: exim-users
Oggetto: Re: [exim] Changing Return-Path on SMTP relay
Hi,

On Mon, 14 Mar 2011 12:08:48 +0000 in message number <3D31371C0EB7EA41AF4B131FC1382F78237D73FDF4@???>, received here on 14/03/2011 16:16:57, ROGERS Richard <Richard.Rogers@???> said:

> Bill Hayles wrote:
>
> > Hi, Steffen
> >
> > On Mon, 7 Mar 2011 18:08:45 +0100 in message number
> > <00af01cbdcea$5175be40$f4613ac0$@???>, received here on
> > 08/03/2011 10:56:38, "Steffen Heil" <lists@???> 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
billnot@???