MailScanner --lint and spamassassin error

Glenn Steen glenn.steen at
Mon Oct 26 14:25:20 GMT 2009

2009/10/21 Garrod Alwood <admin at>:
> I have been googling and searching and everything else and I have tried a
> few different things, but can anyone tell me how to get rid of this
> Mailscanner/spamassassin error when I run lint:
> ERROR: The "envelope_sender_header" in your spam.assassin.prefs.conf
> ERROR: is not correct, it should match X-MYCOMPANY-MailScanner-From
> I have changed both setting in my Mailscanner.conf and in the
> spam.assass.prefs.conf and i still can't get this to go away, so does
> anyone have any ideas on how this might go away? Also I have change it to
> that exact thing in my spam.assassin.prefts.conf and I still can't get it
> to go away.
> FYI I changed it to MYCOMPANY to protect the innocent on this mailing list.

Well, as Hugo says... pretty hard to know what's wrong when you do that:-).
My guess would be that you have some character in there (or in your
%org-name%) that isn't allowed in a header lval ... like whitespace ("
"), underscore ("_").... or similar.

-- Glenn
email: glenn < dot > steen < at > gmail < dot > com
work: glenn < dot > steen < at > ap1 < dot > se

More information about the MailScanner mailing list