<DIV>Hi Cheers:</DIV>
<DIV> </DIV>
<DIV>Thanks for you helps.</DIV>
<DIV> </DIV>
<DIV>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.</DIV>
<DIV> </DIV>
<DIV><sign signid="0">
<DIV style="FONT-FAMILY: Arial Narrow; COLOR: #909090; FONT-SIZE: 12px">------------------</DIV>
<DIV style="FONT-FAMILY: Verdana; COLOR: #000; FONT-SIZE: 14px">
<DIV>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal>Best Regards & Thanks.</P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal>LingPing Zeng<BR></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal></sign><includetail> </P></DIV></DIV></DIV>
<DIV>
<DIV style="COLOR: #000">
<DIV style="PADDING-BOTTOM: 2px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; FONT-FAMILY: Arial Narrow; FONT-SIZE: 12px; PADDING-TOP: 2px">------------------ Original ------------------</DIV>
<DIV style="PADDING-BOTTOM: 8px; PADDING-LEFT: 8px; PADDING-RIGHT: 8px; BACKGROUND: #efefef; FONT-SIZE: 12px; PADDING-TOP: 8px">
<DIV id=menu_sender><B>From: </B> "Glenn Steen"<glenn.steen@gmail.com>;</DIV>
<DIV><B>Date: </B> Fri, Mar 26, 2010 09:06 PM</DIV>
<DIV><B>To: </B> "MailScanner discussion"<mailscanner@lists.mailscanner.info>; </DIV>
<DIV></DIV>
<DIV><B>Subject: </B> Re: Undefined subroutine &MailScanner::Config::ProcessYesNO calledat /usr/lib/MailScanner/MailScanner/Config.pm line 2155.</DIV></DIV>
<DIV> </DIV>On 26 March 2010 11:00, LingPing Zeng <lingping.zeng@qq.com> wrote:<BR>> Hi sir,<BR>><BR>> Configured mailwatch, restarted mailscanner, the following error and can not<BR>> send mail, e-mail all in the queue(at /var/spool/postfix/hold/)<BR>><BR>> tail -n 3 /var/log/maillog:<BR>> Mar 26 17:54:09 mx01 MailScanner[23760]: MailScanner E-Mail Virus Scanner<BR>> version 4.79.11 starting...<BR>> Mar 26 17:54:09 mx01 MailScanner[23760]: Reading configuration file<BR>> /etc/MailScanner/MailScanner.conf<BR>> Mar 26 17:54:09 mx01 MailScanner[23760]: Reading configuration file<BR>> /etc/MailScanner/conf.d/README<BR>><BR>> # service MailScanner restart<BR>> Shutting down MailScanner daemons:<BR>> ???????? MailScanner:?????? [FAILED]<BR>> ???????? incoming postfix: [? OK? ]<BR>> ???????? outgoing postfix: [? OK? ]<BR>> Waiting for MailScanner to die gracefully? dead.<BR>> Starting MailScanner daemons:<BR>> ???????? incoming postfix: [? OK? ]<BR>> ???????? outgoing postfix: [? OK? ]<BR>> ???????? MailScanner:<BR>> Undefined subroutine &MailScanner::Config::ProcessYesNO called at<BR>> /usr/lib/MailScanner/MailScanner/Config.pm line 2155.<BR>><BR>> ------------------<BR>><BR>> Best Regards & Thanks.<BR>><BR>> LingPing Zeng<BR>><BR>> http://blog.sina.com.cn/zenglingping<BR>><BR>Most likely... is that you've botched your MailWatch.pm file,<BR>somehow... Perhaps used a windoze editor on it, or simply removed some<BR>";" you shouldn't have. Check it with "perl -wc<BR>/path/to/MailWatch.pm". Perhaps you followed some outdated<BR>instructions on how to include MailWatch.pm in MailScanner, in which<BR>case you likely have just botched the Config.pm edit (that you no<BR>longer should have done... if ever!).<BR><BR>Cheers<BR>-- <BR>-- Glenn<BR>email: glenn < dot > steen < at > gmail < dot > com<BR>work: glenn < dot > steen < at > ap1 < dot > se<BR>-- <BR>MailScanner mailing list<BR>mailscanner@lists.mailscanner.info<BR>http://lists.mailscanner.info/mailman/listinfo/mailscanner<BR><BR>Before posting, read http://wiki.mailscanner.info/posting<BR><BR>Support MailScanner development - buy the book off the website! </DIV></includetail></DIV>