"include path-to-conf-files" in 4.78.9

Jules Field MailScanner at ecs.soton.ac.uk
Wed Aug 26 16:08:50 IST 2009



On 25/08/2009 18:36, Mike Wallace wrote:
> Jules,
>
> I hope you are enjoying or enjoyed (based on when you read this) your 
> well deserved vacation in the States.
"Enjoying" thanks :-)
>
> I have been playing with "include path-to-conf-files" in 4.78.9 and 
> found a couple of limitations that I want to verify.
>
> It seems that the following parameters are ignored when in the include 
> file:
>
> %org-name% =
> %org-long-name% =
> %web-site% =
> Run As User =
> Run As Group =
> MTA =
>
> Is this by design or a "feature"? Are their other parameters that 
> can't be in the include file?
Fixed.
>
> The reason I ask is that I am trying to put all of my site specific 
> configuration changes in the include file so that the only thing I 
> have to do to MailScanner.conf is add "include 
> /etc/MailScanner/config/mysite.conf".
>
> It would be awesome if you had "include 
> /etc/MailScanner/config/*.conf" in MailScanner.conf.  Then if the 
> directory or and/or any files in that directory did not exist, they 
> would be ignored. That way those who don't want to use it can edit the 
> configuration file like they always have.
Done. I've called it "/conf.d/" instead of your "/config/" as that is 
more standard these days.
There should be a little README file in that directory so it has 
something short to parse so the include line at the very end of 
MailScanner.conf won't whine that it couldn't find any files matching 
conf.d/*.

I have just released 4.78.10 for your pleasure :-)

Jules

-- 
Julian Field MEng CITP CEng
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store

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 twitter.com/JulesFM and twitter.com/MailScanner


-- 
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