You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Kris Vassallo <kr...@linuxcertified.com> on 2005/12/20 02:48:59 UTC

Something's looping?

I'm having a problem getting spamassassin up and running. When a message
comes into postfix it seems (from the logs) to get passed to
spamassassin, BUT, then the message never gets to the local delivery,
instead it keeps on (what seems to be) getting passed back to the mail
queue and then filtered again. I've tried a couple different ways of
implementing this, all with similar results. I am following the simple
configuration instructions posted on the spamassassin wiki. Here are my
details and log excerpt...

Spamassassin version: spamassassin-3.0.4
Postfix Version: postfix-2.1.5

I have the following in my master.conf, all paths have been confirmed:
smtp      inet  n       -       n       -       -       smtpd -o
content_filter=spamassassin
...
spamassassin
         unix   -       n       n       -       -       pipe
        user=filter argv=/usr/bin/spamc -e /usr/sbin/sendmail -oi -f
${sender} ${recipient}


Here is a log excerpt that would go on forever if I didn't change the
config back and then reload postfix:

:21:40 morpheus postfix/smtpd[8412]: 9EB8F1E304D1:
client=blackhole.hosting4less.com[65.200.22.9]
Dec 19 17:21:40 morpheus postfix/cleanup[8414]: 9EB8F1E304D1:
message-id=<29...@mail.gmail.com>
Dec 19 17:21:40 morpheus postfix/qmgr[8411]: 9EB8F1E304D1:
from=<te...@gmail.com>, size=1833, nrcpt=1 (queue active)
Dec 19 17:21:40 morpheus spamd[3128]: connection from
morpheus.domain.com [127.0.0.1] at port 41677
Dec 19 17:21:40 morpheus spamd[3128]: info: setuid to filter succeeded
Dec 19 17:21:40 morpheus spamd[3128]: processing message
<29...@mail.gmail.com> for
filter:634.
Dec 19 17:21:40 morpheus postfix/smtpd[8412]: disconnect from
blackhole.hosting4less.com[65.200.22.9]
Dec 19 17:21:43 morpheus spamd[3128]: clean message (1.6/5.0) for
filter:634 in 3.2 seconds, 1793 bytes.
Dec 19 17:21:43 morpheus spamd[3128]: result: .  1 -
AWL,HTML_00_10,HTML_MESSAGE,HTML_SHORT_LENGTH,RCVD_BY_IP,SUBJ_ALL_CAPS,TRACKER_ID scantime=3.2,size=1793,mid=<297d258e
0512191721s621f50acxc1859af235892a59@mail.gmail.com>,autolearn=no
Dec 19 17:21:44 morpheus sendmail[8416]: jBK1Lh74008416:
Authentication-Warning: morpheus.domain.com: filter set sender to
test-user@gmail.com using -f
Dec 19 17:21:44 morpheus sendmail[8416]: jBK1Lh74008416:
from=test-user@gmail.com, size=2056, class=0, nrcpts=1,
msgid=<297d258e0512191721s621f50acxc1859af235892a59@mail.gm
ail.com>, relay=filter@localhost
Dec 19 17:21:44 morpheus postfix/smtpd[8412]: connect from
morpheus.domain.com[127.0.0.1]
Dec 19 17:21:44 morpheus postfix/smtpd[8412]: 240621E31C68:
client=morpheus.domain.com[127.0.0.1]
Dec 19 17:21:44 morpheus postfix/cleanup[8414]: 240621E31C68:
message-id=<29...@mail.gmail.com>
Dec 19 17:21:44 morpheus sendmail[8416]: jBK1Lh74008416:
to=kris@morpheus.domain.com, ctladdr=test-user@gmail.com (634/634),
delay=00:00:01, xdelay=00:00:00, mailer=re
lay, pri=32056, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok:
queued as 240621E31C68)
Dec 19 17:21:44 morpheus postfix/qmgr[8411]: 240621E31C68:
from=<te...@gmail.com>, size=2603, nrcpt=1 (queue active)
Dec 19 17:21:44 morpheus postfix/smtpd[8412]: disconnect from
morpheus.domain.com[127.0.0.1]
Dec 19 17:21:44 morpheus postfix/pipe[8415]: 9EB8F1E304D1:
to=<kr...@morpheus.domain.com>, relay=spamassassin, delay=4, status=sent
(morpheus.domain.com)
Dec 19 17:21:44 morpheus postfix/qmgr[8411]: 9EB8F1E304D1: removed
Dec 19 17:21:44 morpheus spamd[3129]: connection from
morpheus.domain.com [127.0.0.1] at port 41679
Dec 19 17:21:44 morpheus spamd[3129]: info: setuid to filter succeeded
Dec 19 17:21:44 morpheus spamd[3129]: processing message
<29...@mail.gmail.com> for
filter:634.
Dec 19 17:21:44 morpheus spamd[3129]: clean message (1.6/5.0) for
filter:634 in 0.1 seconds, 2550 bytes.
Dec 19 17:21:44 morpheus spamd[3129]: result: .  1 -
AWL,HTML_00_10,HTML_MESSAGE,HTML_SHORT_LENGTH,RCVD_BY_IP,SUBJ_ALL_CAPS,TRACKER_ID scantime=0.1,size=2550,mid=<297d258e
0512191721s621f50acxc1859af235892a59@mail.gmail.com>,autolearn=no
Dec 19 17:21:44 morpheus sendmail[8419]: jBK1Li2d008419:
Authentication-Warning: morpheus.domain.com: filter set sender to
test-user@gmail.com using -f
Dec 19 17:21:44 morpheus sendmail[8419]: jBK1Li2d008419:
from=test-user@gmail.com, size=2550, class=0, nrcpts=1,
msgid=<297d258e0512191721s621f50acxc1859af235892a59@mail.gm
ail.com>, relay=filter@localhost
Dec 19 17:21:44 morpheus postfix/smtpd[8412]: connect from
morpheus.domain.com[127.0.0.1]
Dec 19 17:21:44 morpheus postfix/smtpd[8412]: 5BBAD1E31C49:
client=morpheus.domain.com[127.0.0.1]
Dec 19 17:21:44 morpheus postfix/cleanup[8414]: 5BBAD1E31C49:
message-id=<29...@mail.gmail.com>
Dec 19 17:21:44 morpheus sendmail[8419]: jBK1Li2d008419:
to=kris@morpheus.domain.com, ctladdr=test-user@gmail.com (634/634),
delay=00:00:00, xdelay=00:00:00, mailer=re
lay, pri=32550, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok:
queued as 5BBAD1E31C49)
Dec 19 17:21:44 morpheus postfix/qmgr[8411]: 5BBAD1E31C49:
from=<te...@gmail.com>, size=3104, nrcpt=1 (queue active)
Dec 19 17:21:44 morpheus spamd[3123]: connection from
morpheus.domain.com [127.0.0.1] at port 41681
Dec 19 17:21:44 morpheus spamd[3123]: info: setuid to filter succeeded
Dec 19 17:21:44 morpheus postfix/smtpd[8412]: disconnect from
morpheus.domain.com[127.0.0.1]
Dec 19 17:21:44 morpheus postfix/pipe[8418]: 240621E31C68:
to=<kr...@morpheus.domain.com>, relay=spamassassin, delay=0, status=sent
(morpheus.domain.com)
Dec 19 17:21:44 morpheus postfix/qmgr[8411]: 240621E31C68: removed
Dec 19 17:21:44 morpheus spamd[3123]: processing message
<29...@mail.gmail.com> for
filter:634.
Dec 19 17:21:44 morpheus spamd[3123]: clean message (1.6/5.0) for
filter:634 in 0.1 seconds, 3044 bytes.
Dec 19 17:21:44 morpheus spamd[3123]: result: .  1 -
AWL,HTML_00_10,HTML_MESSAGE,HTML_SHORT_LENGTH,RCVD_BY_IP,SUBJ_ALL_CAPS,TRACKER_ID scantime=0.1,size=3044,mid=<297d258e
0512191721s621f50acxc1859af235892a59@mail.gmail.com>,autolearn=no
Dec 19 17:21:44 morpheus sendmail[8421]: jBK1Li7u008421:
Authentication-Warning: morpheus.domain.com: filter set sender to
test-user@gmail.com using -f

Any idea what's going on with this? 
Thanks, 
Kris