upgrade_MailScanner_conf --keep-comments buglet

Jeff A. Earickson jaearick at colby.edu
Mon May 15 14:45:40 IST 2006


On Mon, 15 May 2006, Stephen Swaney wrote:

> Date: Mon, 15 May 2006 09:28:39 -0400
> From: Stephen Swaney <steve.swaney at fsl.com>
> Reply-To: MailScanner discussion <mailscanner at lists.mailscanner.info>
> To: 'MailScanner discussion' <mailscanner at lists.mailscanner.info>
> Subject: RE: upgrade_MailScanner_conf --keep-comments buglet
> 
>
>> -----Original Message-----
>> From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-
>> bounces at lists.mailscanner.info] On Behalf Of Jeff A. Earickson
>> Sent: Monday, May 15, 2006 9:12 AM
>> To: mailscanner mailing list
>> Subject: upgrade_MailScanner_conf --keep-comments buglet
>>
>> Julian,
>>
>> I just noticed that when I do:
>>
>> cd /opt/MailScaner-[new]/etc
>> ../bin/upgrade_MailScanner_conf --keep-comments
>> /opt/MailScanner/etc/MailScanner.conf ./MailScanner.conf > MailScanner.new
>>
>> The first 43 lines of comments in the original MailScanner.conf
>> file gets lost in MailScanner.new.  Not a huge deal, but maybe you
>> didn't know...
>>
>> Jeff Earickson
>> Colby College
>> --
>
> Jeff,
>
> If you run upgrade_MailScanner_conf without arguments you'll see:
>
>
> NOTE
> ====
> To keep your old comments in your original file, add "--keep-comments"
> to the command line.  Note that this will mean you don't get to find
> out any extra new values you might be able to use in existing "improved"
> configuration options.
>
> It means just what is says. You won't get any of the new comments that go
> with the new configuration options.
>
> Kind of a trade-off.
>
> Steve

Hunh??  All of Julian's other comments are always there (even for new options),
plus whatever comments I added in the past.  Works great, except the leading
comments at the top of the file get whacked off in MailScanner.new.  I
must be the only one that uses the --keep-comments feature...

Jeff


More information about the MailScanner mailing list