2011/4/6 John Hardin <jhar...@impsec.org> > On Wed, 6 Apr 2011, David Touzeau wrote: > > I would like to create a rune in order to block messages that contains >> more than X recipients in Spamassassin from these fields >> >> To: >> CC: >> Bcc: >> >> This without any MTA help >> >> How can i do this >> > > Dang, I thought these were already in my sandbox: > > > describe TO_TOO_MANY To: too many recipients > header TO_TOO_MANY To =~ /(?:,[^,]{1,80}){30}/ > > describe TO_WAY_TOO_MANY To: too many recipients > header TO_WAY_TOO_MANY ToCc =~ /(?:,[^,]{1,80}){50}/ > > describe CC_TOO_MANY Cc: too many recipients > header CC_TOO_MANY Cc =~ /(?:,[^,]{1,80}){30}/ > > > Can you post an example of a populated BCC: header? > > BCC is useless because the sender MTA generates the copies, in the inbound MTA you will see 1 bcc at least.
> > -- > John Hardin KA7OHZ http://www.impsec.org/~jhardin/ > jhar...@impsec.org FALaholic #11174 pgpk -a jhar...@impsec.org > key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C AF76 D822 E6E6 B873 2E79 > ----------------------------------------------------------------------- > Gun Control laws aren't enacted to control guns, they are enacted > to control people: catholics (1500s), japanese peasants (1600s), > blacks (1860s), italian immigrants (1911), the irish (1920s), > jews (1930s), blacks (1960s), the poor (always) > ----------------------------------------------------------------------- > 7 days until Thomas Jefferson's 268th Birthday >