I have experienced this problem and found that it is caused by upgrading
libmailtools-perl from version 1.77-1 to 2.02-1. The problem is fixed
when downgrading the libmailtools-perl back to version 1.77-1. This is
reproducible as seen from the terminal capture below.
Apparently there is some incompatibility between Mailscanner 4.58.9-2
and libmailtools-perl version 2.02-1.
I hope this helps.
Tom
------------------
Mailscanner version installed
monitor:~# dpkg -l mailscanner
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii mailscanner 4.58.9-2 email virus scanner and spam tagger
Stop and restart Mailscanner with no errors on start
monitor:~# /etc/init.d/mailscanner stop
Program MailScanner, 1 process(es), refused to die.
monitor:~# /etc/init.d/mailscanner stop
monitor:~# /etc/init.d/mailscanner start
Upgrade libmailtools-perl from version 1.77-1 to 2.02-1
monitor:~# apt-get -u upgrade
Reading package lists... Done
Building dependency tree... Done
The following packages will be upgraded:
libmailtools-perl
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/96.6kB of archives.
After unpacking 28.7kB disk space will be freed.
Do you want to continue [Y/n]?
(Reading database ... 38857 files and directories currently installed.)
Preparing to replace libmailtools-perl 1.77-1 (using
.../libmailtools-perl_2.02-1_all.deb) ...
Unpacking replacement libmailtools-perl ...
Setting up libmailtools-perl (2.02-1) ...
Now stop and restart Mailscanner with the error
monitor:~# /etc/init.d/mailscanner stop
Program MailScanner, 1 process(es), refused to die.
monitor:~# /etc/init.d/mailscanner stop
monitor:~# /etc/init.d/mailscanner start
Variable "$FIELD_NAME" is not imported at
/usr/share/MailScanner/MailScanner/Message.pm line 6367.
Variable "$FIELD_NAME" is not imported at
/usr/share/MailScanner/MailScanner/Message.pm line 6370.
Global symbol "$FIELD_NAME" requires explicit package name at
/usr/share/MailScanner/MailScanner/Message.pm line 6367.
Global symbol "$FIELD_NAME" requires explicit package name at
/usr/share/MailScanner/MailScanner/Message.pm line 6370.
Compilation failed in require at /usr/sbin/MailScanner line 79.
BEGIN failed--compilation aborted at /usr/sbin/MailScanner line 79.
Mailscanner failed to start
monitor:~# /etc/init.d/mailscanner stop
No MailScanner found running; none killed.
Downgrade libmailtools-perl back to version 1.77
monitor:~# dpkg --force-downgrade -i
/var/cache/apt/archives/libmailtools-perl_1.77-1_all.deb
dpkg - warning: downgrading libmailtools-perl from 2.02-1 to 1.77-1.
(Reading database ... 38855 files and directories currently installed.)
Preparing to replace libmailtools-perl 2.02-1 (using
.../libmailtools-perl_1.77-1_all.deb) ...
Unpacking replacement libmailtools-perl ...
Setting up libmailtools-perl (1.77-1) ...
Now no errors on start
monitor:~# /etc/init.d/mailscanner start
Mailscanner processes are running
monitor:~# ps aux | grep Mail
postfix 24102 0.0 0.9 25160 19468 ? SNs 09:49 0:00
MailScanner: master waiting for
children, sleeping
postfix 24103 1.8 3.8 101732 80140 ? SN 09:49 0:08
MailScanner: waiting for messages
postfix 24110 1.8 3.8 101732 80132 ? SN 09:49 0:08
MailScanner: waiting for messages
postfix 24113 1.9 3.8 102312 80848 ? SN 09:50 0:09
MailScanner: waiting for messages
postfix 24116 1.9 3.8 101728 80124 ? SN 09:50 0:08
MailScanner: waiting for messages
monitor:~#
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]