The majority of the mailing lists I'm on (such as SpamAssassin Talk) have a List-Unsubscribe: line in the headers. How can I add a rule that if there is a List-Unsubscribe: line in the headers, it lowers the score?
I'm not a PERL programmer and not familiar with unix expressions, but to show I'm willing to do some footwork, I think I need to add something like the following lines to /usr/share/spamassassin/20_head_tests.cf header HAS_UNSUB List-Unsubscribe =~ /*/ describe HAS_UNSUB Has a List-Unsubscribe: line Am I on the right track? Is the search for "List-Unsubscribe" case sensitive? (i.e. will it trigger if there is a list-unsubscribe: line?) - Jeff - P.S. I suppose I also need to add to 50_scores.cf a line like score HAS_UNSUB -4.0 P.P.S. I know many mailing lists have a bunch of List-*: header lines like List-Subscribe, List-Id, and List-Archive, but I've got a few that just have List-Unsubscribe. P.P.P.S. I've got SpamAssassin installed as the system administrator and accessible by the entire site. I'm assuming editing the files in /usr/share/spamassassin will affect filtering site wide. If I put files (20_head_tests.cf, 50_scores.cf, ...) in ~userX/.spamassassin/ would they only affect userX? (For example, to test the mods on myself first, before sticking them out on the enire site.) -- <Jeff Shepherd> <[EMAIL PROTECTED]> Patience comes to those who wait. -TMCM <http://www.aShep.com/> _______________________________________________________________ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [EMAIL PROTECTED] Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk