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

Re: Procmail Recipe for Debian Lists



Benjamin Pharr wrote:
> I want a recipe that will look for anything from
> lists.debian.org, put everything before the '@' into $MATCH and send the
> message to ~/Mail/debian/$MATCH. Can anyone help me out. Thanks!

Something like:

:0
* ^X-Mailing-List: \/.*
{
  T="`echo $MATCH | sed -e 's/^<\?\([^@>]*\)[@>].*$/\1/g' -e 's/[\.<>\?\/\*]/_/g' -e 's,^debian-,debian/,'`"0 a
  $MAILDIR/$T
}

perhaps?


	Ivo

-- 
Pooky, you sure know how to spoil a good bad mood!
	- Garfield



Reply to: