WARNING: Ignoring deprecated option --unzip

Stephen Swaney steve.swaney at fsl.com
Mon Jan 26 14:46:35 GMT 2009



> -----Original Message-----
> From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-
> bounces at lists.mailscanner.info] On Behalf Of Simon Jones
> Sent: Monday, January 26, 2009 9:30 AM
> To: MailScanner discussion
> Subject: Re: WARNING: Ignoring deprecated option --unzip
> 
> 2009/1/26 Glenn Steen <glenn.steen at gmail.com>:
> > 2009/1/26 Simon Jones <simonmjones at gmail.com>:
> >> 2009/1/25 Julian Field <MailScanner at ecs.soton.ac.uk>:
> >>> This is documented in the MailScanner ChangeLog. You have updated
> ClamAV,
> >>> and you require a MailScanner update as well to match the new
> command-line
> >>> syntax. It was mentioned in my "new version announcement" to the
> >>> MailScanner-Announce list a while back.
> >>>
> >>> On 24/1/09 19:47, Simon Jones wrote:
> >>>>
> >>>> Evening chaps,  gateway still running like a dog!  I've noticed in
> >>>> /var/log/maillog the following;
> >>>>
> >>>> Jan 24 19:27:29 mailgate1 MailScanner[6685]: WARNING: Ignoring
> >>>> deprecated option --unzip
> >>>> Jan 24 19:27:29 mailgate1 MailScanner[6685]: WARNING: Ignoring
> >>>> deprecated option --jar
> >>>> Jan 24 19:27:29 mailgate1 MailScanner[6685]: WARNING: Ignoring
> >>>> deprecated option --tar
> >>>> Jan 24 19:27:29 mailgate1 MailScanner[6685]: WARNING: Ignoring
> >>>> deprecated option --tgz
> >>>> Jan 24 19:27:29 mailgate1 MailScanner[6685]: WARNING: Ignoring
> >>>> deprecated option --deb
> >>>> Jan 24 19:27:29 mailgate1 MailScanner[6685]: WARNING: Ignoring
> >>>> deprecated option --max-ratio
> >>>> Jan 24 19:27:29 mailgate1 MailScanner[6685]: WARNING: Ignoring
> >>>> deprecated option --unrar
> >>>>
> >>>> I'm assuming it won't hurt performance and I'm sure someone's come
> >>>> across this before so if you could point me in the direction to
> the
> >>>> fix it'd be great,
> >>>>
> >>>> thanks
> >>>>
> >>>> Simon
> >>>>
> >>>
> >>> Jules
> >>>
> >> hello chaps, thanks for that - I've updated MS and configured it to
> >> use clamd which works a treat, the machines are chewing spam like
> they
> >> haven't eaten in a month!  I do have a spot of trouble with the
> >> MailScanner -d --lint test though -
> >>
> >> bayes: failed rename /etc/MailScanner/bayes/bayes_journal to
> >> /etc/MailScanner/bayes/bayes_journal.old
> >> bayes: failed rename /etc/MailScanner/bayes/bayes_journal to
> >> /etc/MailScanner/bayes/bayes_journal.old
> >> bayes: failed rename /etc/MailScanner/bayes/bayes_journal to
> >> /etc/MailScanner/bayes/bayes_journal.old
> >>
> >> Previous error complained of not being able to read the files so i
> >> chown postfix:root * in the directory, now I'm getting the above.
> >> Seems to have fixed the read error though...
> >>
> >> thanks again,
> >>
> >> Simon
> > This is how this looks for me (I use MailWatch where the apache user
> > and group is named "apache"):
> >
> > # ls -ld /etc/MailScanner/bayes
> > drwxrwsrwx 2 postfix apache 4096 2009-01-26 14:58
> /etc/MailScanner/bayes/
> > # ls -l /etc/MailScanner/bayes
> > totalt 6004
> > -rw-rw---- 1 postfix apache    2334 2009-01-26 14:58 bayes.mutex
> > -rw-r----- 1 apache  apache   12288 2009-01-26 14:58 bayes_seen
> > -rw-rw---- 1 postfix apache 5984256 2009-01-26 14:58 bayes_toks
> > #
> >
> > Cheers
> > --
> > -- Glenn
> > email: glenn < dot > steen < at > gmail < dot > com
> 
> looks good! so simple I didn't think it could be that.  finally since
> the upgrade I'm gettin commit ineffective with AutoCommit enabled at
> /usr/lib/MailScanner/MailScanner/CustomFunctions/MailWatch.pm line 93,
> <CLIENT> line 1
> 
> when i restart the MailScanner service, doesn't seem to be a problem
> but can it be tidied up?
> 
> Simon
> --

Simon,

In the list archives for a while:

http://lists.mailscanner.info/pipermail/mailscanner/2008-May/085074.html 

Google for: commit ineffective with AutoCommit enabled

Found it as the first hit.

> Old Code - /usr/lib/MailScanner/MailScanner/CustomFunctions/MailWatch.pm
> ========================================================================
>  sub ExitLogging {
>    # Server exit - commit changes, close socket, and exit gracefully.
>    close(SERVER);
>    $dbh->commit;
>    $dbh->disconnect;
>    exit;
>  }
> 
> 
> New Code - /usr/lib/MailScanner/MailScanner/CustomFunctions/MailWatch.pm
> ========================================================================
>  sub ExitLogging {
>    # Server exit - commit changes, close socket, and exit gracefully.
>    close(SERVER);
>    ##### AJOS1 CHANGE #####
>    $dbh->{Warn} = 0;
>    ##### AJOS1 CHANGE #####
>    $dbh->commit;
>    $dbh->disconnect;
>    exit;
>  }

Best regards,

Steve

Steve Swaney
steve at fsl.com
www.fsl.com




More information about the MailScanner mailing list