Updated
Showing
2 changed files
with
59 additions
and
34 deletions
1 | 2002-11-19 Sergey Poznyakoff | ||
2 | |||
3 | * sieve/sieve.c: New options: --verbose to verbosely log executed | ||
4 | actions, --log-facility to switch all diagnostic output to | ||
5 | syslog. | ||
6 | * libsieve/comparator.c (i_ascii_numeric_is): Support for | ||
7 | :comparator i;ascii-numeric. Fixed handling of | ||
8 | :comparator i;ascii-casemap :matches and :contains. | ||
9 | Added i;ascii-numeric :is comparator. | ||
10 | * libsieve/runtime.c (sieve_message): New function. | ||
11 | * libsieve/sieve.y (sieve_machine_init,sieve_machine_destroy): | ||
12 | Fixed inconsistencies. | ||
13 | * libsieve/tests.c (_get_address_part): Made static to avoid | ||
14 | name clashes. | ||
15 | * libmu_scm/mu_address.c: Likewise. | ||
16 | * libsieve/util.c (sieve_slist_destroy): Use list_do. It is | ||
17 | faster. | ||
18 | |||
19 | * sieve/testsuite/lib/sieve.exp (sieve_test): Pass --verbose | ||
20 | switch to sieve. Added -retcode option. | ||
21 | |||
22 | * sieve/testsuite/scripts/i-casemap-contains.sv: New file. | ||
23 | * sieve/testsuite/scripts/i-casemap-is.sv: New file. | ||
24 | * sieve/testsuite/scripts/i-casemap-matches.sv: New file. | ||
25 | * sieve/testsuite/scripts/i-casemap-regex.sv: New file. | ||
26 | * sieve/testsuite/scripts/i-numeric-contains.sv: New file. | ||
27 | * sieve/testsuite/scripts/i-numeric-is.sv: New file. | ||
28 | * sieve/testsuite/scripts/i-octet-contains.sv: New file. | ||
29 | * sieve/testsuite/scripts/i-octet-is.sv: New file. | ||
30 | * sieve/testsuite/scripts/i-octet-matches.sv: New file. | ||
31 | * sieve/testsuite/scripts/i-octet-regex.sv: New file. | ||
32 | * sieve/testsuite/scripts/DISTFILES: Added scripts for testing | ||
33 | comparators. | ||
34 | |||
35 | * sieve/testsuite/sieve/i-casemap.exp: New file. | ||
36 | * sieve/testsuite/sieve/i-numeric.exp: New file. | ||
37 | * sieve/testsuite/sieve/i-octet.exp: New file. | ||
38 | * sieve/testsuite/sieve/DISTFILES: Added scripts for testing | ||
39 | comparators. | ||
40 | |||
41 | * testsuite/spool/sieve.mbox: Add X-Number header to msg 2 | ||
42 | for testing i;ascii-numeric comparator. | ||
43 | * sieve/testsuite/Redirect: Reflect changed headers in msg 2 | ||
44 | * sieve/testsuite/Reject: Likewise | ||
45 | * sieve/testsuite/sieve/action.exp: Likewise. | ||
46 | |||
47 | * testsuite/lib/mailutils.exp: Bugfix: always check for newline | ||
48 | after matched pattern. | ||
49 | |||
50 | * mail.local/Makefile.am: Added libsieve.la | ||
51 | * mail.local/mail.local.h: Include libsieve.h | ||
52 | * mail.local/main.c: Support for user-defined sieve filters. | ||
53 | Improved debugging. | ||
54 | |||
55 | * TODO: Updated. | ||
56 | |||
1 | 2002-11-18 Sergey Poznyakoff | 57 | 2002-11-18 Sergey Poznyakoff |
2 | 58 | ||
3 | * mailbox/mailer.c (mailer_get_url): New function. | 59 | * mailbox/mailer.c (mailer_get_url): New function. | ... | ... |
... | @@ -122,48 +122,17 @@ IMPORTANT: | ... | @@ -122,48 +122,17 @@ IMPORTANT: |
122 | 122 | ||
123 | [sieve] | 123 | [sieve] |
124 | 124 | ||
125 | - need to deal with the envelope addressing issues | 125 | + need to deal with the envelope addressing issues |
126 | |||
127 | + make sure there's a SV_DBG_ERR, so REAL info on errors gets printed | ||
128 | |||
129 | - add copyrights, including CMUs to the docs | ||
130 | |||
131 | + argp | ||
132 | |||
133 | - clean up diagnostics | ||
134 | - fileinto action dies badly when the mailbox lock failed | ||
135 | + make log function a callback | ||
136 | - get rid of the awful xalloc() | ||
137 | |||
138 | - need user contexts, and for the action_log to be only if verbose | ||
139 | 126 | ||
140 | - uid isn't good to identify messages, use message-id? | 127 | - uid isn't good to identify messages, use message-id? |
141 | 128 | ||
142 | - also need to provide context to the sv_*() functions (I could tuck | ||
143 | message number in it, and mailbox name). | ||
144 | |||
145 | - run as daemon, sieveing mail on arrival (need interface for notification | 129 | - run as daemon, sieveing mail on arrival (need interface for notification |
146 | of message arrival, this is supported by imap, but we'll have to fake | 130 | of message arrival, this is supported by imap, but we'll have to fake |
147 | for pop and local spools my polling, why can't you select() on a unix | 131 | for pop and local spools my polling, why can't you select() on a unix |
148 | file?) | 132 | file?) |
133 | Do we need it? mail.local already provides this functionality. | ||
149 | 134 | ||
150 | The 5 actions: | 135 | - Add loadable extention actions/tests/comparators. |
151 | |||
152 | + keep | ||
153 | |||
154 | + fileinto | ||
155 | |||
156 | + discard | ||
157 | |||
158 | + redirect | ||
159 | |||
160 | - reject (need to form MDNs) | ||
161 | |||
162 | Extention actions: | ||
163 | |||
164 | - REGEX | ||
165 | |||
166 | - vacation | ||
167 | 136 | ||
168 | [utilities] | 137 | [utilities] |
169 | 138 | ... | ... |
-
Please register or sign in to post a comment