If 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 Comments
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
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.
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