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

Glenn Steen glenn.steen at gmail.com
Fri Mar 26 13:06:08 GMT 2010


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


More information about the MailScanner mailing list