Re: [exim] Denying spam with forged from

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Kjetil Torgrim Homme
Date:  
À: Patryk
CC: Exim-users
Sujet: 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.