Jason wrote:
##################################################
# mail for procmail mailinglist
:0
* ^List-Id.*(procmail.lists.RWTH-Aachen.de)
.MailingLists.procmail/
| tag_green.sh "$LASTFOLDER"
# mail for another list...
##################################################
Gah... Now I get how TRAP works.
##################################################
# mail for procmail mailinglist
:0
* ^List-Id.*(procmail.lists.RWTH-Aachen.de)
{
TRAP='tag_green.sh "$LASTFOLDER"'
:0
.MailingLists.procmail/
}
##################################################
I'll probably save myself a bunch of rewriting, and just have one TRAP
assignment at the top of my mailinglist rules...
##################################################
# mail from me to a mailinglist
:0c
* ^From.*(@lakedaemon.net)
* ^List-Id.*
{
TRAP='tag_green.sh "$LASTFOLDER"'
}
# rest of my mailinglist rules...
##################################################
One last question. Since this is a delivery recipe, do I need the
"HOST" after this? The example you linked to didn't include it...
thx,
Jason.
____________________________________________________________
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