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
-- 
Jay Lee
Network / Systems Administrator
Information Technology Dept.
Philadelphia Biblical University
--


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to