Alejandro Aguilar Sierra wrote:
Hello:

Are anyone using filters to distribute incomming e-mails to folders
(tipical example, to move suspected spam to a junk mail folder) using
maildrop, procmail or qtools?

Is there a way to automatically create some custom folders in case the
user doesn't have it already? For instannce, a new user that gets his
first spam.

The examples I have found are for Maildirs, not IMAPdirs. Any help?


Alejandro,

I use procmail, with filters like:

:0 :
* ^(To|Cc):.*freshmeat
INBOX.PROCESSED.Newsletters/

:0 :
* ^(To|Cc):.*Tikipro
INBOX.PROCESSED.Newsletters.TikiPro/

:0 :
* ^(To|Cc):.*binc
INBOX.PROCESSED.Newsletters.BincIMAP/


IMAPdirs are just extended Maildirs. See http://www.bincimap.org/bincimap-tech.html.


I don't know about automatically creating folders, though.


- Mike




Reply via email to