Error after postfix upgrade

Martin.Hepworth martinh at solidstatelogic.com
Tue Oct 30 10:46:25 GMT 2007


Hmm

One thing that changed recently (postfix 2.3??) was the queue layout default change. Before it was of the style /var/spool/postfix/hold/[0-9a-f]/..., now it's /var/spool/postfix/hold/...

Not sure when this happened off hand, was either 2.2 or 2.3...

Also looking at the MS changelog the P record support now in PF 2.3/4 isn't fully handled till MS 40.60.8, so given you're running quite and old version of MS I would upgrade MS as Glenn suggests.

--
Martin Hepworth
Snr Systems Administrator
Solid State Logic
Tel: +44 (0)1865 842300

> -----Original Message-----
> From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-
> bounces at lists.mailscanner.info] On Behalf Of Glenn Steen
> Sent: 30 October 2007 10:28
> To: MailScanner discussion
> Subject: Re: Error after postfix upgrade
>
> On 30/10/2007, Gerard Seibert <gerard at seibercom.net> wrote:
> > On Monday October 29, 2007 at 11:36:10 (AM) remeryspam 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?
> >
> >
> > You made a major update from version 2.2.x to 2.4.x in one hop. There
> have
> > been major changes in Postfix, especially with SSL/TLS, etc. You might
> want to
> > familiarize yourself with the updated documentation. Many of the
> original
> > statements in the main.cf file have changed.
> >
> > I am not sure specifically what is causing your problem; however, I
> would
> > recommend that you start there, Posting the output of postconf -n might
> also
> > be enlightening.
> >
> One might also add that there have been quite a bit of change done to
> MailScanner, to fully support Postfix 2.3/2.4, so an update from that
> rather old version you have... wouldn't be a bad thing either.
> I don't recall if the queue depth thing was a problem with that
> version... Memory gone bad:-):-).
>
> 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!




**********************************************************************
Confidentiality : This e-mail and any attachments are intended for the 
addressee only and may be confidential. If they come to you in error 
you must take no action based on them, nor must you copy or show them 
to anyone. Please advise the sender by replying to this e-mail 
immediately and then delete the original from your computer.
Opinion : Any opinions expressed in this e-mail are entirely those of 
the author and unless specifically stated to the contrary, are not 
necessarily those of the author's employer.
Security Warning : Internet e-mail is not necessarily a secure 
communications medium and can be subject to data corruption. We advise 
that you consider this fact when e-mailing us. 
Viruses : We have taken steps to ensure that this e-mail and any 
attachments are free from known viruses but in keeping with good 
computing practice, you should ensure that they are virus free.

Red Lion 49 Ltd T/A Solid State Logic
Registered as a limited company in England and Wales 
(Company No:5362730)
Registered Office: 25 Spring Hill Road, Begbroke, Oxford OX5 1RU, 
United Kingdom
**********************************************************************



More information about the MailScanner mailing list