MailScanner v5.0.3-7 upgrade install
Wolfgang Baudler
wbaudler at gb.nrao.edu
Wed Aug 24 13:09:15 UTC 2016
I tested an upgrade install from Mailscanner-4.85.2-3 to the latest
MailScanner-5.0.3-7 on RHEL6.8:
I got the errors/warnings below at the end of the install.sh script run.
Are these expected? The syntax error and rpm scriptlet failure at the end
certainly don't look normal.
Note that /etc/MailScanner/MailScanner.conf.rpmsave was not created,
despite the install output claiming otherwise.
Also, the /var/spool/mqueue.in directory was missing after the upgrade
install. I had to create it manually for Mailscanner to start.
And then it was complaining about the missing file
mcp.spam.assassin.prefs.conf. I did manually rename mcp.spamassassin.conf
to mcp.spam.assassin.prefs.conf to fix this.
Wolfgang
-------------------------------------------------
Installing the MailScanner RPM ...
Preparing...
##################################################
MailScanner ###warning: /etc/MailScanner/MailScanner.conf
saved as /etc/MailScanner/MailScanner.conf.rpmsave
######warning: /etc/MailScanner/spam.lists.conf saved as
/etc/MailScanner/spam.lists.conf.rpmsave
#########################################
Important Note
--------------
Your settings for the Sophos SAVI virus scanner are probably
broken. They should look like this (unless your Sophos is
installed somewhere else)
Sophos IDE Dir = /opt/sophos-av/lib/sav
Sophos Lib Dir = /opt/sophos-av/lib
Monitors for Sophos Updates = /opt/sophos-av/lib/sav/*.ide
Added new: Web Bug Replacement =
https://s3.amazonaws.com/msv5/images/spacer.gif
Added new: Lockfile Dir = /var/spool/MailScanner/incoming/Locks
Added new: include /etc/MailScanner/conf.d/*
Summary
-------
Read 361 settings from old /etc/MailScanner/MailScanner.conf.original
Used 359 settings from old /etc/MailScanner/MailScanner.conf.original
Used 4 default settings from new /etc/MailScanner/MailScanner.conf.dist
To configure MailScanner, edit the following files:
/etc/MailScanner/defaults
/etc/MailScanner/MailScanner.conf
To activate MailScanner run the following commands:
chkconfig mailscanner on
service mailscanner start
error reading information on service MailScanner: No such file or directory
error reading information on service MailScanner: No such file or directory
warning: erase unlink of /usr/share/MailScanner/MailScanner/ZMailer.pm
failed: No such file or directory
warning: erase unlink of
/usr/share/MailScanner/MailScanner/ZMDiskStore.pm failed: No such file or
directory
warning: erase unlink of /usr/share/MailScanner/MailScanner/WorkArea.pm
failed: No such file or directory
warning: erase unlink of /usr/share/MailScanner/MailScanner/Unzip.pm
failed: No such file or directory
warning: erase unlink of /usr/share/MailScanner/MailScanner/TNEF.pm
failed: No such file or directory
warning: erase unlink of
/usr/share/MailScanner/MailScanner/SystemDefs.pm failed: No such file or
directory
warning: erase unlink of
/usr/share/MailScanner/MailScanner/SweepViruses.pm failed: No such file or
directory
warning: erase unlink of
/usr/share/MailScanner/MailScanner/SweepOther.pm failed: No such file or
directory
warning: erase unlink of
/usr/share/MailScanner/MailScanner/SweepContent.pm failed: No such file or
directory
warning: erase unlink of /usr/share/MailScanner/MailScanner/Sendmail.pm
failed: No such file or directory
warning: erase unlink of
/usr/share/MailScanner/MailScanner/SMDiskStore.pm failed: No such file or
directory
warning: erase unlink of /usr/share/MailScanner/MailScanner/SA.pm
failed: No such file or directory
warning: erase unlink of /usr/share/MailScanner/MailScanner/RBLs.pm
failed: No such file or directory
warning: erase unlink of /usr/share/MailScanner/MailScanner/Queue.pm
failed: No such file or directory
warning: erase unlink of
/usr/share/MailScanner/MailScanner/Quarantine.pm failed: No such file or
directory
warning: erase unlink of /usr/share/MailScanner/MailScanner/Qmail.pm
failed: No such file or directory
warning: erase unlink of
/usr/share/MailScanner/MailScanner/QMDiskStore.pm failed: No such file or
directory
warning: erase unlink of /usr/share/MailScanner/MailScanner/Postfix.pm
failed: No such file or directory
warning: erase unlink of
/usr/share/MailScanner/MailScanner/PFDiskStore.pm failed: No such file or
directory
warning: erase unlink of
/usr/share/MailScanner/MailScanner/MessageBatch.pm failed: No such file or
directory
warning: erase unlink of /usr/share/MailScanner/MailScanner/Message.pm
failed: No such file or directory
warning: erase unlink of /usr/share/MailScanner/MailScanner/Mail.pm
failed: No such file or directory
warning: erase unlink of
/usr/share/MailScanner/MailScanner/MCPMessage.pm failed: No such file or
directory
warning: erase unlink of /usr/share/MailScanner/MailScanner/MCP.pm
failed: No such file or directory
warning: erase unlink of /usr/share/MailScanner/MailScanner/Log.pm
failed: No such file or directory
warning: erase unlink of /usr/share/MailScanner/MailScanner/Lock.pm
failed: No such file or directory
warning: erase unlink of
/usr/share/MailScanner/MailScanner/GenericSpam.pm failed: No such file or
directory
warning: erase unlink of /usr/share/MailScanner/MailScanner/FileInto.pm
failed: No such file or directory
warning: erase unlink of
/usr/share/MailScanner/MailScanner/EximDiskStore.pm failed: No such file
or directory
warning: erase unlink of /usr/share/MailScanner/MailScanner/Exim.pm
failed: No such file or directory
warning: erase unlink of
/usr/share/MailScanner/MailScanner/CustomFunctions/ZMRouterDirHash.pm
failed: No such file or directory
warning: erase unlink of
/usr/share/MailScanner/MailScanner/CustomFunctions/Ruleset-from-Function.pm
failed: No such file or directory
warning: erase unlink of
/usr/share/MailScanner/MailScanner/CustomFunctions/MyExample.pm failed: No
such file or directory
warning: erase unlink of
/usr/share/MailScanner/MailScanner/CustomFunctions/GenericSpamScanner.pm
failed: No such file or directory
warning: erase unlink of
/usr/share/MailScanner/MailScanner/CustomFunctions/CustomAction.pm failed:
No such file or directory
warning: erase unlink of
/usr/share/MailScanner/MailScanner/CustomConfig.pm failed: No such file or
directory
warning: erase unlink of
/usr/share/MailScanner/MailScanner/ConfigSQL.pm failed: No such file or
directory
warning: erase unlink of
/usr/share/MailScanner/MailScanner/ConfigDefs.pl failed: No such file or
directory
warning: erase unlink of /usr/share/MailScanner/MailScanner/Config.pm
failed: No such file or directory
warning: erase unlink of /usr/share/MailScanner/MailScanner/Antiword.pm
failed: No such file or directory
warning: erase unlink of /etc/rc.d/init.d/MailScanner failed: No such
file or directory
warning: /etc/cron.daily/update_spamassassin saved as
/etc/cron.daily/update_spamassassin.rpmsave
/var/tmp/rpm-tmp.SVoALC: line 16: syntax error near unexpected token `fi'
/var/tmp/rpm-tmp.SVoALC: line 16: `fi'
warning: %postun(mailscanner-4.85.2-3.noarch) scriptlet failed, exit status 2
----------------------------------------------------------
Installation Complete
More information about the MailScanner
mailing list