MailScanner v5.0.0-3 beta update

Wolfgang Baudler wbaudler at
Tue May 10 20:21:33 UTC 2016

Did another upgrade install on Redhat 6.7 with 5.0.0-3. It looks like it
installed OK, but there is something amiss with the init script and the
files in /usr/lib:

/etc/init.d/mailscanner symlinks to the non-existing

/etc/init.d/mailscanner -> /var/lib/MailScanner/init/ms-init

and a "rpm -ql MailScanner" claims there should be a /usr/lib/MailScanner
with a bunch of files in it, but that directory does not exist at all?

$ rpm -ql MailScanner | grep /usr/lib/MailScanner

$ ls /usr/lib/MailScanner
ls: cannot access /usr/lib/MailScanner: No such file or directory

Also, the install script prints some errors (see below) that likely need
some attention:

cp: omitting directory `/etc/MailScanner/CustomFunctions'
I have copied /etc/MailScanner/CustomFunctions/* to

./ line 462: [: ==: unary operator expected


Upgrading /etc/MailScanner/MailScanner.conf

Your old configuration file will be saved as:

Substitution pattern not terminated at -e line 1.
Added new: Web Bug Replacement =
Added new: Lockfile Dir = /var/spool/MailScanner/incoming/Locks
Added new: include /etc/MailScanner/conf.d/*


> The following items were corrected:
> - RHEL init level
> - RHEL, Deb, Suse cron jobs no longer source
> - /var/lib moved to /usr/lib
> - mb-sa-update corrected to exit if missing binaries
> - ms-upgrade-conf corrected as I had it ass backwards
> Note that this is still technically beta. I would appreciate some feedback
> on both new installs and upgrades.
> Debian
> NIX*

More information about the MailScanner mailing list