MailScanner Not Sending Mail After Upgrade to WHM v70.0.32

Discuss our MailScanner install script and MailScanner itself
3 posts Page 1 of 1
HostBob
Junior Member
Posts: 47
Joined: 20 Feb 2013, 18:34


Just realised that since the upgrade last night of WHM to v70.0.32 no emails seem to be being processed.

Tail of maillog:

May 9 10:50:27 server7 MailScanner: MailScanner Email Processor version 5.0.2 starting...
May 9 10:50:27 server7 MailScanner: Could not use Custom Function code /usr/mailscanner/usr/share/MailScanner/perl/custom/MailControl.pm, it could not be "require"d. Make sure the last line is "1;" and the module is correct with perl -wc (Error: Can't locate Storable.pm in @INC (you may need to install the Storable module) (@INC contains: /usr/mailscanner/usr/sbin /usr/mailscanner/usr/sbin/MailScanner /usr/mailscanner/usr/share/MailScanner/perl /usr/mailscanner/usr/share/MailScanner/perl /usr/local/cpanel /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/5.24.1/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/5.24.1 /opt/cpanel/perl5/524/site_lib/x86_64-linux-64int /opt/cpanel/perl5/524/site_lib) at /usr/mailscanner/usr/share/MailScanner/perl/custom/MailControl.pm line 5.
May 9 10:50:27 server7 MailScanner: BEGIN failed--compilation aborted at /usr/mailscanner/usr/share/MailScanner/perl/custom/MailControl.pm line 5.
May 9 10:50:27 server7 MailScanner: Compilation failed in require at /usr/mailscanner/usr/share/MailScanner/perl/MailScanner/Config.pm line 761.
May 9 10:50:27 server7 MailScanner: )
May 9 10:50:27 server7 MailScanner: Reading configuration file /usr/mailscanner/etc/MailScanner.conf
May 9 10:50:27 server7 MailScanner: Reading configuration file /usr/mailscanner/etc/conf.d/README
May 9 10:50:28 server7 MailScanner: Config: calling custom init function MailControlLogging
May 9 10:50:28 server7 MailScanner: You want to use SpamAssassin but have not installed it.
May 9 10:50:28 server7 MailScanner: I will run without SpamAssassin for now, you will not detect much spam until you install SpamAssassin.

Help!
HostBob
Junior Member
Posts: 47
Joined: 20 Feb 2013, 18:34


Just ran this:

service MailScanner stop
killall -9 MailScanner
service MailScanner start

And things seem to be moving again. Panic over.
kernow
Junior Member
Posts: 21
Joined: 02 Apr 2010, 07:57


Had the same problem but stopping/restarting MailScanner didn't work for us. However this did:
Code: Select all
/scripts/buildeximconf
service exim restart
/usr/mscpanel/mscheck.pl
3 posts Page 1 of 1