Bugzilla email spam filtering
October 31, 2008 – 9:10 amIf you’ve got a mailing list dedicated only to bugzilla traffic, you might find these rules useful to filter out any spam. Since the Subject field of these lists are so rigid, we can obviously tell which emails are spam.
Use the following rules in your mailman config:
Rule 1: Discard any emails flagged as spam
matches? ^X-Spam-Flag: YES action: discard
Rule 2: Accept any emails which fit our [BUG 1234..] subject header
matches? ^Subject:.*\[[bB][uU][gG]\s\d*\].* action: accept
Rule 3: Discard or hold the rest, they’re probably spam!
matches? ^Subject: *
action: {hold,discard}








3 Responses to “Bugzilla email spam filtering”
Seb,
people still use Bugzilla? I shouldn’t underestimate people’s capacity for self-harm.
I would have thought all open source software switched to Jira by now.
http://www.atlassian.com/software/jira/licensing.jsp#nonprofit
By Steve McLeod on Oct 31, 2008
Yes, I know, it’s quite something. I’m not sure of the reasons to sticking to bugzilla, but I imagine that it’s something along the lines of the immense amount of data gathered, familiarity etc.
We’ve been using some of Atlassian’s products, and they’re truly excellent. Moving to Jira would be wonderful.
By Seb on Oct 31, 2008
Hi Seb,
I’ve only configured the 2nd rule
matches? ^Subject:.*\[[bB][uU][gG]\s\d*\].*
action: accept
But still, a mail just arrived with this header and was held for moderation:
[Bug 173969] New: Apostroph-delimited strings in JavaScript are not higlighted
So it simply does not work. Maybe you can help here? #kate on IRC
By dhaumann on Oct 31, 2008