I've found it handy when dealing with mailing lists and procmail recipes to sort them to use the headers the mailing list software adds... For the Debian lists I just key off the X-Mailing-List header which is present in any message actually coming from the list... For Mailman based lists I use List-Id instead... I find I don't have that bad of a problem with sorting...
Jeremy On Tue, Jan 22, 2002 at 10:54:00AM -0600, Keith G. Murphy wrote: > Dmitriy wrote: > > > > Just use "Resent-From: debian-user@lists.debian.org" header for > > sorting. Works for me. > > > For some reason, I chose to use 'Return-Path'. > Here's a goody from my .procmailrc, delivering to a different folder > depending on list: > > # Debian lists > :0 > * ^Return-Path: <bounce-\/debian-(user|news|[your choice...])= > * MATCH ?? debian-\/[^=]+ > | /usr/sbin/cyrdeliver -a $USER -m Debian.$MATCH $USER >