I have set up Dovecot with public folders on a CentOS 6-server, with sendmail and spamassassin. I'm getting a lot of spam in both public folders and in the users inboxes. I want spamassassin / procmail to move the email marked as SPAM in a folders called SPAM: One public SPAM-folder (for all the public folders) , and one for every user.
How can I do this with spamassassin and procmail?