Spam to LFS lists - something constructive

Declan Moriarty declan.moriarty at ntlworld.ie
Fri Oct 1 02:04:47 PDT 2004


header LFS        To:addr =~ /(\b\S+?\@linuxfromscratch\.\w{2,6}\b)/
describe LFS                      Edited spam to LFS lists

I have been running that regex here and observing since the question of
regexes came up  (? 6 weeks ago?).

The above one nicely catches all spam to LFS lists. The key is the two
instances of \b which apparently (After addresses have been mangled by
being gathered into a variable) picks out edited ones and ignores the
ones sent by a mailer. The 'To:addr' variable holds the to & cc
adresses. It works whether blfs-support is a "To:" or "Cc:" entry.

It false triggers on mailing list notices (from ezmlm, majordomo, etc).
It does not show on normal mail. It is quite cute in that it catches
unseen characters.

It may well be version dependant. So my versions are SA-2.63, &
perl-5.6.1. Score it at up to half your threshold when you 'run it in'.

-- 

	With best Regards,


	Declan Moriarty.



More information about the blfs-support mailing list