MailScanner v5.0.3-7 upgrade install
Jerry Benton
jerry.benton at mailborder.com
Wed Aug 24 14:13:08 UTC 2016
Wolfgang,
Save your custom configs by copying them somewhere. Totally remove
MailScanner and reinstall it. Copy your configs back.
Note that:
- spam.assassin.prefs.conf is now called spamassassin.conf
- the directory structure is different. this is why you are getting
the errors. However, when I upgraded old versions of MailScanner I did
not see this issue.
- a built in permissions schema has been added to solve common
permissions problems.
One question, did you use the install.sh or did you just install the
RPM? The install.sh fixes a lot of the upgrade issues. From the README
file:
# Install:
# tar -xvzf MailScanner-5.x.x-x.distro.tar.gz
# cd MailScanner-5.x.x-x
# ./install.sh
-
Jerry Benton
www.mailborder.com
+1 - 844-436-6245
-----Original Message-----
From: Wolfgang Baudler <wbaudler at gb.nrao.edu>
Reply: MailScanner Discussion <mailscanner at lists.mailscanner.info>
Date: August 24, 2016 at 9:09:33 AM
To: MailScanner Discussion <mailscanner at lists.mailscanner.info>
Subject: MailScanner v5.0.3-7 upgrade install
> 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
>
>
>
>
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/listinfo/mailscanner
>
>
More information about the MailScanner
mailing list