OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Strange error(s) after powerout

From: Account for mailinglists (liststechtradeinter.se)
Date: Mon May 19 2003 - 01:50:50 CDT


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.EF56031E0Cpickles.soderlund.org>

May 19 08:39:11 pickles postfix/qmgr[6151]: EF56031E0C:
from=<rootsoderlund.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: <rootsoderlund.org> ->
<mailbackupsoderlund.org>,<niclassoderlund.org>

May 19 08:39:12 pickles amavis[6026]: Checking: <rootsoderlund.org> ->
<mailbackupsoderlund.org>,<niclassoderlund.org>

May 19 08:39:12 pickles postfix/smtp[6153]: EF56031E0C:
to=<mailbackupsoderlund.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=<niclassoderlund.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