xsprite@bigfoot.com writes:
the majority of my procmail rules end up being for filtering out mailing lists into various folders. there seem to be four basic mailing list systems in wide spread use: ezml, majordomo, listserv (less now though) and mailman. so a general way of filtering each could be easily worked out.
Oh yes, they're quite easy to filter out in Gnus. The basic gist of it is:-
; once without ; RFC-compliant ("list-post" "mailto:\([-_a-zA-Z0-9]+\)@\([-_a-zA-Z0-9]+\)\..*" "list.\2.\1") ; ezmlm ("delivered-to" "mailing list \([-_a-zA-Z0-9]+\)@\([-_a-zA-Z0-9]+\)\..*" "list.\2.\1") ; mailman ("list-id" ".*<\(.+?\)\.\(.+?\)\..*" "list.\2.\1") ; listar ("x-list-id" ".*<\(.+?\)\.\(.+?\)\..*" "list.\2.\1") ; lyris ("x-mailing-list" "\b\([-_a-zA-Z0-9]+\)\b.\([-_a-zA-Z0-9]+\)\..*" "list.\2.\1") ; majordomo ("sender" ".*owner-\([-_a-zA-Z0-9]+\).\([-_a-zA-Z0-9]+\).*" "list.\2.\1")
Of course, this won't be the final form for mymailfilter (or whatever it ends up being called). I'm thinking of something a bit more versatile than just plain triples.