[UFO Chicago] very newbie 'nix question

Nick Moffitt nick@zork.net
Sun, 27 Jan 2002 11:06:31 -0800


begin  Jordan Bettis  quotation:
> Hear Hear, I really can't stand it when people do that. For me, it's
> an even bigger annoyance, because my procmail sorts mail based
> primarily on what is in the To: header. When someone sends a follow to
> one of my mail messages, I get two copies in my spool directory, and
> none in the mailing list's mailbox.  Granted, I could double the size
> of my .procmailrc to make it sort by ether To: or Cc:, or deliver
> email from people who use mailers with that misfeature to the bit
> bucket.

Try this:

# Mailing list rules

:0:
* ^(X-list: |Sender: owner-|X-BeenThere: |Delivered-To: mailing list |X-(Mailing-)?List: <|X-Loop: )\/[^@/\.~>]+
inboxes/$MATCH

:0:
* ^Sender: \/[^@/\.~>]+-(request|approval)@
inboxes/$MATCH

	Catches most mailing list types, and will send at least one of
them to your list-based folder.

-- 
INFORMATION GLADLY GIVEN BUT SAFETY REQUIRES AVOIDING UNNECESSARY CONVERSATION
 
	01234567 <- The amazing* indent-o-meter! 
        ^	    (*: Indent-o-meter may not actually amaze.)