postfix: Process did not exit cleanly, returned 1 with signal 0
davejenx at googlemail.com
Thu Jun 5 18:04:44 IST 2008
I'm new to the list . I have successfully run MailScanner with
sendmail for a couple of years, now setting it up with postfix on
MailScanner & postfix have mostly been running happily for a few
weeks, averaging about 5 msgs/min. But on two occasions we've had
defunct MailScanner processes and the error "postfix: Process did not
exit cleanly, returned 1 with signal 0".
Once the error & the defunct processes started appearing, there was an
ever-growing "Found N messages waiting" (got to 480 first time) and no
mail getting through. /var/log/maillog revealed that the same batch of
30 messages was being scanned over & over.
Disabling virus scanning in MailScanner.conf, didn't help. Neither did
removing all "yes" entries from
/etc/MailScanner/rules/spam.checking.rules, leaving default "no". (I
restarted MailScanner after each change.) Finally I turned off
scanning (Scan Messages = no) and this allowed the queue to clear.
I then switched scanning, virus and spamassassin back on (i.e.
restored previous config) and it then ran fine. I'm wondering if it
was a peculiarity of one of the messages that caused MailScanner to
The second time it happened, before clearing the queue I took a copy
of /var/spool/MailScanner/incoming; will that help in debugging the
problem? If so, what should I do with it and if not, what should I do
next time it happens?
mailscanner-4.69.8-1 from rpm from mailscanner.info
CPU: AMD Phenom(tm) 9550 Quad-Core Processor
DIsks: 2 x 500GB SATA in software RAID-1
More information about the MailScanner