On Tue, May 27, 2003 at 04:20:55PM -0400, Birl wrote:
Given the numerous Yahoo! groups that Im subscribed to, I want to match
only the [.*] portion of the Subject line and file it accordingly.
I have a few filters already in place, but I want to throw this in a
catchall.
As David said, they don't all have such tags in the subject line. But
they *do* have other consistent and predictable stuff.
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"
--
Paul Chvostek
<paul(_at_)it(_dot_)ca>
Operations / Abuse / Whatever
it.canada, hosting and development http://www.it.ca/
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail