Local delivery + Mailscanner
Johan.Hedlund at tietoenator.com
Johan.Hedlund at tietoenator.com
Mon Dec 11 14:50:15 GMT 2006
I've recently setup a configuration using Mailscanner + sendmail +
procmail and dovecot (imap), everything is running on the same server.
After a mail is scanned by mailscanner it's a huge delay for it to be
delivered (local deliver).
Dec 6 19:31:25 mail sendmail[5009]: kB6IVKsN005009: from=<johan at xxxx>,
size=960, class=0, nrcpts=1, msgid=<45770C78.1020709 at joh.se>, prot
o=ESMTP, daemon=MTA, relay=mxfep02.bredband.com [195.54.107.73]
Dec 6 19:31:27 mail MailScanner[4933]: New Batch: Scanning 1 messages,
1447 bytes
Dec 6 19:31:27 mail MailScanner[4933]: Spam Checks: Starting
Dec 6 19:31:42 mail MailScanner[4933]: Message kB6IVKsN005009 from
195.54.107.73 (johan at xxxx) to mailxxxxx.mine.nu is not spam, SpamAssass
in (score=0, required 6, autolearn=not spam)
Dec 6 19:31:42 mail MailScanner[4933]: Spam Checks completed at 94
bytes per second
Dec 6 19:31:42 mail MailScanner[4933]: Virus and Content Scanning:
Starting
Dec 6 19:31:44 mail MailScanner[4933]: Virus Scanning completed at 838
bytes per second
Dec 6 19:31:44 mail MailScanner[4933]: Uninfected: Delivered 1 messages
Dec 6 19:31:44 mail MailScanner[4933]: Virus Processing completed at
176850 bytes per second
Dec 6 19:31:44 mail MailScanner[4933]: Batch completed at 84 bytes per
second (1447 / 17)
Dec 6 19:31:44 mail MailScanner[4933]: Batch (1 message) processed in
17.08 seconds
Dec 6 19:32:52 mail sendmail[5048]: kB6IVKsN005009: to=jhd,
delay=00:01:27, xdelay=00:00:00, mailer=local, pri=120960, dsn=2.0.0,
stat=Sent
delay=00:01:27 ?!
It seems mailscanner can't deliver directly after scaning and that
leaves it up to sendmails queue-runner to finally deliver it, which
default might be 0-15 minutes.
I'm using the default dirs for mqueue in mailscanner and nothing special
in my sendmail.mc.
The /etc/procmailrc :
MAILDIR=$HOME/Maildir/
DEFAULT=$MAILDIR
I'm using MS 4.56.8 and sendmail 8.13.1.
If I run sendmail alone without Mailscanner the mail is delivered
instantly.
Regards,
Johan
More information about the MailScanner
mailing list