Question about MailScanner.conf

Mark Sapiro mark at msapiro.net
Wed Sep 20 18:10:14 UTC 2017


On 09/20/2017 03:28 AM, Maarten wrote:
> 
> So which is the preferred method for using a custom MailScanner configuration for 
> the current version.
>
> Continue editing the main configuration file since a backup is made when running the install.sh script and the file is updated when updating.
> 
> Or leaving everything in the main configuration default and then create custom setting file(s) in conf.d?


The latter is preferred. The main reason is you're not relying on
install.sh to preserve/backup your settings and if you've been following
this list, you've seen that sometimes this fails.

However, there are caveats. The settings for %org-name% and %report-dir%
in MailScanner.conf are used in MailScanner.conf before the overrides in
conf.d/* are included. This means you have to set %org-name% (and
%report-dir% if you change the default) in MailScanner.conf or also set
all the settings that use those in a conf.d file.

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


More information about the MailScanner mailing list