aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2012-02-25 18:09:20 +0100
committerLars-Dominik Braun <lars@6xq.net>2012-02-25 18:09:20 +0100
commitdf4a87e302a32e321debdadf461d49a7c6120c0a (patch)
tree63136ce1c7e621de937c11e16fdea527f1a5321c
parent1032603dedcc5e66765c2c33409f721bb1d9eb11 (diff)
downloadmaildirlearn-df4a87e302a32e321debdadf461d49a7c6120c0a.tar.gz
maildirlearn-df4a87e302a32e321debdadf461d49a7c6120c0a.tar.bz2
maildirlearn-df4a87e302a32e321debdadf461d49a7c6120c0a.zip
Documentation
-rw-r--r--README4
-rw-r--r--maildirlearn.c5
2 files changed, 5 insertions, 4 deletions
diff --git a/README b/README
index de650d8..8411e90 100644
--- a/README
+++ b/README
@@ -6,8 +6,8 @@ the local machine (i.e. you’re reading mail on your server) as well as remote
(i.e. you’re syncing your mail with mbsync/via IMAP).
There are two versions available: The first one is written in Python and the
-second one in C. Obviously the latter is more efficient while the first one is
-not vulnerable to buffer overflow bugs.
+second one in C. Obviously the latter is more efficient (less memory and CPU
+usage) while the first one is not vulnerable to buffer overflow bugs.
Both versions currently work for a single user/one maildir only. The mailbox
format is not supported.
diff --git a/maildirlearn.c b/maildirlearn.c
index d608bde..56eb9b0 100644
--- a/maildirlearn.c
+++ b/maildirlearn.c
@@ -26,10 +26,11 @@ THE SOFTWARE.
/* your maildir; must include trailing '/' */
#define WATCHDIR "mail/"
-/* paths you use for spam */
+/* paths you use for spam, POSIX extended regular expression */
#define SPAMDIRRE "mail/\\.Junk/"
-/* paths you want to exclude (temporary files, deleted mail, unsure) */
+/* paths you want to exclude (temporary files, deleted mail, unsure), POSIX
+ * extended regular expression */
#define EXCLUDERE "mail/(\\.Unsure/|[^/]+/(tmp|.*:2,[A-S]*T[U-Z]*$)|.*dovecot)"
/* bogofilter executable name or path (if not in PATH) */