10 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Missing spam folder
FromSent OnAttachments
Bowie BaileyOct 28, 2004 7:07 am 
Jay LeeOct 28, 2004 7:40 am 
DinoOct 28, 2004 8:31 am 
Mitch (WebCob)Oct 30, 2004 4:50 pm 
Sam VarshavchikOct 30, 2004 6:38 pm 
Mitch (WebCob)Oct 31, 2004 12:36 am 
Bowie BaileyNov 1, 2004 7:58 am 
Jeff JansenNov 1, 2004 2:22 pm 
Sam VarshavchikNov 1, 2004 3:33 pm 
Bowie BaileyNov 2, 2004 1:39 pm 
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: [courier-users] Missing spam folderActions...
From:Jay Lee (jl@pbu.edu)
Date:Oct 28, 2004 7:40:22 am
List:net.sourceforge.lists.courier-users

Bowie Bailey said:

Will this cause his junk mail to go to his regular mailbox if the .Spam folder does not exist? Or will the attempted delivery prevent the default delivery from happening?

Bowie

Better yet, create the Spam folder if it doesn't exist, here's what I do:

if (/^X-Text-Classification:.*spam/) { #Create SPAM IMAP folder if they don't have one `test -d $MAILDIR/.-Spam-` if( $RETURNCODE == 1 ) { `maildirmake -f -Spam- $MAILDIR` `echo INBOX.-Spam- >> $MAILDIR/courierimapsubscribed` } exception { to "$MAILDIR/.-Spam-/." } }

Jay