MailScanner --lint %org-name% not importing

Eoin Kim Eoin.Kim at
Sun Jul 24 23:45:24 UTC 2016

Hello Antony,

So, If I understand what you said correctly, does that mean I have to add settings which have %org-name% string in my site-specific configuration file? For example,

Spam-Virus Header = X-%org-name%-MailScanner-SpamVirus-Report:
Mail Header = X-%org-name%-MailScanner:
[ ... ]

Am I following you?


-----Original Message-----
From: MailScanner [ at] On Behalf Of Antony Stone
Sent: Monday, 25 July 2016 9:40 AM
To: MailScanner Discussion <mailscanner at>
Subject: Re: MailScanner --lint %org-name% not importing

On Monday 25 July 2016 at 01:31:06, Jerry Benton wrote:

> Why would you change it?

Fair question, but it seems to be working okay:

On Monday 25 July 2016 at 01:10:28, Eoin Kim wrote:

> sysadmin at$ sudo MailScanner --lint Trying to 
> setlogsock(unix)
> Reading configuration file /etc/MailScanner/MailScanner.conf Reading 
> configuration file /etc/MailScanner/conf.d/mynetwork.conf

My observation about this would be that /etc/MailScanner/conf.d/README contains the comment:
# NOTE: If you change the value of a %variable% then you must redefine all # the settings that use that %variable% here, as the %variable% # substitutions are done when the files are initially read, not later when # settings are looked up when MailScanner is processing messages.

I wonder if that is in fact the problem here?


MailScanner mailing list
mailscanner at

More information about the MailScanner mailing list