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:Courier (Cour@light-hall.com)
Date:Jan 4, 2006 1:56:40 pm
List:net.sourceforge.lists.courier-maildrop

#vdir /var/spool/mail/vhosts/domain-name/user-name/Maildir/.Spam total 0 # But question - Why would they even go to: /var/spool/mail/vhosts/domain-name/user-name/Maildir/new if they were not in maildir format?

new/ tmp/ and cur/ are the maildir format. If those directories are not there, then your MDA doesn't want to automatically make them. I think you'll find that things will start working once you run these three commands:

rmdir /var/spool/mail/vhosts/domain-name/user-name/Maildir/.Spam maildirmake

/var/spool/mail/vhosts/domain-name/user-name/Maildir/.Spam

Should be:

maildirmake -f Spam /var/spool/mail/vhosts/domain-name/user-name/Maildir

===========================================

Thanks Devin & Todd...

Still the same symptoms:

Jan 4 13:36:11 xxxxx postfix/pipe[1053]: E92305A03F8: to=<user@domain-name.com>, relay=maildrop, delay=1, status=deferred (temporary failure. Command output: /etc/maildroprc(32): Syntax error. )

And the results of the two "vdir" commands...

# vdir -d .Spam/ drwx------ 5 vmail vgroup 4096 Jan 4 13:34 .Spam/ #

# vdir .Spam/ total 12 drwx------ 2 vmail vgroup 4096 Jan 4 13:34 cur -rw------- 1 vmail vgroup 0 Jan 4 13:34 maildirfolder drwx------ 2 vmail vgroup 4096 Jan 4 13:34 new drwx------ 2 vmail vgroup 4096 Jan 4 13:34 tmp #

And, once again the /etc/maildroprc

## ## /etc/maildroprc ## ## Global maildrop filter file ##

SHELL="/bin/bash" DEFAULT = "$HOME/Maildir"

logfile "/var/log/maildrop.log" VERBOSE="8" log "===== Start =====" `echo SHELL=$SHELL >> /var/log/maildrop.log` `echo HOME=$HOME >> /var/log/maildrop.log` `echo DEFAULT=$DEFAULT >> /var/log/maildrop.log` `echo MAILDIRQUOTA=$MAILDIRQUOTA >> /var/log/maildrop.log` `echo LOGNAME=$LOGNAME >> /var/log/maildrop.log` `echo SIZE=$SIZE >> /var/log/maildrop.log` if ( $SIZE < 26144 ) { exception { xfilter "/usr/bin/spamassassin" } }

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

If I comment out the "else" above - Mail (spam or otherwise) gets delivered to:

/var/spool/mail/vhosts/domain-name/user-name/Maildir/new

Should I just delete the directory structures and try again ??