postfix defer_transport

Pete pete at eatathome.com.au
Thu Dec 4 00:09:26 GMT 2003


Joe Stuart wrote:

>Ok so I have Maiscanner running with Postfix on a suse linux server that
>scans all the messages then forwards them off to a groupwise server. I
>set up Postfix and Mailscanner just like the Mailscanner insallation
>guide - Postfix says. But everytime I would send mail to it the maillog
>would say
>
>postfix/qmgr[15673]: EEBBA5A400A: to=<me at mydomain.com>, relay=none,
>delay=1, status=deferred (deferred transport)
>
>So I changed the line in /etc/postfix.in/main.cf from this
>
>defer_transports = smtp local virtual relay
>
>to
>
>defer_transports =
>
>and it now works, but I'm not comfortable with it not working like the
>website says. I am wondering if anyone could help me figure out why it's
>not working like it is supposed to.
>
>Thanks,
>Joe
>
>
>
>
>
So now mail isnt being scanned by mailscanner though is it? You need to
change the main.cf back.

1.Postfix (inbound) accepts mail for processing, it defers the incoming
mail eg - hold the mail and do nothing else,
2.MailScanner collect the mail and process it, place it in the outbound
queue,
3. Postfix.in (outbound) then discovers mail in the queue ready for
delivery, it does the smtp delivery.

A complete log entry looks like

Dec  4 11:15:35 mail01 postfix/smtpd[4713]: disconnect from
gizmo06bw.bigpond.com[144.140.70.16]
Dec  4 11:15:35 mail01 postfix/qmgr[25649]: EC38633BCD:
to=<user1 at domain1.com.au>, relay=none, delay=1, status=deferred
(deferred transport)
Dec  4 11:15:35 mail01 MailScanner[321]: New Batch: Scanning 1 messages,
3869 bytes
Dec  4 11:15:36 mail01 MailScanner[321]: SIGPIPE received - trying new
log socket
Dec  4 11:15:36 mail01 MailScanner[321]: New Batch: Scanning 1 messages,
3869 bytes
Dec  4 11:15:36 mail01 MailScanner[321]: Spam Checks: Starting
Dec  4 11:15:39 mail01 MailScanner[321]: Virus and Content Scanning:
Starting
Dec  4 11:15:41 mail01 postfix/qmgr[25659]: 2C474C6E1:
from=<mentalh at someone.net>, size=3680, nrcpt=1 (queue active)
Dec  4 11:15:41 mail01 MailScanner[321]: Uninfected: Delivered 1 messages
Dec  4 11:15:46 mail01 postfix/smtp[4728]: 2C474C6E1:
to=<user1 at domain1.com.au>, relay=203.00.00.90[203.00.00.90], delay=12,
status=sent (250 Message accepted for delivery)



More information about the MailScanner mailing list