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

Re: Number of OT Posts



Andrew Myers wrote:
[somebody wrote "filter filter filter"
> When you're on the digest that is not an option.  Please consider us. :-(
Well, duh, you run some kind of *nix don't you ?

Assuming you have procmail and formail available, you set up a procmail
rule to feed the digests to formail, and from formail you get each
individual mail so you can filter them, e.g. with procmail. -s is the
option to formail to get it to split the digests.

Something like this in .procmailrc:

----
:0w
* ^Subject: <some-regex-to-recognize-debian-user-digests>
| formail -s some-script-or-app-to-filter
----
some-script-or-app-to-filter might be as simple as "sendmail
<your-local-mail-address>". In that case you do not need a script, you
just put the sendmail command directly in the procmail rule. Then you
can have a second set of filters either in procmailrc or in your MUA to
handle the individual mails according to subject or thread-id or whatever.

-- 
Håkon Alstadheim 	tlf: 74 82 60 27 mob: 47 35 39 38
7510 Skatval
http://alstadheim.priv.no/hakon/



Reply to: