MailScanner on CPanel
Sarah Michaelson
waytotheweb at googlemail.com
Mon Dec 3 15:35:28 GMT 2007
On 02/12/2007, double T <doublet21 at gmail.com> wrote:
> Hi !
>
> Following instructions from
> http://www.configserver.com/free/mailscanner.html i just
> installed mailscanner on a new CPanel server. In fact i wouldn't see it much
> complicated :), the problem is that I'm new with CPanel and MailScanner, coz
> i was workling untill now with Plesk and Qmail. Always wanted to try
> MailScanner!
>
> The point is that when MailScanner script (install.sh) finished, i had this
> error:
>
> -----------
>
> Copying MailScanner/cPanel scripts...
>
> mkdir: created directory `/usr/mscpanel'
> `mscheck.pl' -> `/usr/mscpanel/./mscheck.pl'
> `mscpanel.pl' -> `/usr/mscpanel/./mscpanel.pl'
> `msswitch.pl' -> `/usr/mscpanel/./msswitch.pl'
> `version.txt' -> `/usr/mscpanel/./version.txt'
> `exim.init' -> `/usr/mscpanel/./exim.init'
> mode of `/usr/mscpanel/mscpanel.pl' changed to 0700 (rwx------)
> mode of `/usr/mscpanel/mscheck.pl' changed to 0700 (rwx------)
> mode of `/usr/mscpanel/msswitch.pl' changed to 0700 (rwx------)
>
> Shutting down exim: [ OK ]
> Shutting down antirelayd: [ OK ]
> Shutting down spamd: [ OK ]
> Starting exim: [ OK ]
> Starting exim-outgoing: [ OK ]
> Starting exim-smtps: [ OK ]
> Starting antirelayd: [ OK ]
> Starting spamd: [22397] info: config: dcc_path "/usr/local/bin/dccproc"
> isn't an executable
> [22397] info: config: SpamAssassin failed to parse line,
> "/usr/local/bin/dccproc" is not valid for "dcc_path", skipping: dcc_path
> /usr/local/bin/dccproc
> [ OK ]
> Stopping chkservd: [ OK ]
> Starting chkservd: [ OK ]
This is most likely because DCC is not installed on your server. If
you do not wish to install DCC, you should edit the file
/etc/mail/spamassassin/mailscanner.conf and comment out the line:
dcc_path /usr/local/bin/dccproc
>
> This is the output of MailScanner -v
>
> [root at testsrv msinstall]# /usr/mailscanner/bin/MailScanner
> -v
> Variable "$FIELD_NAME" is not imported at
> /usr/mailscanner/lib/MailScanner/Message.pm line 6907.
> Variable "$FIELD_NAME" is not imported at
> /usr/mailscanner/lib/MailScanner/Message.pm line 6910.
> Global symbol "$FIELD_NAME" requires explicit package name at
> /usr/mailscanner/lib/MailScanner/Message.pm line 6907.
> Global symbol "$FIELD_NAME" requires explicit package name at
> /usr/mailscanner/lib/MailScanner/Message.pm line 6910.
> Compilation failed in require at
> /usr/mailscanner/bin/MailScanner line 79.
> BEGIN failed--compilation aborted at
> /usr/mailscanner/bin/MailScanner line 79.
>
> Can somebosy help me please?
We've posted an entry on our blog regarding this problem and how to
work around it until it is fixed in MailScanner:
http://www.configserver.com/blog/index.php?itemid=245
--
Regards,
Sarah Michaelson
Way to the Web Ltd
Server Management Services:
http://www.configserver.com
More information about the MailScanner
mailing list