On topic message about Off topic messages

Kurt Granroth kurt+plug-discuss at granroth.com
Mon Sep 29 20:11:21 MST 2008


This list tends to get off topic messages in groups.  Alas, when the OT
traffic gets pretty heavy, it's often pretty easy to miss on topic
messages buried in the mix.

Introducing a procmail script to deal with that!

:0:
* ^List-Id: Main PLUG discussion list <plug-discuss.lists.plug.phoenix.az.us>
* ^Subject:.*OT.*
$HOME/.plug-discuss\ \(OT\)/


A few notes on the implementation.  First, it only works with mail
sent directly to the list.  If you are CCed directly, then the List-Id
won't.  Typically, I want mail sent to me directly to go through
my inbox, though, so that's not a problem.  The Subject rule will
match any instance of OT... even if it's part of another word.  I
was tempted to put a regex in front and back to limit the matches but
didn't, since a) it wouldn't handle things like WayOT and the like
and b) I can't think of many cases where a subject would have OT
in an existing word, anyway.

Finally, I am using $HOME as my top-level mostly because of my virtual
user setup.  You'll likely want to discard that.  Also, the trailing
forward slash indicates that it's a maildir mailbox.  YMMV.

:-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 257 bytes
Desc: OpenPGP digital signature
Url : http://lists.PLUG.phoenix.az.us/pipermail/plug-discuss/attachments/20080929/2aabb068/attachment.pgp 


More information about the PLUG-discuss mailing list