Instead of placing spam in a separate folder by using Procmail, this can be performed by the e-mail client. Most e-mail clients allow rules or filters to be created. These typically come into action when new e-mail is read, or a folder is opened.
Rules in an e-mail client run on the value of an e-mail header. It is best to use the
X-Spam-Flag and search for the value
YES. The procedure to move tagged messages to a separate folder is outlined below:
X-Spam-Flagin the message headers.