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

Re: Proper Virtual Package Selection for Althea



On Thu, Apr 26, 2001 at 05:58:52AM +1000, Anand Kumria wrote:
> On Wed, Apr 25, 2001 at 09:48:24PM +0200, Bas Zoetekouw wrote:
> > Hi Jimmy!
> > 
> > 
> > > but I don't have the time right now to remember how to write a procmail recipe
> > > to filter out the list into a separate folder to prevent my inbox from getting
> > > too large. (Any help on this would be appreciated as well.)
> 
> No doubt this will spark a large rash of emails helping. I may as well
> get in while I can.

Ehe, indeed ;)

> 
> > This will put all mail from debian-devel into a mailbox "Debian" (in the
> > default maildir):
> > 
> > :0
> > * ^x-loop:.*debian-devel@lists.debian.org
> > debian
> > 
> 
> A slight more generic one is:
> 
> 
> :0 
> * ^((List-Id|X-(Mailing-)?List):(.*[<]\/[^>]*))
> {
>         LISTID=$MATCH
> 
>         # all Debian things ...
>         :0: 
>         * LISTID ?? debian-\/[^@.]*
>         where/to/store/Debian/$MATCH
> }
> 
> Which you can then make use of if you happen to subscribe to other mailing
> lists which contain list-id (most) or x-mailing-list (a few).

This solution is very good; I just want to add that there is a *very
good* solution made by Edward Betts that comes with the devscripts
package; inside /usr/share/doc/devscripts/examples one can find the
.forward files for sendmail and exim and a wonderfull
debian.procmail.gz that is ready for immediate deployment; one just
needs to subscribe to the lists, it automagically creates a folder
inside a debian dir (e.g. debian/devel, debian/user, etc.).

The nice thing is that I have lost some time looking at it and I now
know some pretty handy things about making the rules, but there is no
real need to; it works out-of-the-box.

Just thought I should bring this up, because I see many requests on
procmail filters for debian lists and this one is very easy to install
and his already made (and only an 'apt-get install devscripts' away).

Best Regards,

fsm

-- 
Frederico S. Muñoz		GNU	http://www.gnu.org
fsmunoz@sdf.lonestar.org	Debian	http://www.debian.org

http://sdf.lonestar.org - SDF Public Access Unix Systems

Attachment: pgpZ76Lh7dct5.pgp
Description: PGP signature


Reply to: