Re: [exim] Denying spam with forged from

Inizio della pagina
Delete this message
Reply to this message
Autore: Kjetil Torgrim Homme
Data:  
To: Patryk
CC: Exim-users
Oggetto: Re: [exim] Denying spam with forged from
On Fri, 2008-11-28 at 10:18 +0100, Patryk wrote:
> So to block
> it I've added an acl check that would compare return-path field and the
> from field. If they are different, it most probably is spam.


as others have said, this is a bad idea, so don't do it. the reason it
doesn't work is that Return-Path isn't part of the message received by
Exim, it is added during final delivery. you need to check
$sender_address instead.

--
regards,
Kjetil T.