summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2002-11-19 14:06:34 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2002-11-19 14:06:34 +0000
commitc94510c25de948560f7a29199f6d7c92614eb434 (patch)
treeb778b5043041b5f699787abff20433b66b6961f0
parent6ed28e0a60638e6f4d744487c8745cb9fb4aaca7 (diff)
downloadmailutils-c94510c25de948560f7a29199f6d7c92614eb434.tar.gz
mailutils-c94510c25de948560f7a29199f6d7c92614eb434.tar.bz2
Updated
-rw-r--r--ChangeLog56
-rw-r--r--TODO37
2 files changed, 59 insertions, 34 deletions
diff --git a/ChangeLog b/ChangeLog
index ce0171d04..38398a9ec 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,59 @@
+2002-11-19 Sergey Poznyakoff
+
+ * sieve/sieve.c: New options: --verbose to verbosely log executed
+ actions, --log-facility to switch all diagnostic output to
+ syslog.
+ * libsieve/comparator.c (i_ascii_numeric_is): Support for
+ :comparator i;ascii-numeric. Fixed handling of
+ :comparator i;ascii-casemap :matches and :contains.
+ Added i;ascii-numeric :is comparator.
+ * libsieve/runtime.c (sieve_message): New function.
+ * libsieve/sieve.y (sieve_machine_init,sieve_machine_destroy):
+ Fixed inconsistencies.
+ * libsieve/tests.c (_get_address_part): Made static to avoid
+ name clashes.
+ * libmu_scm/mu_address.c: Likewise.
+ * libsieve/util.c (sieve_slist_destroy): Use list_do. It is
+ faster.
+
+ * sieve/testsuite/lib/sieve.exp (sieve_test): Pass --verbose
+ switch to sieve. Added -retcode option.
+
+ * sieve/testsuite/scripts/i-casemap-contains.sv: New file.
+ * sieve/testsuite/scripts/i-casemap-is.sv: New file.
+ * sieve/testsuite/scripts/i-casemap-matches.sv: New file.
+ * sieve/testsuite/scripts/i-casemap-regex.sv: New file.
+ * sieve/testsuite/scripts/i-numeric-contains.sv: New file.
+ * sieve/testsuite/scripts/i-numeric-is.sv: New file.
+ * sieve/testsuite/scripts/i-octet-contains.sv: New file.
+ * sieve/testsuite/scripts/i-octet-is.sv: New file.
+ * sieve/testsuite/scripts/i-octet-matches.sv: New file.
+ * sieve/testsuite/scripts/i-octet-regex.sv: New file.
+ * sieve/testsuite/scripts/DISTFILES: Added scripts for testing
+ comparators.
+
+ * sieve/testsuite/sieve/i-casemap.exp: New file.
+ * sieve/testsuite/sieve/i-numeric.exp: New file.
+ * sieve/testsuite/sieve/i-octet.exp: New file.
+ * sieve/testsuite/sieve/DISTFILES: Added scripts for testing
+ comparators.
+
+ * testsuite/spool/sieve.mbox: Add X-Number header to msg 2
+ for testing i;ascii-numeric comparator.
+ * sieve/testsuite/Redirect: Reflect changed headers in msg 2
+ * sieve/testsuite/Reject: Likewise
+ * sieve/testsuite/sieve/action.exp: Likewise.
+
+ * testsuite/lib/mailutils.exp: Bugfix: always check for newline
+ after matched pattern.
+
+ * mail.local/Makefile.am: Added libsieve.la
+ * mail.local/mail.local.h: Include libsieve.h
+ * mail.local/main.c: Support for user-defined sieve filters.
+ Improved debugging.
+
+ * TODO: Updated.
+
2002-11-18 Sergey Poznyakoff
* mailbox/mailer.c (mailer_get_url): New function.
diff --git a/TODO b/TODO
index 8b6ecb2b5..afec4772c 100644
--- a/TODO
+++ b/TODO
@@ -122,48 +122,17 @@ IMPORTANT:
[sieve]
-- need to deal with the envelope addressing issues
-
-+ make sure there's a SV_DBG_ERR, so REAL info on errors gets printed
-
-- add copyrights, including CMUs to the docs
-
-+ argp
-
-- clean up diagnostics
- - fileinto action dies badly when the mailbox lock failed
- + make log function a callback
- - get rid of the awful xalloc()
-
-- need user contexts, and for the action_log to be only if verbose
++ need to deal with the envelope addressing issues
- uid isn't good to identify messages, use message-id?
-- also need to provide context to the sv_*() functions (I could tuck
- message number in it, and mailbox name).
-
- run as daemon, sieveing mail on arrival (need interface for notification
of message arrival, this is supported by imap, but we'll have to fake
for pop and local spools my polling, why can't you select() on a unix
file?)
+ Do we need it? mail.local already provides this functionality.
-The 5 actions:
-
-+ keep
-
-+ fileinto
-
-+ discard
-
-+ redirect
-
-- reject (need to form MDNs)
-
-Extention actions:
-
-- REGEX
-
-- vacation
+- Add loadable extention actions/tests/comparators.
[utilities]

Return to:

Send suggestions and report system problems to the System administrator.