Error after postfix upgrade

Julian Field MailScanner at ecs.soton.ac.uk
Tue Oct 30 13:43:19 GMT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Upgrade your MailScanner (I'll be releasing a new version tomorrow
morning, so wait until then). This code is commented out in the latest
version, it has been re-implemented differently.

remeryspam at cfl.rr.com wrote:
> I have been running an Ubuntu 6.06 LTS server for the past 6 months
> with postfix and mailscanner installed from the repositories.
> Everything has been working great!
>
> Yesterday, I ran the updates on the server, which updated postfix
> from 2.2.10-1ubuntu0.1 to 2.4.5-3build1~dapper1 (mailscanner is at
> 4.46.2-3). After the update, mail wasn't being delivered and I
> noticed this message in the logs every time mailscanner runs:
>
> postfix: Process did not exit cleanly, returned 255 with signal 0
>
> If I run postfix without mailscanner, it runs without logging
> errors. I switched mailscanner to run with debug = yes, and ran
> check_mailscanner, and got this message:
>
> Can't call method "DropFromBatch" on unblessed reference at
> /usr/share/MailScanner/MailScanner/Postfix.pm line 332.
>
> The code there is:
>
> # If the data offset is 0 then Postfix definitely hasn't finished #
> writing the message. unless ($DataOffset+0 > 10) { # 10 ==
> arbitrarily small number $message->DropFromBatch(); return 0; }
>
> I am a programmer, but am not at all familiar with Perl, so am not
> sure what the problem is.
>
> Any thoughts/advice?
>
> Thanks in advance, Rick

Jules

- --
Julian Field MEng CITP
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store

MailScanner customisation, or any advanced system administration help?
Contact me at Jules at Jules.FM

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
For all your IT requirements visit www.transtec.co.uk
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHJzT3EfZZRxQVtlQRAnynAJ40oCrXElbNgScZ2epgC36URLKYIgCguHlQ
CrI0Ru4UXAcUT3pxfAO/VzU=
=FimQ
-----END PGP SIGNATURE-----


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
For all your IT requirements visit www.transtec.co.uk



More information about the MailScanner mailing list