• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 604
  • Last Modified:

Procmail/SpamAssassin - How to move SPam marked messages to an imap folder

I tried to setup a rule on procmail to move the SPAM marked messages that were marked by SpamAssassin with the following code

MAILDIR=$HOME

:0:
* ^X-Spam-Status: Yes
spam

It created a file named spam, but what I wanted was IMAP folder that can be browsed by any imap client

Can that be done?

Thanks
0
ITMiami
Asked:
ITMiami
1 Solution
 
pablouruguayCommented:
i have the same setting and i can read with any imap client. yo need to specify the folder maybe

/home/username/mbox/spam
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now