"include path-to-conf-files" in 4.78.9
Jules Field
MailScanner at ecs.soton.ac.uk
Wed Aug 26 22:57:22 IST 2009
Correction. Teensy bug removed, which you would hopefully not hit
anyway, but might if your main MailScanner.conf file is very old.
Try 4.78.12.
On 26/08/2009 22:19, Jules Field wrote:
> Should be all fixed now. Sorry for the lousy testing on my part before
> I released 10.
> 11 correctly picks up %org-name% and "Run As User" when set in an
> included file, no problems. So all the others should work correctly
> now too.
>
> Please give 11 a try.
>
> As for the website, it has definitely been updated, so I suspect your
> browser's caching it.
>
> Cheers,
> Jules.
>
> On 26/08/2009 21:49, Mike Wallace wrote:
>> I found a couple of things
>>
>> 1) I like how MailScanner --lint shows what configuration files were
>> read and my configuration was read last.
>> 2) Found a couple of parameters that are still not being imported
>> from my config:
>>
>> %org-name% =
>> Run As User =
>> Run As Group =
>>
>> The org-name shows up when running --lint "ERROR: The
>> "envelope_sender_header" in your spam.assassin.prefs.conf is not
>> correct, it should match X-yoursite-MailScanner-From". In 78.9 the
>> message was "ERROR: The "envelope_sender_header" in your
>> spam.assassin.prefs.conf is not correct, it should match
>> X-mlrw_com-MailScanner-From".
>>
>> As for the Run As, when I do a ps I see that MailScanner is running
>> as root and not postfix.
>>
>> 3) One thing to help with debugging would be if you had a command
>> like postconf to display what configuration parameters are being
>> used. Or could you guide me on how to dump the configuration.
>> 4) The link on the MailScanner website still shows 4.78.9 as the
>> current beta release.
>>
>> Thanks for the help.
>>
>> Mike
>>
>> On Aug 26, 2009, at 3:03 PM, Jules Field wrote:
>>
>>> 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.
>>>
>>> --
>>> 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
>
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