[plug] Procmail question
Trevor Phillips
T.Phillips at murdoch.edu.au
Tue Aug 13 10:56:46 WST 2002
On Monday 12 August 2002 21:55, Michael Hunt wrote:
>
> Problem solved for you successfully then ???
Actually, not quite. ^_^
It seems to be executing the Subject Mangle bit fine, but then it ignores the
next Delivery line, falls through, and is delivered by another later match.
Have I stuffed up a flag or something? Here's the code I'm using again:
:0:$CYUSER.lock
* ^Subject:.*foo.*test
{
:0fhw
| /usr/bin/perl -pe '!/^(Subject:.*)\[FOO\]/s &&
s/^(Subject:\s*)(.*)$/${1}[FOO] $2/s;'
| $DELIVERMAIL -e -a $CYUSER -m $MAIN.FooFolder
}
--
. Trevor Phillips - http://jurai.murdoch.edu.au/ .
: Web Technical Administrator - T.Phillips at murdoch.edu.au :
| IT Services - Murdoch University |
>--------------------------------------------------------------------<
| On nights such as this, evil deeds are done. And good deeds, of /
| course. But mostly evil, on the whole. /
\ -- (Terry Pratchett, Wyrd Sisters) /
More information about the plug
mailing list