Patrick Shanahan <ptilopteri(_at_)gmail(_dot_)com> writes:
* Xavier Maillard <xma(_at_)gnu(_dot_)org> [01-24-09 04:48]:
I am trying to have a "general" recipe to do something based on
the X-BeenThere header.
Say I have a header like this one:
X-BeenThere: lolica(_at_)lolica(_dot_)org
I want procmail to "automagically" store any messages to this
list into list.org.lolica.lolica
If the header refers to clsql(_at_)b9(_dot_)com, I want list.com.b9.clsql
etc...
# -------------------------------------------------------
:0:
* ^X-BeenThere:(_dot_)*lolica(_at_)lolica(_dot_)org
$MAILDIR/list.org.lolica.lolica
# -------------------------------------------------------
# -------------------------------------------------------
:0:
* ^X-BeenThere:(_dot_)*clsql(_at_)b9(_dot_)com
$MAILDIR/list.com.b9.clsql
# -------------------------------------------------------
Thank you but this is not general. I want a "generic" rule where
I have just one rule for all lists. The way you are doing it is
like my sieve scripts.
Xavier
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail