Configuration suggestion...

Julian Field MailScanner at
Tue Aug 11 10:30:57 IST 2009

On 11/08/2009 10:13, Glenn Steen wrote:
> 2009/8/11 shuttlebox<shuttlebox at>:
>> On Tue, Aug 11, 2009 at 10:13 AM, Julian
>> Field<MailScanner at>  wrote:
>>> Adding "include" files means that I need to allow settings to be
>>> over-written by later instances of the same setting, and I need to keep
>>> track of a whole stack of nested "include" files. Currently it will complain
>>> if it sees the same setting twice, but I would have to disable that, which
>>> I'm not keen on doing. And in the nested "include" file handling, I've got
>>> to do loop detection and other nasties so you can't trivially break it.
>> You could use MailScanner.conf as the master and the only one allowed
>> to include other files. Then just let settings override each other.
>> That's simple and good enough in my opinion, I doubt anyone _really_
>> needs nesting.
> I rather doubt anyone *really* needs includes either. The upgrade
> process is very fast and simple IMO, and this isn't one of the
> trickier parts.
> I further wouldn't want the upgrade script to run automatically, but
> that might be just me:-)
Well, you now have fully nested "include" lines, which also support 
wildcards. A sample valid line is
     include /etc/MailScanner/conf/*.conf
Included files can include arbitrary numbers of other include files, and 
so on.

Even the upgrade_MailScanner_conf file should cope with the new syntax, 
and will just upgrade the MailScanner.conf file it is given on the 
command-line, it will not follow include paths.

4.78.8-1 is where it's all at :-)

Happier now? ;->


Julian Field MEng CITP CEng
Buy the MailScanner book at

Need help customising MailScanner?
Contact me!
Need help fixing or optimising your systems?
Contact me!
Need help getting you started solving new requirements from your boss?
Contact me!

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
Follow me at and

This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

More information about the MailScanner mailing list