with a little bit of tweaking, this does exactly what i want:
<snip>
INBOX=$MAILDIR/inbox/
:0 c
$INBOX
:0 ai
* LASTFOLDER ?? ()\/[^/]+^^
| mv `echo $LASTFOLDER | sed -e 's/\/tmp\//\/new\//g'` "$INBOX/cur/$MATCH:2,S"
</snip>
i don't know this LASTFOLDER ? () ... wizardry so i defaulted to sed - maybe
someone can translate that to me. problem is that LASTFOLDER is set to two
arguments, the first being the message as it was written to ./tmp, the second
as it was written to ./new. i want mv to access the one in ./new and move it
to ./cur with the given postfix.
and while we are at it... how does this FOLDER ?? () ... hacking work again?
martin
madduck(_at_)madduck(_dot_)net
(greetings from the heart of the sun)
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail