Louis LeBlanc <leblanc+procmail(_at_)acadia(_dot_)ne(_dot_)mediaone(_dot_)net>
writes:
On 06/15/01 07:28 PM, Philip Guenther sat at the `puter and typed:
...
However, it's not clear why you would use TRAP here instead of just
putting in real recipes. When this came up on bugtraq last July,
Dylan Griffiths <Dylan_G(_at_)bigfoot(_dot_)com> and I worked up the
following:
LOGNAME = $1
EXTENSION = $2
:0 w
* EXTENSION ?? .
| /usr/cyrus/bin/deliver -a "$LOGNAME" -e -q -m "$EXTENSION" --
"$LOGNAME"
# Only if there was no extension do we try this
:0 wE
| /usr/cyrus/bin/deliver -a "$LOGNAME" -e -q -- "$LOGNAME"
# Whichever one we tried, failed
EXITCODE = $?
HOST
...
So what are these recipes supposed to do? are they basic deliveries
to the mailbox?
Yes. These recipes will deliver the message to the correct folder.
If so, where should I put my recipe to add the Lines: header?
Before these recipes.
Philip Guenther
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail