On 13/03/2003 Dave Stern - Former Rocket Scientist wrote: > It's theoretically possible but really messy. You'll still need an entry in > aliases for each list eg: > > listname: "|/usr/local/bin/procmail -m /etc/procmailrc" > and /etc/procmailrc will be rather universal, first running spamassassin > followed by something like
Yes, but this alias is also needed if I use no spamfilter. > :0 > |/etc/mailman/mail/wrapper post $LISTNAME > > the tricky part is figuring out how to pass it the $LISTNAME param. > The only way I know to get the listname is from some massive processing of > the message itself, probably parsing it from the List-Post: header (but only > if it exists ie what if you have other mbx'es on the list machine receiving > mail...) so if you do figure out how to do this, I'd love to see it. Mh, this is better: as alias: listname: "|/usr/local/bin/procmail -m LISTNAME=listname /etc/procmailrc" then you can use $LISTNAME in procmail. bye mejo -- Efficiency and progess is ours one more Now that we have the Neutron bomb It's nice and quick and clean and gets things done Kill kill kill kill kill the poor tonight ------------------------------------------------------ Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ This message was sent to: [EMAIL PROTECTED] Unsubscribe or change your options at http://mail.python.org/mailman/options/mailman-users/archive%40jab.org