> -----Original Message----- > From: Roger Merchberger [mailto:[EMAIL PROTECTED]
[ ] > > 2) Is there any way of setting up logging to know which rules > are being hit & which ones aren't without grabbing all of the > message headers? I'd like to be able to profile which rules > are being hit the hardest & which aren't [ ] I run spamd with the -D switch, and it logs full debug output to my maillog file. Then I look for the line in the maillog that lists all the tests I hit, and identify and grep a unique string that appears on that line: (Lookit all the weeds! Thanks Jennifer!) # tail -f /var/log/maillog | grep required=5 Oct 12 20:21:37 spamassassin spamd[7196]: debug: is spam? score=-4.8 required=5 tests=BAYES_00,CLICK_BELOW Oct 12 20:22:59 spamassassin spamd[7201]: debug: is spam? score=28.542 required=5 tests=BAYES_99,FROM_ENDS_IN_NUMS,HTML_FONTCOLOR_UNKNOWN,HTML_FONT_INVISI BLE,HTML_MESSAGE,HTTP_ENTITIES_HOST,J_WEEDS_A,J_WEEDS_B,J_WEEDS_E,J_WEED S_H,J_WEEDS_I,J_WEEDS_J,J_WEEDS_N,J_WEEDS_O,J_WEEDS_P,J_WEEDS_R,J_WEEDS_ S,J_WEEDS_W,J_WEEDS_Z,MSGID_FROM_MTA_SHORT,RCVD_IN_DSBL,RCVD_IN_NJABL,RC VD_IN_NJABL_PROXY,RCVD_IN_RFCI,RCVD_IN_SORBS,RCVD_IN_SORBS_MISC,RCVD_IN_ SORBS_SMTP Oct 12 20:23:06 spamassassin spamd[7215]: debug: is spam? score=115.041 required=5 tests=BAYES_99,CLICK_BELOW,EXCUSE_6,FORGED_MUA_MOZILLA,HTML_70_80,HTML_F ONT_INVISIBLE,HTML_IMAGE_ONLY_04,HTML_LINK_CLICK_HERE,HTML_MESSAGE,MIME_ HEADER_CTYPE_ONLY,MIME_HTML_NO_CHARSET,MIME_HTML_ONLY,NORMAL_HTTP_TO_IP, RCVD_IN_SBL,RCVD_IN_SORBS,T_AM_SPAMMY_SENDER,USER_IN_BLACKLIST,W_ROT13_B _R -tom ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk