DragonFly BSD
DragonFly users List (threaded) for 2005-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: procmail recipe


From: "George Georgalis" <george@xxxxxxxxx>
Date: Mon, 7 Mar 2005 11:11:53 -0500

On Sun, Mar 06, 2005 at 05:03:28PM -0500, Justin C. Sherrill wrote:
>> I've tried working out a procmail recipe, but this one is tough. I think
>> it requires a separate program to do the second check but I'd like to
>> figure a way to do it on a (procmail) command line. Either way someone
>> what to give a shot?
>>
>> Plan: deliver list postings from specific addresses to a special
>> maildir, and also deliver any list postings that are replies to those
>> address to the special maildir.
>
>This is a shortened version of what I had working for my first draft of
>the mail archive for the lists, before I switched to pulling the entries
>from the news server.

Interesting method, but not exactly for what I'm trying to do. I also
use TO_ for regular list sorting. But now I want to "deliver list
postings from specific addresses", ie userIdontlike@xxxxxxxxxxxxxxx, to
a special maildir, separate from the regular list postings, easy enough:

:0
* ^Sender.*crater.dragonfly.com
* ^From.*userIdontlike@xxxxxxxxxxxxxxx
dragonfly-special/

The hard part is filtering all the replies (ie all the messages that
have a mesgid in their References: header that matches a mesgid of a
mail filtered to dragonfly-special/. :-\

// George


-- 
George Georgalis, systems architect, administrator Linux BSD IXOYE
http://galis.org/george/ cell:646-331-2027 mailto:george@xxxxxxxxx



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]