I'm relatively new to the way procmail works with qmail. For the users who want the "spam" to be put into a separate structure of their mail home, I've created this procmailrc file:
:0: * ^X-Spam-Status: Yes ./Maildir/.Junk-Mail/
This works in that it puts the messages tagged as spam into the Junk-Mail folder, but it also puts a copy in their main Inbox as well.
I've run this with different delivery modes, dotonly(using .qmail), ldapwithprog(using deliveryProgramPath).. Both have the same effect.
If procmail matches a pattern(Spam-Status: Yes), is there a way to get qmail-ldap to not deliver locally?
Thanks, Mike Manders
