<DIV>Hi Cheers:</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks for you helps.</DIV>
<DIV>&nbsp;</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>&nbsp;</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 &amp; Thanks.</P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal>LingPing Zeng<BR></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal></sign><includetail>&nbsp;</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">------------------&nbsp;Original&nbsp;------------------</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>&nbsp;"Glenn Steen"&lt;glenn.steen@gmail.com&gt;;</DIV>
<DIV><B>Date: </B>&nbsp;Fri, Mar 26, 2010 09:06 PM</DIV>
<DIV><B>To: </B>&nbsp;"MailScanner discussion"&lt;mailscanner@lists.mailscanner.info&gt;; </DIV>
<DIV></DIV>
<DIV><B>Subject: </B>&nbsp;Re: Undefined subroutine &amp;MailScanner::Config::ProcessYesNO calledat /usr/lib/MailScanner/MailScanner/Config.pm line 2155.</DIV></DIV>
<DIV>&nbsp;</DIV>On 26 March 2010 11:00, LingPing Zeng &lt;lingping.zeng@qq.com&gt; wrote:<BR>&gt; Hi sir,<BR>&gt;<BR>&gt; Configured mailwatch, restarted mailscanner, the following error and can not<BR>&gt; send mail, e-mail all in the queue(at /var/spool/postfix/hold/)<BR>&gt;<BR>&gt; tail -n 3 /var/log/maillog:<BR>&gt; Mar 26 17:54:09 mx01 MailScanner[23760]: MailScanner E-Mail Virus Scanner<BR>&gt; version 4.79.11 starting...<BR>&gt; Mar 26 17:54:09 mx01 MailScanner[23760]: Reading configuration file<BR>&gt; /etc/MailScanner/MailScanner.conf<BR>&gt; Mar 26 17:54:09 mx01 MailScanner[23760]: Reading configuration file<BR>&gt; /etc/MailScanner/conf.d/README<BR>&gt;<BR>&gt; # service MailScanner restart<BR>&gt; Shutting down MailScanner daemons:<BR>&gt; ???????? MailScanner:?????? [FAILED]<BR>&gt; ???????? incoming postfix: [? OK? ]<BR>&gt; ???????? outgoing postfix: [? OK? ]<BR>&gt; Waiting for MailScanner to die gracefully? dead.<BR>&gt; Starting MailScanner daemons:<BR>&gt; ???????? incoming postfix: [? OK? ]<BR>&gt; ???????? outgoing postfix: [? OK? ]<BR>&gt; ???????? MailScanner:<BR>&gt; Undefined subroutine &amp;MailScanner::Config::ProcessYesNO called at<BR>&gt; /usr/lib/MailScanner/MailScanner/Config.pm line 2155.<BR>&gt;<BR>&gt; ------------------<BR>&gt;<BR>&gt; Best Regards &amp; Thanks.<BR>&gt;<BR>&gt; LingPing Zeng<BR>&gt;<BR>&gt; http://blog.sina.com.cn/zenglingping<BR>&gt;<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 &lt; dot &gt; steen &lt; at &gt; gmail &lt; dot &gt; com<BR>work: glenn &lt; dot &gt; steen &lt; at &gt; ap1 &lt; dot &gt; 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!&nbsp;</DIV></includetail></DIV>