---
name: "upgrade_MailScanner_conf"
section: "8"
platform: "linux"
package: "mailscanner"
version: "4.79.11-2.2"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/upgrade_MailScanner_conf"
---

# upgrade\_MailScanner\_conf(8)

upgrades MailScanner.conf config files

## NAME

upgrade\_MailScanner\_conf - upgrades MailScanner.conf config files

## SYNOPSIS

upgrade\_MailScanner\_conf \[--keep-comments\] MailScanner.conf MailScanner.conf.newversion \> MailScanner.conf.new

RPM === If you are using the RPM distributions then try this:

cd /etc/MailScanner

upgrade\_MailScanner\_conf MailScanner.conf MailScanner.conf.rpmnew \> MailScanner.new

mv MailScanner.conf MailScanner.old

mv MailScanner.new  MailScanner.conf

TAR === If you are using the tar distribution so that the old version is in /opt/MailScanner and the new one is in /opt/MailScanner.new then:

cd /opt/MailScanner.new/etc

../bin/upgrade\_MailScanner\_conf /opt/MailScanner/etc/MailScanner.conf /opt/MailScanner.new/etc/MailScanner.conf \> MailScanner.new

mv MailScanner.conf MailScanner.old

mv MailScanner.new  MailScanner.conf

## DESCRIPTION

upgrade\_MailScanner\_conf helps automate the conversion of older MailScanner.conf config files to the version of MailScanner you are installing.  This takes care of adding any new config items that need to be added, removing old deprecated items and updating the comments, unless you specify --keep-comments to signal you want your old comments left.

## OPTIONS

\--keep-comments - tells the script to not update the comments that have changed.

Using --keep-comments can cause you to not realize that there are new/more options available to you for the item that your old comment was kept with.

## AUTHOR

Julian Field (mailto: Jules@JulianField.net )

## SEE ALSO

[*perl*(1)](/perl/1.md), *MailScanner*(3)
