43 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] Help with /etc/maildr...
FromSent OnAttachments
CourierDec 29, 2005 5:46 pm 
Sam VarshavchikDec 29, 2005 6:25 pm 
Truong Tan SonDec 29, 2005 7:03 pm 
CourierDec 29, 2005 8:07 pm 
Truong Tan SonDec 29, 2005 8:18 pm 
CourierDec 29, 2005 8:50 pm 
Thorsten HaudeDec 30, 2005 1:28 am 
CourierDec 30, 2005 9:08 am 
Thorsten HaudeDec 30, 2005 9:34 am 
CourierDec 30, 2005 2:35 pm 
Todd LyonsDec 30, 2005 2:56 pm 
CourierDec 30, 2005 3:38 pm 
Todd LyonsJan 2, 2006 1:21 pm 
CourierJan 3, 2006 2:40 pm 
Devin RubiaJan 4, 2006 7:03 am 
Todd LyonsJan 4, 2006 8:07 am 
CourierJan 4, 2006 1:56 pm 
Todd LyonsJan 4, 2006 2:54 pm 
CourierJan 4, 2006 6:28 pm 
Devin RubiaJan 5, 2006 6:11 am 
CourierJan 5, 2006 11:28 am 
Devin RubiaJan 5, 2006 11:46 am 
CourierJan 5, 2006 1:01 pm 
Todd LyonsJan 5, 2006 1:20 pm 
Devin RubiaJan 5, 2006 1:21 pm 
CourierJan 5, 2006 3:06 pm 
Devin RubiaJan 6, 2006 6:23 am 
CourierJan 6, 2006 1:29 pm 
Devin RubiaJan 9, 2006 7:13 am 
CourierJan 9, 2006 2:08 pm 
Todd LyonsJan 9, 2006 3:54 pm 
CourierJan 9, 2006 4:32 pm 
Devin RubiaJan 10, 2006 9:02 am 
CourierJan 10, 2006 10:36 am 
Devin RubiaJan 10, 2006 11:46 am 
CourierJan 10, 2006 12:10 pm 
Devin RubiaJan 10, 2006 1:01 pm 
CourierJan 10, 2006 1:11 pm 
Devin RubiaJan 10, 2006 1:29 pm 
CourierJan 10, 2006 1:56 pm 
Devin RubiaJan 11, 2006 6:52 am 
CourierJan 11, 2006 7:29 am 
Devin RubiaJan 11, 2006 7:52 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [maildropl] Help with /etc/maildroprc fileActions...
From:Todd Lyons (tly@ivenue.com)
Date:Jan 9, 2006 3:54:49 pm
List:net.sourceforge.lists.courier-maildrop

On Mon, Jan 09, 2006 at 02:07:48PM -0800, Courier wrote:

if ( /^X-Spam-Status:[:space:]+Yes/ )

You know, you are putting that regex in to allow for something that I don't think will ever happen. There is only one space after that colon and there will probably always be one space after that colon. So in the interests of testing, and possibly a long term fix for you, how about this: if ( /^X-Spam-Status:[ ]Yes/ ) or if ( /^X-Spam-Status:.Yes/ )

Yields: MATCH= and (of course) goes to .Spam

So the regex match fails, but still ends up inside the loop. That's explained further down in your debug test. But obviously that's a problem that shouldn't be happening.

Tokenized ; Tokenized eof /etc/maildroprc(7): SHELL="/bin/bash" /etc/maildroprc(8): DEFAULT="/var/spool/mail/vhosts/domain-name.com.com/user-name/Maildir" /etc/maildroprc(10): Opening logfile /var/log/maildrop.log /etc/maildroprc(11): VERBOSE="8" Invalid regular expression, offset 15 of: ^X-Spam-Status:[:space:]+Yes: POSIX named classes are supported only within a class /etc/maildroprc(27): Syntax error in /pattern/.

That makes sense now. Experiment with the regex to see if you can get it to match using different methods as I suggested above.

So let's guess this is NOT good...did I leave something out of a compile or something ? We have something to troubleshoot now ?

I don't know, I assume you've googled for this to no avail. Maybe the other guy has some suggestions for that one. You definitely are doing something that the man page says is supported, so I'm not sure why it isn't working.