Postfix support -- beta release

Julian Field mailscanner at ecs.soton.ac.uk
Wed Apr 16 10:35:38 IST 2003


I just tried
defer_transports = smtp, local, virtual
and it seemed happy with that syntax too. Might be worth a try.
If you stop MailScanner but leave the Postfix processes running, here's
what I get in my log.

Apr 16 09:33:23 tinker postfix/smtpd[24504]: connect from unknown[127.0.0.1]
Apr 16 09:33:33 tinker postfix/smtpd[24504]: 5434B24187:
client=unknown[127.0.0.1]
Apr 16 09:33:58 tinker postfix/cleanup[24505]: 5434B24187:
message-id=<20030416093333.5434B24187 at tinker.ecs.soton.ac.uk>
Apr 16 09:33:58 tinker postfix/nqmgr[24502]: 5434B24187:
from=<jkf at ecs.soton.ac.uk>, size=409, nrcpt=1 (queue active)
Apr 16 09:33:58 tinker postfix/nqmgr[24502]: 5434B24187:
to=<sysjkf at ecs.soton.ac.uk>, relay=none, delay=25, status=deferred
(deferred transport)
Apr 16 09:33:59 tinker postfix/smtpd[24504]: disconnect from unknown[127.0.0.1]

So you can see it going into the active queue, at which point it tries to
deliver via smtp. But that's set as a deferred transport so it pushes it
into the deferred queue instead.

Putting /etc/services into /var/spool/postfix/etc/services seems to be just
enough to let the smtp transport work.

I am running the RPM version of postfix-1.1.11-5 as shipped with RedHat 8
on this machine.

At 10:12 16/04/2003, you wrote:
>At 16:55 15/04/2003, you wrote:
>>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*
>
>4.15-3 shouldn't say that.
>
>
>>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)
>
>That's the first bit that's wrong. Can you send me your
>/etc/postfix.in/master.cf and main.cf (off-list). Also what version of
>Postfix are you running?
>
>>*Apr 15 16:38:57 hancock postfix/smtp[12868]: fatal: unknown service:
>>smtp/tcp*
>
>That's the chroot jail missing.
>
>>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
>
>Could you send me 1 or 2 of those if you can extract them before Postfix
>removes them?
>
>Looks like I've got some more work to do...
>--
>Julian Field
>www.MailScanner.info
>MailScanner thanks transtec Computers for their support

--
Julian Field
www.MailScanner.info
MailScanner thanks transtec Computers for their support



More information about the MailScanner mailing list