New beta release 4.81.2
Mark Sapiro
mark at msapiro.net
Tue Aug 3 18:25:25 IST 2010
Randal, Phil wrote:
># MailScanner --lint
>Missing right curly or square bracket at
>/usr/lib/MailScanner/MailScanner/MessageBatch.pm line 1392, at end of
>line
>syntax error at /usr/lib/MailScanner/MailScanner/MessageBatch.pm line
>1392, at EOF
>Compilation failed in require at /usr/sbin/MailScanner line 103.
>BEGIN failed--compilation aborted at /usr/sbin/MailScanner line 103.
I don't see this on CentOS 5 with the rpm install. Also, in this diff
between 4.80.10 and 4.81.2 I don't see any unpaired braces or brackets
diff MS-4.80.10/MailScanner/MessageBatch.pm
/usr/lib/MailScanner/MailScanner/MessageBatch.pm
5c5
< # $Id: MessageBatch.pm 5028 2010-06-09 21:21:29Z sysjkf $
---
> # $Id: MessageBatch.pm 5048 2010-08-03 11:19:15Z sysjkf $
51c51
< $VERSION = substr q$Revision: 5028 $, 10;
---
> $VERSION = substr q$Revision: 5048 $, 10;
262a263
> next if $message->{scanvirusonly}; # Over-rides Spam Checks setting
443c444,448
< return 0 unless $message->{deleted};
---
> if (!$message->{deleted}) {
> # Do not remove the next line, it is vital to reset "each()"!
> keys %{$this->{messages}};
> return 0;
> }
978c983,987
< return if $posties =~ /^\s*$/; # Return if no opsties defined
---
> if ($posties =~ /^\s*$/) {
> keys %{$this->{messages}}; # Necessary line to reset "each()"
> # Return if no posties defined
> return;
> }
--
Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
More information about the MailScanner
mailing list