In the last episode (Jun 27), Steven W. Orr said:
> Dan I did some noodling last night but I'm really not good with C++.
> (I'm ok with C.) I'm pretty sure that the milter is not sending a
> reject back to sendmail.
> 
> Does it make sense to ask you to send me a better instrumented module
> to trace what's going on in that part of the program? I was just
> using printf statements but I suspect it would be better if all of
> the messages all went to one place (like syslog or all to stdout). In
> the meantime, I'm getting creamed here. :-(

You can add some -d flags:  "-d misc" will print a "queueid=" line for
each incoming message, and if you are running with a -r value greater
than 0, it will also print a "SA score:" line for each processed
message and a "Rejecting" line for each message above the -r value:

Jun 27 00:19:20 email1 spamass-milter[1393]: queueid=k5R5JHPX019845
Jun 27 00:19:23 email1 sm-mta[19845]: k5R5JHPX019845: from=<[EMAIL PROTECTED]>, 
size=6038, class=0, nrcpts=1, msgid=<[EMAIL PROTECTED]>, proto=ESMTP, 
daemon=MTA, relay=[208.46.210.7]
Jun 27 00:19:23 email1 spamd[11799]: spamd: connection from localhost 
[127.0.0.1] at port 54429
Jun 27 00:19:23 email1 spamd[11799]: spamd: processing message <[EMAIL 
PROTECTED]>
Jun 27 00:19:26 email1 spamd[11799]: spamd: identified spam (26.1/5.0) in 3.0 
seconds, 6694 bytes.
Jun 27 00:19:26 email1 spamd[11799]: spamd: result: Y 26 - 
BAYES_99,HTML_90_100,...
Jun 27 00:19:26 email1 spamass-milter[1393]: SA score: 26
Jun 27 00:19:26 email1 spamass-milter[1393]: Rejecting
Jun 27 00:19:26 email1 sm-mta[19845]: k5R5JHPX019845: Milter add: header: 
X-Spam-Flag: YES
Jun 27 00:19:26 email1 sm-mta[19845]: k5R5JHPX019845: Milter add: header: 
X-Spam-Status: Yes, score=26.1 required=5.0 tests=BAYES_99,HTML_90_100,...
Jun 27 00:19:26 email1 sm-mta[19845]: k5R5JHPX019845: Milter: data, reject=550 
5.7.1 Blocked by SpamAssassin
Jun 27 00:19:26 email1 sm-mta[19845]: k5R5JHPX019845: to=<[EMAIL PROTECTED]>, 
delay=00:00:05, pri=36038, stat=Blocked by SpamAssassin



-- 
        Dan Nelson
        [EMAIL PROTECTED]


_______________________________________________
Spamass-milt-list mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/spamass-milt-list

Reply via email to