Go with your instinct and whip out a perl script, then,
filter your Yahoo Club mail headers, eg
########################################################################
:0fhw # filter headers
* ^From(_dot_)*clubsbot(_at_)yahoo(_dot_)com
| $HOME/perl/bin/yahooclub.pl
:0
* ^X-Yahoo.*Clubwhatever
Clubwhatever/.
########################################################################
The perl script will receive the headers from your mail, and
will insert a
X-Yahoo: Clubname
line into the header.
Jeff
jherazo(_at_)geocities(_dot_)com wrote:
Hi. I have a question i haven't found an answer for. If this message pops up
twice or more, please ignore the first as i was having some trouble here with
something i was trying (mutt+fetchmail+procmail+qmail, i think it's working
now, i hope :)
The Yahoo! Clubs interface allows to have the messages delivered to the e-mail
so you can check them without opening the browser and heading there. But it has
a (IMHO) braindead interface very unfriendly to list processors, as all the
mail
comes from clubs-mail(_at_)yahoo-inc(_dot_)com, and the only indicaton of the
group is in
the subject, added at the end as "[Yahoo! Clubs: The Name Of The Club]" (of
course, with the actual name of the club). I added manual checks for this in my
procmailrc, but after the 5th club, i wanted to do some filter that would pick
the name of the club, replace spaces with underscore chars, and use that as the
name of the maildir to deliver to, but i haven't been able to do this.
I know it's possible (perl has convinced me that everything is possible if you
know how :) , but i just don't know how to approach this except whiping out
some
perl script (but this isn't perl). Ideas?
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail