Wrapper package for MailScanner

Steve Freegard steve.freegard at fsl.com
Mon Jul 28 09:40:33 IST 2008


Julian Field wrote:
> My only comment on this would be this: just because 
> MailScanner.conf.rpmnew exists, how can you guarantee it was created by 
> *this* upgrade? I would check the version number inside it as well, or 
> you could rip out some of the user's configuration settings if the 
> *.rpmnew files exist from previous upgrades. I agree it's unlikely, but 
> it is possible.

How about checking for .rpmnew files in %pre and nuking them if found?

That way you can guarantee that the files were created by this upgrade.

Cheers,
Steve.


More information about the MailScanner mailing list