Hi all,
I have this funny problem at home. I download my mail using fetchmail.
Postfix is setup through yast2, using dialup, with virus scanning enabled. I
added mailbox_command = procmail later on, but only after I noticed the
problem.
When the mail first comes in it gets deferred. Log says:
Mar 29 02:22:57 sigaar postfix/smtpd[6454]: connect from localhost[127.0.0.1]
Mar 29 02:22:57 sigaar postfix/smtpd[6454]: 3FE033687A:
client=localhost[127.0.0.1]
Mar 29 02:22:57 sigaar postfix/cleanup[6456]: 3FE033687A:
message-id=<200403290222.38426.hans@ananzi.co.za>
Mar 29 02:22:57 sigaar postfix/qmgr[6183]: 3FE033687A:
from=, size=2162, nrcpt=1 (queue active)
Mar 29 02:22:57 sigaar postfix/qmgr[6183]: 3FE033687A:
to=, orig_to=, relay=none,
delay=0, status=deferred (deferred transport)
Mar 29 02:22:57 sigaar postfix/smtpd[6454]: disconnect from
localhost[127.0.0.1]
Then all I need to do is postqueue -f and the mail goes through:
Mar 29 02:26:51 sigaar postfix/qmgr[6183]: 3FE033687A:
from=, size=2162, nrcpt=1 (queue active)
Mar 29 02:26:52 sigaar amavis[6195]: (06195-10) ESMTP::10024 /var/spool/
amavis/amavis-20040329T021556-06195: ->
Received: SIZE=2162 BODY=7BIT from sigaar.local
([127.0.0.1]) by localhost (sigaar [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id 06195-10 for ; Mon, 29 Mar 2004
02:26:52 +0200 (SAST)
Mar 29 02:26:52 sigaar amavis[6195]: (06195-10) Checking:
->
Mar 29 02:26:53 sigaar amavis[6195]: (06195-10) spam_scan: hits=-0.4
tests=USER_AGENT_KMAIL
Mar 29 02:26:53 sigaar amavis[6195]: (06195-10) FWD via SMTP:
[127.0.0.1:10025] ->
Mar 29 02:26:53 sigaar postfix/smtpd[6532]: connect from localhost[127.0.0.1]
Mar 29 02:26:53 sigaar postfix/smtpd[6532]: 5EBA738AC3:
client=localhost[127.0.0.1]
Mar 29 02:26:53 sigaar postfix/cleanup[6534]: 5EBA738AC3:
message-id=<200403290222.38426.hans@ananzi.co.za>
Mar 29 02:26:53 sigaar postfix/qmgr[6183]: 5EBA738AC3:
from=, size=2485, nrcpt=1 (queue active)
Mar 29 02:26:53 sigaar amavis[6195]: (06195-10) Passed, ->
, Message-ID:
<200403290222.38426.hans@ananzi.co.za>, Hits: -0.4
Mar 29 02:26:53 sigaar amavis[6195]: (06195-10) TIMING [total 1564 ms] - SMTP
EHLO: 3 (0%), SMTP pre-MAIL: 1 (0%), SMTP pre-DATA-flush: 4 (0%), SMTP DATA:
48 (3%), body hash: 1 (0%), mime_decode: 22 (1%), get-file-type: 107 (7%),
decompose_part: 2 (0%), parts: 0 (0%), AV-scan-1: 788 (50%), SA msg read: 3
(0%), SA parse: 3 (0%), SA check: 100 (6%), fwd-connect: 233 (15%),
fwd-mail-from: 40 (3%), fwd-rcpt-to: 73 (5%), write-header: 7 (0%), fwd-data:
0 (0%), fwd-data-end: 121 (8%), fwd-rundown: 2 (0%), unlink-1-files: 6 (0%),
rundown: 1 (0%)
Mar 29 02:26:53 sigaar amavis[6195]: (06195-10) tempdir being removed: /var/
spool/amavis/amavis-20040329T021556-06195
Mar 29 02:26:53 sigaar postfix/smtp[6529]: 3FE033687A:
to=, orig_to=,
relay=localhost[127.0.0.1], delay=236, status=sent (250 2.6.0 Ok,
id=06195-10, from MTA: 250 Ok: queued as 5EBA738AC3)
Mar 29 02:26:53 sigaar postfix/smtpd[6532]: disconnect from
localhost[127.0.0.1]
Mar 29 02:26:53 sigaar spamd[4019]: connection from localhost [127.0.0.1] at
port 1406
Mar 29 02:26:53 sigaar spamd[6541]: info: setuid to hans succeeded
Mar 29 02:26:53 sigaar spamd[6541]: processing message
<200403290222.38426.hans@ananzi.co.za> for hans:500.
Mar 29 02:26:54 sigaar spamd[6541]: clean message (-0.4/5.0) for hans:500 in
0.3 seconds, 2602 bytes.
Mar 29 02:26:54 sigaar postfix/local[6536]: 5EBA738AC3:
to=, relay=local, delay=1, status=sent ("|/usr/
bin/procmail -a "$EXTENSION"")
Why do I need to hit postqueue -f first? I've tried uncommenting various
lines from main.cf and master.cf, without any luck. Switching off virus
scanning and/or setting it up as "no connection" does not help at all.
Any ideas?
Thanks
Hans