MailScanner ANNOUNCE: Stable 4.43.7 released

Kai Schaetzl maillists at CONACTIVE.COM
Sat Jul 2 15:31:22 IST 2005

    [ The following text is in the "iso-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

Observations from the upgrade after running upgrade_MailScanner_conf:

> Summary
> -------
> Read 258 settings from old MailScanner.conf
> Used 258 settings from old MailScanner.conf
> Used 1 default settings from new MailScanner.conf.rpmnew

It turns out that actually was the change of the version no. That's something of a 
"false alert". I suggest either adding something like "if only one default setting was 
used it's likely to be the version no" or handling it different, anyway.

> If you ran this with a command like this
>   upgrade_MailScanner_conf MailScanner.conf MailScanner.conf.rpmnew > MailScanne
> then you should do
>   diff MailScanner.conf.rpmnew
> and check for any differences in values you have not changed yourself.

Shouldn't this be:

diff MailScanner.conf


Apart from this it seems that the update script munged a lot of lines which didn't have 
a value, example:

n8:/etc/MailScanner # diff MailScanner.conf
< Run As User =
> Run As User =
< Run As Group =
> Run As Group =
< Incoming Work User =
< Incoming Work Group =
> Incoming Work User =
> Incoming Work Group =

and so on. This makes it harder to detect the actual differences. I think there may be a 
difference in the linebreaks, although there shouldn't be one. I edit MailScanner.conf 
on Windows, but my editor is configured to use Unix lineends. And I transfer it via scp 
and no lineend translation occurs. So, there shouldn't be a difference unless the update 
adds/removes whitespace.
Anyway, man diff tells me I can use -w to ignore whitespace and, indeed, it shrinks the 
output down to the real changes. Maybe suggest "diff -w" in the help as a default?


Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services:
IE-Center: &

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki ( and
the archives (

Support MailScanner development - buy the book off the website!

More information about the MailScanner mailing list