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:Devin Rubia (dev@thezone.net)
Date:Jan 5, 2006 11:46:38 am
List:net.sourceforge.lists.courier-maildrop

On Thu, Jan 05, 2006 at 11:28:12AM -0800, Courier wrote:

Good catch, Devin ! I experimented with the end of maildroprc and I can now deliver to blah.blah/Maildir/new OR (which is new) blah.blah/Maildir/.Spam/new

BUT...as soon as I uncomment the "else" I get the syntax error...

Also - the first exception after the if is always taken, i.e. as it reads right now (below) it delivers my non-spam to "$DEFAULT" which is the "if" for spam ??

spamassassin scored 0.0 with a subject and body of 'Test 3 (Reverse)'

if ( /^X-Spam-Status: *Yes/ ) { exception { # to "$DEFAULT/.Spam" to "$DEFAULT" } } #else { exception { # to "$DEFAULT" to "$DEFAULT/.Spam" } }

I'm not getting this...it's like I can't spell 'else' I keep staring at it, and I've been known to type 'esle' but this isn't the case...

$ man maildropfilter (/IF)[SNIP] Note: The grammar of this if statement is stricter than usual. If you get baffling syntax errors from mail- drop, make sure that the braces, and the if statement, appear on separate lines. Specifically: the closing parenthesis, the closing braces, and the else state- ment, must be at the end of the line (comments are allowed), and there may not be any blank lines in between (not even ones containing comments only). [SNIP]

Try deleting the lines that are commented out.