On 10/05/01 10:54 PM, Andrew Edelstein sat at the `puter and typed:
On Sat, Oct 06, 2001 at 12:25:49AM -0400, Louis LeBlanc wrote:
:0
* EXTENSION ?? ^^webmaster^^
* ^Subject: .* returned mail: see transcript for details
{
EXTENSION=trash
}
I have seen the EXTENSION match fine in the log output, but the next
line never matches.
This is because it's trying to match "Subject: .* returned..."
That's "subject" followed by a space, followed by any number of any character
except newline, followed by another space, followed by "returned".
Try "^Subject:.*returned mail" (the rest is unnecessary.)
I have tried this with the uppercase R, with the subject truncated at
Procmail regexp matching in the headers is caseless, unless you use D.
Ahh. Ok, I get it now. Thanks! I actually found a couple other
recipes that were not quite right either.
Cheers
Lou
--
Louis LeBlanc leblanc(_at_)acadia(_dot_)ne(_dot_)mediaone(_dot_)net
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://acadia.ne.mediaone.net Ô¿Ô¬
Always leave room to add an explanation if it doesn't work out.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail