IMAP Spam Folders
To have your Spam flagged email go to a different folder than your Inbox, do the following
then, edit your ~/.procmailrc to read the following:
MAILDIR=$HOME/.mail/ :0: * ^X-Spam-Status: Yes $HOME/.mail/.Spam/
In order to see your new Spam folder in your IMAP subsciption list, you should add the following to your ~/.mail/courierimapsubscribed
Your Spam should now automatically go to your Spam IMAP folder.