|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
SOLVED: (perlproblem) Re: Strange error(s) after powerout
From: Account for mailinglists (lists
techtradeinter.se)
Date: Tue May 20 2003 - 01:33:28 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hiya,
no what you describe below doesnt really fit. But anyway, saw now that
perl's new Net::Server 0.85 screws up things for amavis which I use,
reverted back to 0.84 and all is fine.
Thanks,
Niclas
At 00:00 2003-05-20, Mickey Poppitz wrote:
>your log indicated there was a message in transfer when the server crashed.
>
> > May 19 08:39:12 pickles amavis[6026]: Checking: <root
soderlund.org> ->
> > <mailbackup
soderlund.org>,<niclas
soderlund.org>
>
> NOTE 3 EMAILS ABOVE AND 2 EMAIL BELOW
> >
> > May 19 08:39:12 pickles postfix/smtp[6153]: EF56031E0C:
> > to=<mailbackup
soderlund.org>, orig_to=<mailbackup>,
> > relay=127.0.0.1[127.0.0.1], delay=1, status=deferred (lost connection
>with
> > 127.0.0.1[127.0.0.1] while sending end of data -- message may be sent
>more
> > than once)
> >
> > May 19 08:39:12 pickles postfix/smtp[6153]: EF56031E0C:
> > to=<niclas
soderlund.org>, relay=127.0.0.1[127.0.0.1], delay=1,
> > status=deferred (lost connection with 127.0.0.1[127.0.0.1] while sending
> > end of data -- message may be sent more than once)
>
>Note after amavis message, mailbackup
soderlund.org and niclas
soderlund.org
>are processed but not root
soderlund.org. if you check the mail logs you
>will
>likely find the root
soderlund.org was proccessed (note time, May 19
>08:39:12 )
>
>Though I use mailscanner and not amavis, their mechanisms are basicly the
>same.
>
>Somewhere in the amavis queues there is a record to proccess the other 2
>emails,
>even though they do not exist on the hard drive. Lookup if there is a
>command
>program within amavis to flush its queues.
> They are likely stored as either a basic text file or as a hash
>
>Hope this helps out
>
>Mickey Poppitz, DataSoft LLC.com
>POSTMASTER, 303-431-8076
>
>
>PS: this email does NOT give you or anyone else permission to use it for
>advertising or
>mailing list purposes nor may it be redistributed. Unfortunately, this has
>become one of
>the only legal means of stopping others from posting or selling my email for
>SPAM uses.
>
>
>----- Original Message -----
>From: "Account for mailinglists" <lists
techtradeinter.se>
>Newsgroups: gmane.mail.postfix.user
>Sent: Monday, May 19, 2003 12:50 AM
>Subject: Strange error(s) after powerout
>
>
> > Hi folks,
> >
> > been running postfix with amavis (and spamass thru amavis) and all has
>been
> > fine for almost a year now. Friday evening there was a blackout and the
>UPS
> > failed which gave some of our servers something to think about.
> >
> > The main mailserver which this is about, got a rough powerdown and when it
> > came back up all I see is mail getting stuck in the mailq (looking with
>the
> > command mailq) and these errors for every mail coming in:
> >
> > pickles:/etc/postfix# tail /var/log/mail.warn
> >
> > May 19 08:39:11 pickles postfix/pickup[6150]: EF56031E0C: uid=0
>from=<root>
> >
> > May 19 08:39:11 pickles postfix/cleanup[6164]: EF56031E0C:
> > message-id=<20030519063911.EF56031E0C
pickles.soderlund.org>
> >
> > May 19 08:39:11 pickles postfix/qmgr[6151]: EF56031E0C:
> > from=<root
soderlund.org>, size=307, nrcpt=2 (queue active)
> >
> > May 19 08:39:12 pickles amavis[6026]: SMTP-in [127.0.0.1]
> > /var/lib/amavis/amavis-20030519T083754-06026: <root
soderlund.org> ->
> > <mailbackup
soderlund.org>,<niclas
soderlund.org>
> >
> > May 19 08:39:12 pickles amavis[6026]: Checking: <root
soderlund.org> ->
> > <mailbackup
soderlund.org>,<niclas
soderlund.org>
> >
> > May 19 08:39:12 pickles postfix/smtp[6153]: EF56031E0C:
> > to=<mailbackup
soderlund.org>, orig_to=<mailbackup>,
> > relay=127.0.0.1[127.0.0.1], delay=1, status=deferred (lost connection with
> > 127.0.0.1[127.0.0.1] while sending end of data -- message may be sent more
> > than once)
> >
> > May 19 08:39:12 pickles postfix/smtp[6153]: EF56031E0C:
> > to=<niclas
soderlund.org>, relay=127.0.0.1[127.0.0.1], delay=1,
> > status=deferred (lost connection with 127.0.0.1[127.0.0.1] while sending
> > end of data -- message may be sent more than once)
> >
> > pickles:/etc/postfix#
> >
> > I checked the daemons (all working fine, telnetting into the appropiate
> > ports etc) and I tried rebooting a bit nicer once to let it clean up
> > whatever that could have been wrong (pid'files etc).
> >
> > But nothing seems to help, im very puzzled right now and could use some
> > hints on what this means. I mean, nothing has _changed_ if not this shows
> > in any way that a file/conf has been corrupted by the powerdown.
> >
> > The versions:
> >
> > pickles:/var/log# dpkg -l | grep postfix
> > ii amavis-postfix 20020517-25 Interface between MTA and virus scanner.
> > ii postfix 1.1.11.0-3 A high-performance mail transport agent
> >
> > pickles:/var/log# dpkg -l | grep spam
> > ii razor 1.20-1.1 spam-catcher using a collaborative
>filtering
> > ii spamassassin 2.53-1 Perl-based spam filter using text
>analysis
> > ii spamc 2.53-1 Client for perl-based spam filtering
>daemon
> >
> > and the master.cf:
> >
> > #
>==========================================================================
> > # service type private unpriv chroot wakeup maxproc command + args
> > # (yes) (yes) (yes) (never) (50)
> > #
>==========================================================================
> > smtp inet n - n - - smtpd
> > #628 inet n - n - - qmqpd
> > pickup fifo n - n 60 1 pickup
> > cleanup unix n - n - 0 cleanup
> > qmgr fifo n - n 300 1 qmgr
> > #qmgr fifo n - n 300 1 nqmgr
> > rewrite unix - - n - - trivial-rewrite
> > bounce unix - - n - 0 bounce
> > defer unix - - n - 0 bounce
> > flush unix n - n 1000? 0 flush
> > smtp unix - - n - - smtp
> > relay unix - - n - - smtp
> > # -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
> > showq unix n - n - - showq
> > error unix - - n - - error
> > local unix - n n - - local
> > virtual unix - n n - - virtual
> > lmtp unix - - n - - lmtp
> >
> > smtp-amavis unix - - n - 2 smtp
> > -o smtp_data_done_timeout=1200s
> > -o smtp_never_send_ehlo=yes
> > -o disable_dns_lookups=yes
> >
> > 127.0.0.1:10025 inet n - n - - smtpd
> > -o content_filter=
> > -o local_recipient_maps=
> > -o smtpd_helo_restrictions=
> > -o smtpd_client_restrictions=
> > -o smtpd_sender_restrictions=
> > -o smtpd_recipient_restrictions=permit_mynetworks,reject
> > -o mynetworks=127.0.0.0/8
> >
> > maildrop unix - n n - - pipe
> > flags=R user=postfix argv=/usr/bin/maildrop -d ${recipient}
> >
> > -------------------------
> >
> > I've enclosed the main.cf in an attachtment since its quite big.
> >
> > ANY help is appreciated :-(
> >
> > Regards,
> >
> > Niclas
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]