MailScanner --lint %org-name% not importing
Eoin.Kim at rcst.com.au
Sun Jul 24 23:45:24 UTC 2016
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?
From: MailScanner [mailto:mailscanner-bounces+eoin.kim=rcst.com.au at lists.mailscanner.info] On Behalf Of Antony Stone
Sent: Monday, 25 July 2016 9:40 AM
To: MailScanner Discussion <mailscanner at lists.mailscanner.info>
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 mail1.mynetwork.lab.int:~$ sudo MailScanner --lint Trying to
> 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 lists.mailscanner.info
More information about the MailScanner