Hi
this will work without false positives is you can somehow
count the number of received: lines, only one line will mean
that the message is faked (as in the original example), the
other way will be to sign messages using dkim but some lists
will strip the dkim headers
> On Fri, 2009-06-05 at 15:56 +0100, Hill Ruyter wrote:
>> I basically want to say
>> if envelope-from is not equal to from and from is equal to me then drop
>
> You'll stop receiving mailing list messages, then... look at the Exim
> list mails:
>
> Return-path: <exim-users-bounces+graemef.net@???>
> From: "Hill Ruyter" <hill@???>
>
> [the Return-Path is composed from the MAIL FROM, ie. the envelope
> sender]
>
> You may be surprised just how much mail comes in with different envelope
> sender and From: addresses. Especially if you subscribe to many lists.
>
> Graeme
>
>
--
Salu-2 y hasta pronto ...
----------------------------------------------------------------
David Saez Padros http://www.ols.es
On-Line Services 2000 S.L. telf +34 902 50 29 75
----------------------------------------------------------------