Re: [exim] Denying spam with forged from

Góra strony
Delete this message
Reply to this message
Autor: Kjetil Torgrim Homme
Data:  
Dla: Patryk
CC: Exim-users
Temat: 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.