Problem with MailWatch Logging

Glenn Steen glenn.steen at gmail.com
Tue Jul 24 09:50:06 IST 2007


On 24/07/07, Fajar <fajarep at simplimobile.com> wrote:
> Here is the permission of file, and response of perl -wc :
> # ls -l /usr/lib/MailScanner/MailScanner/CustomFunctions/MailWatch.pm
> -rw-r--r--  1 root root 10881 Jul 24 14:13
> /usr/lib/MailScanner/MailScanner/CustomFunctions/MailWatch.pm
> # perl -wc /usr/lib/MailScanner/MailScanner/CustomFunctions/MailWatch.pm
> Useless use of private variable in void context at
> /usr/lib/MailScanner/MailScanner/CustomFunctions/MailWatch.pm line 248.
> /usr/lib/MailScanner/MailScanner/CustomFunctions/MailWatch.pm syntax OK
>
Fajar, I just did a little search of my private archives (that happen
to cover a few years of MailScanner list:-), and if I'm not
misstaken... you indeed are using Postfix. So, redo the perl -wc _as
the postfix user_ ... "su - postfix -s /bin/bash" should get you a
shell to do it in.
Of course, I might be misstaken:-).

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