Problem with MailWatch Logging
Fajar
fajarep at simplimobile.com
Tue Jul 24 09:57:39 IST 2007
# su - postfix -s /bin/bash
$ 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
same message like root user
Thanks.
Fajar
----- Original Message -----
From: "Glenn Steen" <glenn.steen at gmail.com>
To: "MailScanner discussion" <mailscanner at lists.mailscanner.info>
Sent: Tuesday, July 24, 2007 3:50 PM
Subject: Re: Problem with MailWatch Logging
> 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
> --
> 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!
More information about the MailScanner
mailing list