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

Jules Field MailScanner at ecs.soton.ac.uk
Wed Aug 26 20:03:09 IST 2009


Can you do me a big favour and give it a good try and report back if 
anything doesn't work?

Thanks!
Jules.

On 26/08/2009 16:22, Mike Wallace wrote:
> Jules,
>
> Thanks, I'm glad you liked my suggestion.
>
> I didn't expect any updates until next week when you got back to the UK.
>
> You are a gentleman and a scholar.
>
> Mike
>
> On Aug 26, 2009, at 11:08 AM, Jules Field wrote:
>
>>
>>
>> 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.
>>
>> -- 
>> MailScanner mailing list
>> mailscanner at lists.mailscanner.info
>> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>>
>> Before posting, read http://wiki.mailscanner.info/posting
>>
>> Support MailScanner development - buy the book off the website!
>> This message has been scanned for viruses and dangerous content by 
>> MailScanner, and is believed to be clean.
>>
>

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