procmail
[Top] [All Lists]

Re: Filtering Yahoo! groups using $MATCH on subject line

2003-05-27 21:32:38
On Tuesday, May 27, 2003, at 19:49 Canada/Mountain, Paul Chvostek wrote:
If you really want, you can upgrade your inbound Yahoo groups mail to
RFC2369 using something like this:

:0 E
* ^Delivered-To: mailing list \/[a-z0-9(_dot_)-]+(_at_)yahoogroups(_dot_)com
* MATCH ()\/[^(_at_)]+
| formail \
   -a"List-Post: ${MATCH}(_at_)yahoogroups(_dot_)com" \
   -a"List-Help: ${MATCH}-owner(_at_)yahoogroups(_dot_)com" \
   -a"List-Archive: http://groups.yahoo.com/group/${MATCH}/"; \
   -a"List-Subscribe: ${MATCH}-subscribe(_at_)yahoogroups(_dot_)com" \
   -a"List-Unsubscribe: ${MATCH}-unsubscribe(_at_)yahoogroups(_dot_)com"

Ah, that's clever!  Never even occurred to me to do that!

--
"Don't be nice.  It's Creepy."  Tendo Akane


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail