Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a procmail setup and want to have a Spam folder that works with MUA's.

I found this tutorial but it doesn't work as expected.

I want to be able to open a mail client and see the Spam folder to deduce whether or not the messages are actually spam. How do I do this having a "default" Spam folder setup that can be read/accessed from mail clients like Thunderbird and Roundcube?

share|improve this question
up vote 2 down vote accepted

My original configuration was this (/etc/procmailrc):

# Move to spam folder
* ^X-Spam-Status: Yes

The working configuration is:

# Move to spam folder
* ^X-Spam-Status: Yes

Note, this is also a dovecot configuration. Once I did this MUA's are able to access the newly created folders.

More info:

share|improve this answer

You also have to make sure that the user is subscribed to the Spam folder, otherwise he will not see the folder in his MUA.

I use Courier and maildrop with this script that checks folder subscription in courierimapsubscribed file that Courier uses to keep track of subscribed folders. I guess there should be something similar for Dovecot and procmail.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.