> Is it possible to count recipients with Spamassassin? > > Some of the spam I receive has multiple recipients in To: > and/or CC: headers, i.e.: > > To: 1...@example.com, 2...@example.com, 3...@example.com > CC: 1...@example.com, 2...@example.com, 3...@example.com > > > I would like to count the number of recipients and assign > score accordingly. > > For example, when there are 5-10 recipients, assign 1 > point; 11 > recipients and more - assign 2 points. > > Is it possible with Spamassassin?
I think SA already assings a negative score for mail containing multiple similar looking recipients; it's a stock rule.