Hi All, I've only recently discovered the world of regexps, so please bare with me. What I want to do is block messages whose subject starts with "[SPAM".
Mail to my server goes through spamassassin first - it alters mail that it thinks is spam by adding [SPAM xx.xx] to the start of the subject. What I'd like to do is get mailman to just automatically drop these messages. An example subject is something like this: Subject: [SPAM 07.49] Stop your computer from crashing, guaranteed! (btw, I've just copied and pasted this from mailmans administratrive requests page - there is a tab b/w the colon and the [ open bracket). Here are the different regexp's that I've tried, none seem to work. subject: .*\[SPAM* subject:.*\[SPAM* subject: .*[SPAM* subject:.*[SPAM* subject:*\[SPAM* subject: *\[SPAM* subject:\[SPAM* subject: \[SPAM* subject: [SPAM* subject: *[SPAM* subject:[SPAM* subject:*[SPAM* what am I doing wrong?? TIA David ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp