mailscanner behind a smtpd frontend

Matt Kettler mkettler at evi-inc.com
Tue Feb 14 16:10:24 GMT 2006


Glenn Steen wrote:
> On 13/02/06, Alex Neuman van der Hans <alex at nkpanama.com> wrote:
>>  In any case you can check:
>>  bayes_ignore_header X-YOURDOMAIN-COM-MailScanner
>>  bayes_ignore_header X-YOURDOMAIN-COM-MailScanner-SpamCheck
>>  bayes_ignore_header X-YOURDOMAIN-COM-MailScanner-SpamScore
>>  bayes_ignore_header
>> X-YOURDOMAIN-COM-MailScanner-Information
>>
>>  ... from /etc/mail/spamassassin/mailscanner.cf for a clue.
>> You could write a few lines that include your particular headers and have SA
>> ignore them. I don't know if bayes_ignore_header takes regexps, but you
>> could look at the docs for SA and see for yourself.
>>
> Problem 1 is that you can't really do that for all the Received
> lines... And the original problem is that adding such a line is an RFC
> MUST. Sigh.
> 
> So unless one can do REs on it, you lose. Unfortunately,
> bayes_ignore_header doesn't seem to accept RE:s (from the man-page)...
> Perhaps Matt Kettler has a better clue...

My impression is why bother ignoring the Received: headers?

As long as your trusted/internal networks is set correctly bayes should be able
to deal with extra Received: headers just fine.


More information about the MailScanner mailing list