"Is Definitely Spam" rule not working ?

Pascal Maes pascal.maes at elec.ucl.ac.be
Wed Feb 6 19:53:21 GMT 2008


Le 05-févr.-08 à 19:32, Gerard a écrit :

> On Tue, 5 Feb 2008 14:18:07 +0100
> Pascal Maes <pascal.maes at elec.ucl.ac.be> wrote:
>
> [snip]
>
>> If yes, what's the use of smtpd_authorized_xforward_hosts (to be
>> posted on the postfix list also) ?
>
> Guess I am going to have to keep up with the Postfix forum to see how
> this turns out. Somehow I think it is going to be futile.
>

You exaggerate a little bit ;-)

Of course I get a remark but also the solution :

> Pascal Maes wrote:
>> The question is
>> Even with the option, smtpd_authorized_xforward_hosts, the first  
>> "Received" is always the localhost.
>> That's a problem as we (MailScanner) can't use black or white  
>> listing based on the IP address of the client.
>> A solution ?
>
> Use a header_checks rule with IGNORE to remove the offending line  
> from the queue file.
>
> Note that MailScanner is known to not work reliably with postfix and  
> is therefore not recommended or supported here.

The header_check is now :

/^Received: .* \[127\.0\.0\.1\]/	IGNORE
/^Received:/				HOLD

and it works.
--
Pascal





More information about the MailScanner mailing list