|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Gary Mort (gmlug
saplings.us)
Date: Sat Jun 23 2007 - 07:01:06 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I have a strange case where Spamc seems to drop an email
message(completely gone....*poof*) - I was wondering if anyone had run
across this before and what good strategies there are to avoid spamc
vanishing the email(perhaps a shell script wrapper to do the calling? I
also recently ran across a single incident of a timeout occuring, so if
there is a way to force a timeout of the exec in the shell script and
then continue processing that would be good)
Spamassassin is version 3.1.8 (I was unable to get 3.2 to run on the system)
Postfix is version 2.4.1
My spamassasin invocation line from master.cf is
spamassassin unix - n n - - pipe
flags=Rq user=nobody argv=/usr/local/bin/spamc -t 30 -U
/var/run/spamd.sock -u ${recipient} -e
/usr/sbin/sendmail -oi -f ${sender} ${recipient}
From what I can see in the log, the email comes in, it gets routed to
spamc, spamc connects to spamd, spamd declares the mail clean, and then
nothing.
I notice that NORMALLY in the logfile, following a SpamAssasin run(I
don't reject anything, tag only) I'll see an event processed from
pickup, such as:
Jun 22 00:16:26 mydomain postfix/qmgr[92974]: mail_flow_put: 1 1
Jun 22 00:16:26 mydoimain postfix/pickup[73906]: 6AAD11FB443A: uid=65534
from=<
sender
hisdomain.com>
Jun 22 00:16:26 tarisio postfix/cleanup[74577]: 6AAD11FB443A:
message-id=<2cb301c7b483$b7976e16$942e5a8a
hisdomain.com>
But in this case, there is no corresponding pickup, the mail just vanishes:
Jun 22 06:24:39 mydomain postfix/qmgr[92974]: master_notify: status 1
Jun 22 06:24:39 mydomain postfix/qmgr[92974]: qmgr_active_feed: queue
incoming
Jun 22 06:24:39 mydomain postfix/qmgr[92974]: qmgr_active_feed:
incoming/CA8051FB 4439
Jun 22 06:24:39 mydomain postfix/qmgr[92974]: qmgr_message_alloc: active
CA8051FB 4439
Jun 22 06:24:39 mydomain postfix/qmgr[92974]: CA8051FB4439:
from=<***
sender.com>, size=30850, nrcpt=2 (queue active)
Jun 22 06:24:39 mydomain postfix/qmgr[92974]: start sorted recipient list
Jun 22 06:24:39 mydomain postfix/qmgr[92974]: qmgr_message_sort:
****
mydomain.com
Jun 22 06:24:39 mydomain postfix/qmgr[92974]: qmgr_message_sort:
****
mydomain.com
Jun 22 06:24:39 mydomain postfix/qmgr[92974]: end sorted recipient list
Jun 22 06:24:39 mydomain postfix/qmgr[92974]: start sorted recipient list
Jun 22 06:24:39 mydomain postfix/qmgr[92974]: qmgr_message_sort:
****
mydomain.com
Jun 22 06:24:39 mydomain postfix/qmgr[92974]: qmgr_message_sort:
****
mydomain.com
Jun 22 06:24:39 mydomain postfix/qmgr[92974]: end sorted recipient list
Jun 22 06:24:39 mydomain postfix/qmgr[92974]: end sorted recipient list
Jun 22 06:24:39 mydomain postfix/qmgr[92974]: mail_flow_put: 1 1
Jun 22 06:24:39 mydomain postfix/qmgr[92974]: qmgr_transport_select:
spamassassin
Jun 22 06:24:39 mydomain postfix/qmgr[92974]: qmgr_active_drain:
allocate spamassassin
Jun 22 06:24:39 mydomain postfix/qmgr[92974]: connect to subsystem
private/spamassassin
Jun 22 06:24:39 mydomain postfix/qmgr[92974]: done incoming queue scan
Jun 22 06:24:39 mydomain postfix/qmgr[92974]: transport_event: spamassassin
Jun 22 06:24:39 mydomain postfix/qmgr[92974]: private/spamassassin
socket: wanted attribute: status
Jun 22 06:24:39 mydomain postfix/qmgr[92974]: input attribute name: status
Jun 22 06:24:39 mydomain postfix/qmgr[92974]: input attribute value: 0
Jun 22 06:24:39 mydomain postfix/qmgr[92974]: private/spamassassin
socket: wanted attribute: (list terminator)
Jun 22 06:24:39 mydomain postfix/qmgr[92974]: input attribute name: (end)
Jun 22 06:24:39 mydomain postfix/qmgr[92974]: qmgr_peer_select:
CA8051FB4439 spamassassin www.mydomain.com (1 of 5)
Jun 22 06:24:39 mydomain postfix/qmgr[92974]: qmgr_job_retire: CA8051FB4439
Jun 22 06:24:39 mydomain postfix/qmgr[92974]: send attr flags = 3
Jun 22 06:24:39 mydomain postfix/qmgr[92974]: send attr queue_name = active
Jun 22 06:24:39 mydomain postfix/qmgr[92974]: send attr queue_id =
CA8051FB4439
Jun 22 06:24:39 mydomain postfix/qmgr[92974]: send attr recipient_count = 2
Jun 22 06:24:39 mydomain postfix/qmgr[92974]: send attr
original_recipient = ****
mydomain.com
Jun 22 06:24:39 mydomain postfix/qmgr[92974]: send attr recipient =
****
mydomain.com
Jun 22 06:24:39 mydomain postfix/qmgr[92974]: send attr offset = 639
Jun 22 06:24:39 mydomain postfix/qmgr[92974]: send attr dsn_orig_rcpt =
rfc822;****
mydomain.com
Jun 22 06:24:39 mydomain postfix/qmgr[92974]: send attr notify_flags = 0
Jun 22 06:24:39 mydomain postfix/qmgr[92974]: send attr
original_recipient = ****
mydomain.com
Jun 22 06:24:39 mydomain postfix/qmgr[92974]: send attr recipient =
****
mydomain.com
Jun 22 06:24:39 mydomain postfix/qmgr[92974]: send attr offset = 722
Jun 22 06:24:39 mydomain postfix/qmgr[92974]: send attr dsn_orig_rcpt =
rfc822;****
mydomain.com
Jun 22 06:24:39 mydomain postfix/qmgr[92974]: send attr notify_flags = 0
Jun 22 06:24:39 mydomain postfix/qmgr[92974]: qmgr_deliver: site
`www.mydomain.com`
Jun 22 06:24:39 mydomain spamd[68882]: spamd: got connection over
/var/run/spamd.sock
Jun 22 06:24:39 mydomain spamd[68882]: spamd: processing message
<40CC42B1C0C58E48BF67101EE7448AC3341496
sender.com> for ****
mydomain.com:0
Jun 22 06:24:41 mydomain spamd[68882]: spamd: clean message (0.0/4.3)
for ****
mydomain.com:0 in 2.3 seconds, 30387 bytes.
Jun 22 06:24:41 mydomain spamd[68882]: spamd: result: . 0 - HTML_MESSAGE
scantime=2.3,size=30387,user=****
mydomain.com,uid=0,required_score=4.3,rhost=localhost
,raddr=127.0.0.1,rport=/var/run/spamd.sock,mid=<40CC42B1C0C58E48BF67101EE7448AC3
341496
sender.com>,autolearn=ham
Jun 22 06:24:41 mydomain postfix/pipe[80672]: CA8051FB4439:
to=<****
mydomain.com>, relay=spamassassin, delay=2.8,
delays=0.47/0.01/0/2.3, dsn=2.0.0, status=sent (delivered via
spamassassin service)
Jun 22 06:24:41 mydomain postfix/pipe[80672]: CA8051FB4439:
to=<****
mydomain.com>, relay=spamassassin, delay=2.8,
delays=0.47/0.01/0/2.3, dsn=2.0.0, status=sent (delivered via
spamassassin service)
Jun 22 06:24:41 mydomain postfix/qmgr[92974]: private/spamassassin
socket: wanted attribute: status
Jun 22 06:24:41 mydomain postfix/qmgr[92974]: input attribute name: status
Jun 22 06:24:41 mydomain postfix/qmgr[92974]: input attribute value: (end)
Jun 22 06:24:41 mydomain postfix/qmgr[92974]: private/spamassassin
socket: wanted attribute: diag_type
Jun 22 06:24:41 mydomain postfix/qmgr[92974]: input attribute name:
diag_type
Jun 22 06:24:41 mydomain postfix/qmgr[92974]: input attribute value: (end)
Jun 22 06:24:41 mydomain postfix/qmgr[92974]: private/spamassassin
socket: wanted
attribute: diag_text
Jun 22 06:24:41 mydomain postfix/qmgr[92974]: input attribute name:
diag_text
Jun 22 06:24:41 mydomain postfix/qmgr[92974]: input attribute value: (end)
Jun 22 06:24:41 mydomain postfix/qmgr[92974]: private/spamassassin
socket: wanted attribute: mta_type
Jun 22 06:24:41 mydomain postfix/qmgr[92974]: input attribute name: mta_type
Jun 22 06:24:41 mydomain postfix/qmgr[92974]: input attribute value: (end)
Jun 22 06:24:41 mydomain postfix/qmgr[92974]: private/spamassassin
socket: wanted attribute: mta_mname
Jun 22 06:24:41 mydomain postfix/qmgr[92974]: input attribute name:
mta_mname
Jun 22 06:24:41 mydomain postfix/qmgr[92974]: input attribute value: (end)
Jun 22 06:24:41 mydomain postfix/qmgr[92974]: private/spamassassin
socket: wanted attribute: action
Jun 22 06:24:41 mydomain postfix/qmgr[92974]: input attribute name: action
Jun 22 06:24:41 mydomain postfix/qmgr[92974]: input attribute value: (end)
Jun 22 06:24:41 mydomain postfix/qmgr[92974]: private/spamassassin
socket: wanted attribute: reason
Jun 22 06:24:41 mydomain postfix/qmgr[92974]: input attribute name: reason
Jun 22 06:24:41 mydomain postfix/qmgr[92974]: input attribute value: (end)
Jun 22 06:24:41 mydomain postfix/qmgr[92974]: private/spamassassin
socket: wanted attribute: status
Jun 22 06:24:41 mydomain postfix/qmgr[92974]: input attribute name: status
Jun 22 06:24:41 mydomain postfix/qmgr[92974]: input attribute value: 0
Jun 22 06:24:41 mydomain postfix/qmgr[92974]: private/spamassassin
socket: wanted
attribute: (list terminator)
Jun 22 06:24:41 mydomain postfix/qmgr[92974]: input attribute name: (end)
Jun 22 06:24:41 mydomain postfix/qmgr[92974]: qmgr_queue_unthrottle:
queue mydomain.com
Jun 22 06:24:41 mydomain postfix/qmgr[92974]: qmgr_active_done: CA8051FB4439
Jun 22 06:24:41 mydomain postfix/qmgr[92974]: CA8051FB4439: removed
Jun 22 06:24:41 mydomain postfix/qmgr[92974]: qmgr_job_free:
CA8051FB4439 spamassassin
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]