MailScanner --lint and spamassassin error

Garrod Alwood admin at
Mon Oct 26 17:22:17 GMT 2009

ok, I have the symbolic link and I have restarted Mailscanner and I have
done everything possible, I will show you exactly what I have inside of
the mailscanner so that you can see what I am fighting with. No matter
what I set those two things to I keep getting the same error which is

ERROR: The "envelope_sender_header" in your spam.assassin.prefs.conf
ERROR: is not correct, it should match X-ARCOGROUP-MailScanner-From

>From Mailscanner.conf

# This is the name of the Envelope From header
# controlled by the option above.
# This can also be the filename of a ruleset.
Envelope From Header = X-%org-name%-MailScanner-From:

>From spam.assassin.perfs.con

# =============== SpamAssassin Header Processing ===============

# SpamAssassin will attempt to discover the address used in the 'MAIL FROM:'
# phase of the SMTP transaction that delivered this message, if this data
# has been made available by the SMTP server. This is used in the
# pseudo-header, and for various rules such as SPF checking.

# This should be explicitly set for MailScanner
envelope_sender_header X-MailScanner-From

> 2009/10/26 Garrod Alwood <admin at>:
>> I have set the %org-name% inside of MailScanner, but for some reason it
>> is
>> having a very difficult time reading from the spam.assassin.perfs.conf
>> file. It's like it's pulling the information from incorrect file.
> The spam.assassin.prefs.conf file is actually read into SA by way of a
> symbolic link (/etc/mail/spamassassin/ If you lack
> that link, SA will never see your changes. If it is missing, simply
> create it by way of:
> # ln -s /etc/MailScanner/spam.assassin.prefs.conf
> /etc/mail/spamassassin/
> Further, you might have more .cf files in /etc/mail/spamassassin that
> override what you set in (a.k.a.
> spam.assassin.prefs.conf). The parsing is done in collation order, so
> given for example:
> # ls /etc/mail/spamassassin/*.cf
> /etc/mail/spamassassin/
> /etc/mail/spamassassin/
> /etc/mail/spamassassin/
> /etc/mail/spamassassin/
> /etc/mail/spamassassin/
> /etc/mail/spamassassin/
> /etc/mail/spamassassin/
> ... setting "overrides" in would make things ... bad:-). I
> think I don't need spell out the solution, if this is the case;-):-)
> Cheers
> --
> -- Glenn
> email: glenn < dot > steen < at > gmail < dot > com
> work: glenn < dot > steen < at > ap1 < dot > se
> --
> MailScanner mailing list
> mailscanner at
> Before posting, read
> Support MailScanner development - buy the book off the website!

More information about the MailScanner mailing list