Undefined subroutine &MailScanner::Config::ProcessYesNO calledat /usr/lib/MailScanner/MailScanner/Config.pm line 2155.

LingPing Zeng lingping.zeng at qq.com
Sat Mar 27 09:01:56 GMT 2010


Hi Cheers:
  
 Thanks for you helps.
  
 I have used the VM installed a new CentOS, in the same environment to re-configured again, did not find the same problem, and then MailScanner.conf and Config.pm scp to a host in question, restart MailScanner OK.
  
  ------------------
   
Best Regards & Thanks.
 
LingPing Zeng

 
 



   ------------------ Original ------------------
  From:  "Glenn Steen"<glenn.steen at gmail.com>;
 Date:  Fri, Mar 26, 2010 09:06 PM
 To:  "MailScanner discussion"<mailscanner at lists.mailscanner.info>; 
 
 Subject:  Re: Undefined subroutine &MailScanner::Config::ProcessYesNO calledat /usr/lib/MailScanner/MailScanner/Config.pm line 2155.

  
On 26 March 2010 11:00, LingPing Zeng <lingping.zeng at qq.com> wrote:
> Hi sir,
>
> Configured mailwatch, restarted mailscanner, the following error and can not
> send mail, e-mail all in the queue(at /var/spool/postfix/hold/)
>
> tail -n 3 /var/log/maillog:
> Mar 26 17:54:09 mx01 MailScanner[23760]: MailScanner E-Mail Virus Scanner
> version 4.79.11 starting...
> Mar 26 17:54:09 mx01 MailScanner[23760]: Reading configuration file
> /etc/MailScanner/MailScanner.conf
> Mar 26 17:54:09 mx01 MailScanner[23760]: Reading configuration file
> /etc/MailScanner/conf.d/README
>
> # service MailScanner restart
> Shutting down MailScanner daemons:
> ???????? MailScanner:?????? [FAILED]
> ???????? incoming postfix: [? OK? ]
> ???????? outgoing postfix: [? OK? ]
> Waiting for MailScanner to die gracefully? dead.
> Starting MailScanner daemons:
> ???????? incoming postfix: [? OK? ]
> ???????? outgoing postfix: [? OK? ]
> ???????? MailScanner:
> Undefined subroutine &MailScanner::Config::ProcessYesNO called at
> /usr/lib/MailScanner/MailScanner/Config.pm line 2155.
>
> ------------------
>
> Best Regards & Thanks.
>
> LingPing Zeng
>
> http://blog.sina.com.cn/zenglingping
>
Most likely... is that you've botched your MailWatch.pm file,
somehow... Perhaps used a windoze editor on it, or simply removed some
";" you shouldn't have. Check it with "perl -wc
/path/to/MailWatch.pm". Perhaps you followed some outdated
instructions on how to include MailWatch.pm in MailScanner, in which
case you likely have just botched the Config.pm edit (that you no
longer should have done... if ever!).

Cheers
-- 
-- Glenn
email: glenn < dot > steen < at > gmail < dot > com
work: glenn < dot > steen < at > ap1 < dot > se
-- 
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner

Before posting, read http://wiki.mailscanner.info/posting

Support MailScanner development - buy the book off the website!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20100327/6e22b560/attachment.html


More information about the MailScanner mailing list