|author||Lars-Dominik Braun <firstname.lastname@example.org>||2012-02-25 18:09:20 +0100|
|committer||Lars-Dominik Braun <email@example.com>||2012-02-25 18:09:20 +0100|
2 files changed, 5 insertions, 4 deletions
@@ -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
@@ -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) */