:0
* conditions
{
oldmaildir=$MAILDIR # save previous value
MAILDIR=name_of_maildir_for_this_message # make procmail cd to it
:0c:
./
:0ai
* LASTFOLDER ?? ()\/[^/]+^^
| mv $LASTFOLDER cur/$MATCH:2,S
MAILDIR=$oldmaildir # in case of fall-through, procmail should cd back
this is what the logabstract shows:
mv .//tmp/972247628.17704.merlin cur/972247628.17704.merlin:2 453
mv: .//tmp/972247628.17704.merlin: No such file or directory
i think it's because the message has, by now, been moved to new. so i think
we have to somehow amend $LASTFOLDER and substitute /new in place of /tmp.
should i do that with sed, or is there a nicer, more procmail way?
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