Postfix support -- beta release

Peter Bates Peter.Bates at LSHTM.AC.UK
Tue Apr 15 16:55:03 IST 2003


Hello again all...

I'm posting this to the list, unless you think I should send it directly, Julian...

>Are you sure you've got the "defer_transports" setting in
>/etc/postfix.in/main.cf? The incoming postfix should just dump 
>everything in the "deferred" queue (/var/spool/postfix.in/deferred).

Yup... 

# postconf -c /etc/postfix.in defer_transports
defer_transports = smtp local virtual

I see this: (with the 'errors' highlighted by asterisks!)

When MailScanner starts, I see:

*Apr 15 16:38:37 hancock MailScanner[12862]: User's home directory /var/spool/postfix is not writable*

Then:

Apr 15 16:38:57 hancock postfix/smtpd[12864]: connect from unknown[193.63.251.18]
Apr 15 16:38:57 hancock postfix/smtpd[12864]: 5C8E414A12C: client=unknown[193.63.251.18]
Apr 15 16:38:57 hancock postfix/cleanup[12865]: 5C8E414A12C: message-id=<20030415153857.5C8E414A12C at hancock.lshtm.ac.uk>
Apr 15 16:38:57 hancock postfix/qmgr[12759]: 5C8E414A12C: from=<peter at invisiblemenders.com>, size=17954, nrcpt=1 (queue active)
*Apr 15 16:38:57 hancock postfix/smtp[12868]: fatal: unknown service: smtp/tcp*
Apr 15 16:38:57 hancock postfix/smtpd[12864]: disconnect from unknown[193.63.251.18]
*Apr 15 16:38:58 hancock postfix/qmgr[12759]: warning: premature end-of-input on private/relay socket while reading input attribute name*
*Apr 15 16:38:58 hancock postfix/qmgr[12759]: warning: private/relay socket: malformed response*
*Apr 15 16:38:58 hancock postfix/qmgr[12759]: warning: transport relay failure -- see a previous warning/fatal/panic logfile record for the problem description*
*Apr 15 16:38:58 hancock postfix/master[12757]: warning: process /usr/libexec/postfix/smtp pid 12868 exit status 1*
*Apr 15 16:38:58 hancock postfix/master[12757]: warning: /usr/libexec/postfix/smtp: bad command startup -- throttling*

All of the above are about Postfix not being able to run 'smtp', the thing that essentially delivers via SMTP (as opposed to smtpd, which listens).

Apr 15 16:39:00 hancock MailScanner[12852]: New Batch: Scanning 1 messages, 18275 bytes
Apr 15 16:39:00 hancock MailScanner[12852]: Spam Checks: Starting
Apr 15 16:39:10 hancock MailScanner[12862]: SophosSAVI 3.68 (engine 2.14) recognizing 80978 viruses
Apr 15 16:39:10 hancock MailScanner[12862]: SophosSAVI using 14 IDE files
Apr 15 16:39:10 hancock MailScanner[12862]: Using locktype = flock
Apr 15 16:39:30 hancock MailScanner[12852]: SpamAssassin timed out and was killed, consecutive failure 1 of 20
Apr 15 16:39:34 hancock MailScanner[12852]: Virus and Content Scanning: Starting
Apr 15 16:39:34 hancock MailScanner[12852]: Filename Checks: Allowing msg-12852-1.txt
Apr 15 16:39:34 hancock MailScanner[12852]: Filename Checks: Allowing newX15.GIF
Apr 15 16:39:34 hancock postfix/qmgr[12834]: 66D3615601E: from=<peter at invisiblemenders.com>, size=18118, nrcpt=1 (queue active)
Apr 15 16:39:34 hancock MailScanner[12852]: Uninfected: Delivered 1 messages
Apr 15 16:39:34 hancock postfix/smtp[12879]: 66D3615601E: to=<peter.bates at lshtm.ac.uk>, relay=193.63.251.120[193.63.251.120], delay=37, status=sent (250 Ok)

It seems to (or in fact does) get through here, but SA hasn't run for some reason... again possibly because user 'postfix' can't run it???

I also see a few:
Apr 15 16:48:23 hancock postfix/smtp[12905]: warning: corrupted queue file: active/6/66F4715601F

If I copy /etc/services into /var/spool/postfix.in/etc/services to stop the above 'fatal unknown service' error, then the mail gets delivered directly... ???!!!



--------------------------------------------------------------------------------------------------->
Peter Bates, Systems Support Officer, Network Support Team.
London School of Hygiene & Tropical Medicine.
Telephone:0207-958 8353 / Fax: 0207- 636 9838 



More information about the MailScanner mailing list