"Fossies" - the Fresh Open Source Software Archive 
Member "courier-1.2.2/libs/imap/ChangeLog" (17 Feb 2023, 123729 Bytes) of package /linux/misc/courier-1.2.2.tar.bz2:
As a special service "Fossies" has tried to format the requested text file into HTML format (style:
standard) with prefixed line numbers.
Alternatively you can here
view or
download the uninterpreted source code file.
See also the latest
Fossies "Diffs" side-by-side code changes report for "ChangeLog":
1.2.1_vs_1.2.2.
1 5.2.2
2
3 2023-02-14 Sam Varshavchik <mrsam@courier-mta.com>
4
5 * imapd.c (append): No longer accept a non-standard single
6 flag name instead of a parenthesized flag list to APPEND, due to
7 ambiguity with the UTF8 extension.
8
9 5.2.1
10
11 2022-12-17 Sam Varshavchik <mrsam@courier-mta.com>
12
13 * tcpd/libcouriertls.c (load_dh_params): OpenSSL 3 does not
14 report an error when PEM_read_bio_Parameters_ex does not find
15 any DH parameters, handle that.
16
17 * Makefile: fix broken conversion from absolute to relative symlinks.
18 5.2.0
19
20 2022-11-28 Sam Varshavchik <mrsam@courier-mta.com>
21
22 * Switch to libidn2.
23
24 * Debian/Ubuntu: update lintian overrides
25
26 2022-11-23 Sam Varshavchik <mrsam@courier-mta.com>
27
28 * make install: replace absolute links with relative links.
29
30 5.1.9
31 * Adjust deb packaging. Check /etc/lsb-release and include the
32 distribution release in the deb package version, to faciliate
33 updating to the same version of the package in an updated release.
34
35 Fix build dependencies.
36
37 5.1.8
38
39 2022-05-22 Sam Varshavchik <mrsam@courier-mta.com>
40
41 * gcc 12 and autotools update. OpenSSL 3.0 update.
42
43 2022-04-17 Sam Varshavchik <mrsam@courier-mta.com>
44
45 * courier, courier-imap: remove the --disable-root-check configure
46 option, now that make check can deal with it.
47
48 2022-04-14 Sam Varshavchik <mrsam@courier-mta.com>
49
50 * Add scripts to create installable .deb packages, update
51 documentation.
52
53 2022-03-03 Sam Varshavchik <mrsam@courier-mta.com>
54
55 * imap/authenticate_auth.c: Fix broken SASL authentication.
56
57 2022-01-23 Sam Varshavchik <mrsam@courier-mta.com>
58
59 * Adjust behavior of inherited ACLs. After deleting and recreating
60 a folder, have the recreated folder inherit its parent folder's ACLs,
61 normally, instead of mysteriously restoring whatever ACLs the folder
62 had when it was deleted.
63
64 2022-01-22 Sam Varshavchik <mrsam@courier-mta.com>
65
66 * Fixes to Makefile to workaround test suite failures related to
67 permission checking when make check runs as root.
68
69 2022-01-17 Sam Varshavchik <mrsam@courier-mta.com>
70
71 * Fix minor memory leaks.
72
73 5.1.7
74
75 2022-01-16 Arjen de Korte <build+github@de-korte.org>
76
77 * Fix linking failure on some Linux distributions.
78
79 5.1.6
80
81 2022-01-16 Sam Varshavchik <mrsam@courier-mta.com>
82
83 * Fix linking failure on some Linux distributions.
84
85 5.1.5
86
87 2022-01-16 Sam Varshavchik <mrsam@courier-mta.com>
88
89 * Fix minor memory leaks. If valgrind is installed, "make check" will
90 run it to check for memory leaks.
91
92 * Convert to PCRE2.
93
94 2022-01-15 Sam Varshavchik <mrsam@courier-mta.com>
95
96 * libcouriertls: use ALARM to kill couriertls if the server process
97 terminates but openssl hangs trying to shut down the socket.
98
99 5.1.4
100
101 2021-08-01 Sam Varshavchik <mrsam@courier-mta.com>
102
103 * imapd.c (bye): Just call exit(), we may be in an inconstent state.
104
105 2021-06-15 Sam Varshavchik <mrsam@courier-mta.com>
106
107 * pop3login: use unbuffered reads, handle our own buffering.
108
109 2021-05-21 Sam Varshavchik <mrsam@courier-mta.com>
110
111 * Minor code tweaks, make it compleable with -Wall -Werror.
112
113 5.1.3
114
115 2021-04-01 Sam Varshavchik <mrsam@courier-mta.com>
116
117 * pop3d: pro-forma POP3 LANG extension.
118
119 2021-03-28 Sam Varshavchik <mrsam@courier-mta.com>
120
121 * pop3d-ssl.dist.in (TLS_STARTTLS_PROTOCOL): Remove duplicate entry
122 in the pop3d-ssl configuration file.
123
124 5.1.2
125
126 2021-03-25 Sam Varshavchik <mrsam@courier-mta.com>
127
128 * make*: Individual files that did not end in a newline were
129 not handled correctly.
130
131 * imap: adjust error message.
132
133 5.1.1
134
135 2021-03-20 Arjen de Korte <build+github@de-korte.org>
136
137 * Fix TLS_CACHEfile naming mismatch.
138
139 5.1.0
140
141 2021-02-23 Sam Varshavchik <mrsam@courier-mta.com>
142
143 * Implement support for the TLS ALPN extension.
144
145 2021-02-18 Sam Varshavchik <mrsam@courier-mta.com>
146
147 * Replace FAM/Gamin with inotify.
148
149 * Install the maildirwatch tool.
150
151 * Remove the IMAP_ENHANCEDIDLE setting from the imapd configuration
152 file.
153
154 * Update RPM spec file.
155
156 5.0.13
157
158 2021-03-01 Sam Varshavchik <mrsam@courier-mta.com>
159
160 * Fix handling of bad DNS queries
161
162 5.0.12
163
164 2020-12-06 Sam Varshavchik <mrsam@courier-mta.com>
165
166 * openssl: Add TLS_PROTOCOL setting to disable client-initiated
167 renegotiation.
168
169 2020-11-30 Sam Varshavchik <mrsam@courier-mta.com>
170
171 * imap: send corrupted Unicode alerts only for new messages.
172
173 2020-11-04 Sam Varshavchik <mrsam@courier-mta.com>
174
175 * spec file: add BuildRequires: %{__make} (will be required in F34).
176
177 2020-10-27 Sam Varshavchik <mrsam@courier-mta.com>
178
179 * waitlib: fix testwait.c failure with LTO enabled on F33.
180
181 * pop3login.c: fflush before STARTLS.
182
183 5.0.11
184
185 2020-05-18 Sam Varshavchik <mrsam@courier-mta.com>
186
187 * courier-authlib API update.
188
189 2020-04-21 Sam Varshavchik <mrsam@courier-mta.com>
190
191 * Add AC_PROG_CC_C99 to configure
192 5.0.10
193
194 2020-02-25 FlorianMickler <florian@mickler.org>
195
196 * tcpd/starttls.c (dossl): Start client after negotiating SSL,
197 in order to allow EXTERNAL client certificate authentication.
198
199 2019-12-05 Sam Varshavchik <mrsam@courier-mta.com>
200
201 * Fix virtual IP and hostname handling when using GnuTLS for SSL.
202
203 2019-09-05 Sam Varshavchik <mrsam@courier-mta.com>
204
205 * imap, pop3: include remote port TCP port number together with the
206 IP address, in log messages.
207
208 5.0.8
209
210 2019-08-28 Sam Varshavchik <mrsam@courier-mta.com>
211
212 * Update documentation in the imapd and pop3d ssl config flies.
213
214 * Fix the RPM spec file for CentOS 7
215
216 5.0.7
217
218 2019-02-24 Sam Varshavchik <mrsam@courier-mta.com>
219
220 * pop3dserver.c (do_retr): Use the new MIME_UNICODE_MESSAGE_TYPE
221 setting to set the type of the wrapped MIME attachment.
222
223 5.0.6
224
225 2019-01-30 Sam Varshavchik <mrsam@courier-mta.com>
226
227 * pop3dserver.c: Fix parsing of pop3d file cache, on some
228 architectures.
229
230 2019-01-08 Sam Varshavchik <mrsam@courier-mta.com>
231
232 * tcpd/libcouriertls.c: Ignore unreadable cert files.
233
234 5.0.5
235
236 2018-12-09 Sam Varshavchik <mrsam@courier-mta.com>
237
238 * fetch.c: Send an alert about a Unicode messages to a non-Unicode
239 client at most once per IMAP session.
240
241 5.0.4
242
243 2018-11-28 Hideki SAKAMOTO <hsakamt@tsnr.com>
244
245 * pop3dserver.c: Deal with MS Outlook's broken implementation of
246 RFC 6856.
247
248 5.0.3
249
250 2018-11-17 Sam Varshavchik <mrsam@courier-mta.com>
251
252 * pop3dserver.c (calcsize): Fix spurious flagging of non-UTF8
253 messages as UTF-8.
254
255 To fix existing mailboxes with erroneously-flagged messages. In
256 each mailbox, if its existing courierpop3dsizelist file starts with
257
258 /3 [followed by additional data]
259
260 Only if the first line in courierpop3dsizelist starts with /3, then
261 execute:
262
263 perl -p -i -e 's/:\d+$/:0/' courierpop3dsizelist
264
265 2018-11-16 Sam Varshavchik <mrsam@courier-mta.com>
266
267 * pop3dserver.c (readpop3dlist): Be able to update
268 courierpop3dsizelist from version 2 to 3 in place.
269 (do_retr): Instead of returning an ERR to a non-Unicode client,
270 handle Unicode messages by wrapping them as an attachment.
271
272 5.0.2
273
274 2018-10-27 Sam Varshavchik <mrsam@courier-mta.com>
275
276 * configure.ac: Additional changes to how Unicode messages are
277 handled with non-Unicode clients: disclaim all warranties, still
278 report an error, but provide the raw message content, as is.
279
280 5.0.1
281
282 2018-09-26 Sam Varshavchik <mrsam@courier-mta.com>
283
284 * Provide an substitute message to IMAP clients that did not enable
285 UTF-8.
286
287 2018-09-24 Sam Varshavchik <mrsam@courier-mta.com>
288
289 * couriertls: additional fixes.
290
291 2018-09-24 Yoshinari Takaoka <mumumu@mumumu.org>
292
293 * couriertls: option to use a separate file for the SSL certificate's
294 private key, as an alternative to the combined keyfile+certificate.
295
296 5.0.0
297
298 2018-07-21 Sam Varshavchik <mrsam@courier-mta.com>
299
300 * pop3dserver.c: update Courier-IMAP to support UTF8 POP3. Update
301 version of the courierpop3dsizelist cache file.
302
303 2018-07-17 Sam Varshavchik <mrsam@courier-mta.com>
304
305 * courier-imap, sqwebmail: update Courier-IMAP to support UTF8 IMAP.
306 Convert maildir folders to use UTF-8 for folder names. Add
307 --checkutf8 and --convutf8 options to maildirmake to convert
308 pre-UTF8 maildirs to UTF8 maildirs, a mandatory upgrade procedure.
309
310 2018-07-08 Sam Varshavchik <mrsam@courier-mta.com>
311
312 * waitlib/configure.ac: Fix typo.
313
314 2018-06-28 Sam Varshavchik <mrsam@courier-mta.com>
315
316 * libs/tcpd/starttls.c (main): Add -user option. Additional fixes
317 to startup script to have couriertls drop root privileges.
318
319 2018-06-21 Sam Varshavchik <mrsam@courier-mta.com>
320
321 * libs/tcpd/tlsclient.h: add username option, used in couriertls_start
322 to set the child process's uid and gid.
323
324 * imaplogin.c (starttls): Set username option for couriertls
325
326 * pop3login.c (starttls): Set username option for couriertls
327
328 * imapd-ssl.dist, pop3d-ssl.dist: Use separate imap and pop3 session
329 cache files. Startup script: remove/set ownership and permsission
330 on the imap and pop3 session cache files.
331
332 2018-02-13 Sam Varshavchik <mrsam@courier-mta.com>
333
334 * libs/tcpd/libcouriergnutls.c: Remove usage of deprecated OpenPGP
335 API. Tag the "Unexpected SSL connection shutdown" with the "DEBUG"
336 label just like the OpenSSL version does.
337
338 * libs/tcpd/starttls.c: If TCPREMOTEIP is set, prepend it to error
339 messages.
340
341 2017-11-26 Sam Varshavchik <mrsam@courier-mta.com>
342
343 * Tweak RPM spec file.
344
345 4.18.2
346
347 2017-09-27 Giovanni Bechis <giovanni@paclan.it>
348
349 * Fix to configure.ac
350
351 2017-09-19 Sam Varshavchik <mrsam@courier-mta.com>
352
353 * courier: switch default header encoding to UTF-8.
354
355 4.18.1
356
357 2017-08-19 Sam Varshavchik <mrsam@courier-mta.com>
358
359 * OpenSSL 1.1.0 compilation fixes.
360
361 4.18.0
362
363 2017-06-17 Sam Varshavchik <mrsam@courier-mta.com>
364
365 * libs/maildir/maildirquota.c (docheckquota): Skip DT_LNK.
366
367 2017-03-11 Sam Varshavchik <mrsam@courier-mta.com>
368
369 * courier-unicode library API update.
370
371 2017-02-07 Sam Varshavchik <mrsam@courier-mta.com>
372
373 * libs/tcpd/libcouriertls.c: OpenSSL API update.
374
375 4.17.3
376
377 2016-09-20 "Hanno Böck" <hanno@hboeck.de>
378
379 * libs/maildrop/maildir.C (MaildirSave): Fix new/delete mismatch.
380 * libs/sqwebmail/gpg.c: Fix external linkage.
381
382 4.17.2
383
384 2016-08-03 Sam Varshavchik <mrsam@courier-mta.com>
385
386 * imapd.c (do_folder_delete): Fix check for DELETE INBOX.
387
388 4.17.1
389
390 2016-04-30 Sam Varshavchik <mrsam@courier-mta.com>
391
392 * Fix TLS SNI code.
393
394 4.17.0
395
396 2016-04-23 Sam Varshavchik <mrsam@courier-mta.com>
397
398 * Stop using SSL2 and SSL3 openssl configuration methods.
399
400 2016-03-03 Sam Varshavchik <mrsam@courier-mta.com>
401
402 * libs/tcpd/libcouriertls.c: Add support for TLS SNI.
403
404 2016-01-22 Sam Varshavchik <mrsam@courier-mta.com>
405
406 * imaplogin.c (starttls): flush stdin after negotiating STARTTLS.
407
408 2016-01-17 Sam Varshavchik <mrsam@courier-mta.com>
409
410 * Fix Courier-IMAP rpm build on pre-systemd systems.
411
412 4.16.2
413
414 2015-06-27 Sam Varshavchik <mrsam@courier-mta.com>
415
416 * imap/mailboxlist.c (match_mailbox_prep): Use strncmp instead of
417 memcmp, to pacify overzealous static analysis checkers.
418
419 2015-05-22 Sam Varshavchik <mrsam@courier-mta.com>
420
421 * Drop SSLv3 from TLS_CIPHER_LIST.
422
423 2015-06-09 Sam Varshavchik <mrsam@courier-mta.com>
424
425 * imap, pop3: Added AUTH_MKHOMEDIR_SKEL setting.
426
427 4.16.1
428
429 2015-04-25 Giovanni Bechis <giovanni@openbsd.org>
430
431 * maildircache.c: fix use after free.
432
433 * mkdhparams: make compatible with libressl
434
435 2015-03-04 Sam Varshavchik <mrsam@courier-mta.com>
436
437 * Handle 01-Jan-1970 for date-based searches.
438
439 2015-02-28 Sam Varshavchik <mrsam@courier-mta.com>
440
441 * Update to courier-unicode 1.2.
442
443 2015-02-24 Sam Varshavchik <mrsam@courier-mta.com>
444
445 * Add the makeimapaccess script.
446
447 4.16.0
448
449 2014-10-21 Bernard Quatermass <bqcourier@quatermass.co.uk>
450
451 * tcpd/libcouriertls.c: add parsing options for different protocol
452 combination.
453
454 2014-10-21 坂元 英紀 <hs@on-sky.net>
455
456 * Update comments in *ssl config files.
457
458 2014-10-15 Rob Austein <sra@hactrn.net>
459
460 * libs/tcpd/libcouriertls.c (tls_create): Set SSL_OP_NOSSLv3 flag,
461 to disable SSL3 support.
462
463 2014-10-11 Sam Varshavchik <mrsam@courier-mta.com>
464
465 * mkdhparams: TLS_DHPARAMS environmnt variable overrides default
466 DH parameter file location.
467
468 * courier-imap.spec.in: generate the default DH parameter file and
469 package it into the rpm, instead of generating one on the first
470 start.
471
472 2014-10-09 Sam Varshavchik <mrsam@courier-mta.com>
473
474 * libs/maildir/maildirinfo.c (maildir_info_imapmunge): Fix
475 UTF-8 charset name.
476
477 2014-09-19 Sam Varshavchik <mrsam@courier-mta.com>
478
479 * tcpd/libcouriertls.c (tls_create): Initialize temporary ecdh
480 parameters.
481
482 * imap: try to print a message on stderr if the alarm() call, that
483 detects FAM library breakage, goes off.
484
485 * mkdhparams: default to 2048 DH params for OpenSSL.
486
487 * courier-imap.service: bump up startup timeout, initial service start
488 may take several minutes to generate DH parameters for the first
489 time.
490 4.15.1
491
492 2014-09-01 Sam Varshavchik <mrsam@courier-mta.com>
493
494 * tcpd/libcouriergnutls.c: remove any slashes from the server
495 hostname.
496
497 2014-07-21 Sam Varshavchik <mrsam@courier-mta.com>
498
499 * gpglib, rfc2045: fix makefiles.
500
501 2014-07-13 Sam Varshavchik <mrsam@courier-mta.com>
502
503 * liblock, couriertls: fix compilation for OpenBSD -- based on a
504 patch from Giovanni Bechis <giovanni@paclan.it>.
505
506 2014-05-06 Sam Varshavchik <mrsam@courier-mta.com>
507
508 * pop3login.c (login_callback): Log logins when running in proxy mode.
509
510 * imaplogin.c (login_callback): Log logins when running in proxy mode.
511
512 2014-04-27 Sam Varshavchik <mrsam@courier-mta.com>
513
514 * courier.spec.in: Update to use systemd macros.
515
516 2014-01-12 Sam Varshavchik <mrsam@courier-mta.com>
517
518 * Factored out the unicode library into a separate package.
519
520 4.15.0
521
522 2013-11-25 Sam Varshavchik <mrsam@courier-mta.com>
523
524 * pop3login.c (starttls): Clear input buffer after STARTTLS.
525
526 * imaplogin.c (starttls): Clear input buffer after STARTTLS.
527
528 * Fix various compiler warnings about unchecked results from setuid
529 and setgid calls.
530
531 2013-11-10 Sam Varshavchik <mrsam@courier-mta.com>
532
533 * libs/tcpd/libcouriergnutls.c, libs/tcpd/libcouriertls.c: remove the
534 TLS_DHCERTFILE setting, and use TLS_CERTFILE for all functionality.
535 Read DH parameters from TLS_CERTFILE, or from the new TLS_DHPARAMS
536 environment variable.
537
538 * mkdhparams: New script that generates DH parameters into a standalone
539 file.
540
541 * Remove TLS_DHCERTFILE setting from imapd-ssl, pop3d-ssl, esmtpd and
542 esmtpd-ssl. Add TLS_DHPARAMS.
543
544 * Update imapd.cnf.openssl, pop3d.cnf.openssl, esmtpd.cnf.openssl,
545 set default number of bits for RSA keys to 4096.
546
547 2013-10-14 Sam Varshavchik <mrsam@courier-mta.com>
548
549 * libs/tcpd/libcouriertls.c (tls_create): Add TLSv1_1_method() and
550 TLSv1_2 method(), based on patch by Rob Austein <sra@hactrn.net>.
551
552 * pop3d-ssl.dist.in, imapd-ssl.dist.in: Fix up differences in the
553 documentation of TLS options in various config files.
554
555 4.14.0
556
557 2013-07-04 Sam Varshavchik <mrsam@courier-mta.com>
558
559 * Autotool chain update.
560
561 * imapd.c (mddelete): Reject DELETE folder if the maildir is a symlink.
562
563 2013-04-27 Rolf Eike Beer <dakon@users.sf.net>
564
565 * imapd.c (doId): Implement the IMAP ID EXTENSION.
566
567 4.13.0
568
569 2013-03-09 Sam Varshavchik <mrsam@courier-mta.com>
570
571 * imap: add explicit mkdirs on PIDFILE directories to startup scripts.
572
573 2013-02-20 Sam Varshavchik <mrsam@courier-mta.com>
574
575 * rfc822: workaround for invalid utf-8 input making libidn go off the
576 rails.
577
578 4.12.0
579
580 2013-01-12 Gordon Messmer <yinyang@eburg.com>
581
582 * tcpd/libcouriergnutls.c (get_server_cert): Fix size of malloced
583 buffer.
584
585 2012-12-20 Sam Varshavchik <mrsam@courier-mta.com>
586
587 * configure.in: Fix typo in configure check for setvbuf().
588
589 4.11.0
590
591 2012-09-05 Sam Varshavchik <mrsam@courier-mta.com>
592
593 * maildir/maildiraclt.c (maildir_acl_delete): Fix double-free on error
594 path of an ENOMEM.
595
596 2012-06-22 Sam Varshavchik <mrsam@courier-mta.com>
597
598 * courier.spec.in: Fix the RPM spec to work around /bin symlink
599 breakage in F17.
600
601 * tcpd/tcpd.c: Update libgnutls API, replace obsoleted functions
602 with current API. Obsoletes most TLS_* variables that set protocol
603 priorities, replaced with Gnutls-specific single TLS_PRIORITY
604 setting (existing TLS_* variables are still used by the OpenSSL
605 alternative). Updated *-ssl configuration files accordingly.
606
607 2012-06-21 Eray Aslan <eray.aslan@caf.com.tr>
608
609 * tcpd: Compilation changes for gnutls 3
610
611 2012-04-22 Sam Varshavchik <mrsam@courier-mta.com>
612
613 * liblock/mail.c (dotlock_exists): Quell a compiler warning.
614
615 2012-02-23 Osamu Aoki <osamu@debian.org>
616
617 * Miscellaneous spelling fixes.
618
619 4.10.0
620
621 2011-11-13 Sam Varshavchik <mrsam@courier-mta.com>
622
623 * imapd.c (main): Open IMAPDEBUGFILE only if it exists already.
624 (do_expunge): Optionally log deletions. Based on a patch by
625 William Yodlowsky <wyodlows@andromeda.rutgers.edu>.
626
627 * pop3dserver.c (cleanup): Optionally log deletions. Based on a patch by
628 William Yodlowsky <wyodlows@andromeda.rutgers.edu>.
629
630 * imapd.dist.in (IMAP_MOVE_EXPUNGE_TO_TRASH): Officially document how
631 IMAPDEBUGFILE works.
632
633 2011-10-28 Sam Varshavchik <mrsam@courier-mta.com>
634
635 * imapscanclient.c: Postpone Y2038K for a while, for uid validities.
636
637 2011-10-22 Sam Varshavchik <mrsam@courier-mta.com>
638
639 * liblock/mail.c (dotlock_exists): Handle getting here because of a
640 recycled pid.
641
642 * unicode/unicode.c (init_default_chset): Handle NULL from setlocale().
643
644 2011-09-06 Sam Varshavchik <mrsam@courier-mta.com>
645
646 * rfc2045/reformime.c (main2): Fixed segfault on some arches from an
647 initial null given to strtok.
648
649 2011-08-14 Sam Varshavchik <mrsam@courier-mta.com>
650
651 * rfc2045/reformime.c (main2): On ia64 and arm, argv is in readonly
652 memory.
653
654 2011-08-04 Michiel Boland <michiel@boland.org>
655
656 * pop3dserver.c (openpop3dlist): Try a few times to reopen pop3dsizelist
657 if it fails with ESTALE.
658
659 2011-07-11 Sam Varshavchik <mrsam@courier-mta.com>
660
661 * pop3d.dist.in: Add AUTHSERVICE settings. They've been supported
662 all along.
663
664 2011-06-19 Sam Varshavchik <mrsam@courier-mta.com>
665
666 * Fix gcc 4.6 warnings
667
668 * courier-imap.spec.in: switch to systemd. Remove script used when
669 upgrading from ancient pre-sysconftool versions.
670
671
672 2011-05-25 Sam Varshavchik <mrsam@courier-mta.com>
673
674 * Fix autoconf warnings.
675
676 4.9.3
677
678 2011-05-22 Sam Varshavchik <mrsam@courier-mta.com>
679
680 * msgenvelope.c (msgappends): Fix a fatal error upon encountering
681 8-bit header content. Heuristically try to interpret it as UTF-8, and
682 just ignore invalid UTF-8 sequences.
683
684 4.9.2
685
686 2011-05-17 Sam Varshavchik <mrsam@courier-mta.com>
687
688 * rfc2045/rfc2045cdecode.c: Tolerate lowercase hexadecimal characters
689 in quoted-printable-encoded content.
690
691 2011-05-06 Thomas Jacob <jacob@internet24.de>
692
693 * unicode/unicode.c: Compilation fixes.
694
695 4.9.1
696
697 2011-04-11 Sam Varshavchik <mrsam@courier-mta.com>
698
699 * tcpd/libcouriertls.c (tls_create): Remove SSLv2_method().
700 (tls_create): Remove "!SSLv2" from the default TLS_CIPHER_LIST.
701
702 2011-04-07 Sam Varshavchik <mrsam@courier-mta.com>
703
704 * mkimapdcert.in (prefix): Create imapd.pem with 600 perms.
705
706 * mkpop3dcert.in (prefix): Create pop3d.pem with 600 perms.
707
708 4.9.0
709
710 2011-03-19 Sam Varshavchik <mrsam@courier-mta.com>
711
712 * unicode/unicode.h: Added unicode_isspace().
713
714 * unicode/unicode_wordbreak.c: Implementation of tr29.
715
716 * unicode/unicode.h: unicode_lb_set_opts(), plus derivatives: set
717 artbirary linebreaking options. Two options that tailor the unicode
718 linebreaking algorithm.
719
720 2011-03-06 Sam Varshavchik <mrsam@courier-mta.com>
721
722 * unicode/unicode.c (convert_flush_iconv): Save errno in case it
723 gets clobbered by the callback function.
724
725 2011-02-26 Sam Varshavchik <mrsam@courier-mta.com>
726
727 * unicode/unicode.h (mail): Added iterator-based conversion functions
728 to/from unicode chars.
729
730 2011-02-24 Sam Varshavchik <mrsam@courier-mta.com>
731
732 * unicode/unicode.c (save_unicode): Optimize buffering of
733 unicode characters.
734
735 2011-02-17 Sam Varshavchik <mrsam@courier-mta.com>
736
737 * unicode/unicode.h: Adjust unicode_wcwidth() to return 0 for BK, CR,
738 LF, CM, NL, WJ, ZW characters.
739
740 2011-02-16 Sam Varshavchik <mrsam@courier-mta.com>
741
742 * unicode/unicode.h: Internal implementation if tr14, linebreaking
743 rules.
744
745 2011-01-24 Sam Varshavchik <mrsam@courier-mta.com>
746
747 * rfc822/rfc2047.c (rfc2047_encode_callback): Rewrite broken logic.
748
749 * unicode/unicode.c (deinit_iconv): Incomplete multibyte character
750 remaining at the end of conversion was falsely being reported as
751 a callback failure, rather than a conversion failure.
752
753 2011-01-22 Sam Varshavchik <mrsam@courier-mta.com>
754
755 * Check if -liconv is needed to get iconv.
756
757 * Clean up leftover unicode-related crud in configure scripts.
758
759 2011-01-22 Gordon Messmer <yinyang@eburg.com>
760
761 * rfc1035/rfc1035mksocket.c (rfc1035_mksocket): Set IPV6_V6ONLY
762 socket option to OFF for IPv6 sockets, if the system default is on.
763
764 2011-01-22 Sam Varshavchik <mrsam@courier-mta.com>
765
766 * Removed the last remains of the old unicode mapping code.
767
768 * unicode/unicode.c (init_default_chset): Import additional logic
769 from the cone tree: CHARSET and MM_CHARSET environment variables
770 override locale's charset indication. If unable to determine locale,
771 parse lang.codeset@modifier string in LANG.
772
773 * rfc822/encodeautodetect.c (libmail_encode_autodetect): Remove obsolete
774 unicode API. Determine encoding with heuristics based entirely on
775 the content. Remove charset arg, replace with "use7bit", to force
776 qp or base64, instead of 8bit. Take a binaryflag param that gets set
777 to indicate whether base64 was selected based on binary content.
778
779 * pcp/pcp.c (usage): Unicode API update.
780
781 * rfc822/rfc2047.c (rfc2047_encode_str): Removed
782 rfc2047_encode_callback_base64, invoked from rfc2047_encode_str().
783 Rewrite rfc2047_encode_str() to use the new unicode API.
784
785 2011-01-22 Sam Varshavchik <mrsam@courier-mta.com>
786
787 * rfc822/rfc2047u.c: Unicode API updates.
788
789 * unicode/unicode.h: Replace unicode_x_imap_modutf7 with a #define.
790 Eliminted unicode_x_smap_modutf7, replaced with
791 unicode_x_imap_modutf7, a space, and blacklisted chars.
792
793 * unicode/unicodecpp.C (convert_tocase): C++ binding for
794 libmail_u_convert_tocase().
795
796 * unicode/unicode.c (init_default_chset): Map GNU libc nl_langinfo()
797 return of "ANSI_X3.4*" to "US-ASCII".
798
799 2011-01-17 Sam Varshavchik <mrsam@courier-mta.com>
800
801 * unicode/unicode_ultcase.c (unicode_tc): Convert test character
802 to lowercase first, before converting to titlecase -- UnicodeData
803 does not specify an uppercase char's titlecase, directly.
804
805 * maildir/maildirsearch.h (mail): New C++ binding method -
806 getSearchLen().
807
808 2011-01-16 Sam Varshavchik <mrsam@courier-mta.com>
809
810 * unicode/unicode.h: Define C++ binding for libmail_u_convert(),
811 mail::iconvert.
812
813 * maildir/maildirsearch.h (mail): Convert the C++ binding to use
814 the unicode-aware, case-insensitive, whitespace-collapsing algorithm.
815
816
817 2011-01-15 Sam Varshavchik <mrsam@courier-mta.com>
818
819 * unicode/unicode.c (unicode_default_chset): New function calculates
820 the default system unicode charset based on the global locale.
821 (libmail_u_convert_init): Support a phony character set used to
822 encode unicode folder names for IMAP (and SMAP). Passing the
823 phony character set name to libmail_u_convert_init() encodes or
824 decodes to the phony character set. For converting to the phony
825 character set, libmail_u_convert_init() sets up an iconv conversion to
826 UCS-2, then wraps it into a module that converts UCS-2 to the phony
827 character set. For converting from the phony character set,
828 libmail_u_convert_init() sets up an iconv conversion from UCS-2, then
829 wraps it into a module that converts the phony character set to UCS-2.
830 (libmail_u_convert_tocbuf_init): A wrapper to libmail_u_convert_init()
831 that converts to native UCS-4, and saves it into a malloc-ed
832 unicode_char array.
833 (libmail_u_convert_tocbuf_toutf8_init): Convenience wrapper for
834 converting to UTF-8.
835 (libmail_u_convert_tocbuf_fromutf8_init): Convenience wrapper for
836 converting from UTF-8.
837 (libmail_u_convert_toutf8): Convenience wrapper that converts
838 a text string to UTF-8 and returns a malloced buffer with the
839 converted string.
840 (libmail_u_convert_fromutf8): Convenience wrapper that converts
841 a UTF-8 string to another charset, and returns a malloced buffer with
842 the converted string.
843 (libmail_u_convert_tobuf): Convenience wrapper that converts a
844 character string and returns the converted string in a malloced
845 buffer.
846 (libmail_u_convert_fromu_init): Convenience wrapper that sets up
847 a conversion of text to native unicode_chars.
848 (libmail_u_convert_uc): Convenience wrapper for passing unicode chars
849 through libmail_u_convert().
850
851 * rfc2045/rfc2646create.c (rfc2646create_alloc): Replace unicode
852 struct pointer argument with a character set string name.
853 Use libmail_u_convert_fromu_init() and libmail_u_convert_tou_init()
854 instead of the obsolete unicode functions.
855
856 * rfc2045/rfc2231.c: Replace the unicode struct pointer argument with
857 a character set string. Use libmail_u_convert_tobuf() instead of the
858 obsolete unicode functions.
859
860 * rfc2045/rfc2045decodemimesectionu.c (rfc2045_decodetextmimesection):
861 Add a return value indication of a failed conversion to the requested
862 character set.
863
864 * maildir/maildirinfo.c: Use libmail_u_convert_tobuf() instead of the
865 obsoleted unicode functions.
866
867 2011-01-09 Sam Varshavchik <mrsam@courier-mta.com>
868
869 * all: Replace all usage of internal unicode tables with iconv.
870 Courier-IMAP now supports searching text given in any character set
871 that's supported by iconv. The internal unicode library is still used
872 for converting unicode to/from lower/uppercase, for functionality
873 not directly available in iconv. Pretty much a rewrite of the entire
874 search/sort/thread implementation.
875
876 2011-01-08 Sam Varshavchik <mrsam@courier-mta.com>
877
878 * all: Major rewrite of rfc2045 parsing functions, adding an abstraction
879 layer for reading the contents of the parsed rfc 2045 message, rather
880 than reading from a plain file descriptor.
881
882 * smap.c: New rfc2045src abstraction layer API update.
883
884 * rfc822/rfc822_parsedt.c: Eliminate the dependency on ctype, replaced
885 them with macros.
886
887 * rfc822/rfc822hdr.c (rfc822hdr_namecmp): Factor out rfc822hdr_namecmp
888 from rfc822hdr_is_addr, and make it usable, generically.
889
890 4.8.1
891
892 2010-08-21 Sam Varshavchik <mrsam@courier-mta.com>
893
894 * Makefile.am (imapd.cnf): Compatibility fixes.
895
896 2010-08-15 Sam Varshavchik <mrsam@courier-mta.com>
897
898 * maildir/maildirwatch.c (maildirwatch_alloc): Use alarm() to kill
899 the process if FAMOpen() takes more than 15 seconds to return.
900 Should prevent a hung process if FAM/Gamin is fubared.
901
902 2010-07-11 Sam Varshavchik <mrsam@courier-mta.com>
903
904 * pop3dserver.c: Make printed() and putchar() macros.
905
906 2010-07-01 Sam Varshavchik <mrsam@courier-mta.com>
907
908 * imapd.cnf pop3d.cnf (default_md): added default_md = sha1
909
910 2010-06-28 Sam Varshavchik <mrsam@courier-mta.com>
911
912 * rfc822/rfc822.c (rfc822_print_common_nameaddr): Prevent segfault if
913 address decode fails.
914
915 * Fix make check failure when libidn is not available.
916
917 2010-05-31 Sam Varshavchik <mrsam@courier-mta.com>
918
919 * Rebuilt man pages with updated stylesheets.
920
921 4.8.0
922
923 2010-05-30 Mr. Sam <mrsam@courier-mta.com>
924
925 * tcpd/configure.in: Check if explicit linking with libgpg-error is
926 required.
927
928 2010-03-20 "Stefan Hornburg (Racke)" <racke@linuxia.de>
929
930 * imapd.c (main): Fix typo in alert message.
931
932 2010-03-18 Hugo Monteiro <hugo.monteiro@fct.unl.pt>
933
934 * Big quota patch (with some changes).
935
936 2010-03-12 Sam Varshavchik <mrsam@courier-mta.com>
937
938 * imapd.c (main): Dummy FAM/Gamin initialization, report an error
939 during login, upon a failure.
940
941 2010-03-10 Sam Varshavchik <mrsam@courier-mta.com>
942
943 * imapd.c (imapenhancedidle): Make FAM error more meaningful.
944
945 2010-02-25 Bernard Quatermass <bernard@quatermass.co.uk>
946
947 * pop3dserver.c (main): "disableinsecurepop3" account option disables
948 non-SSL logins.
949
950 * imapd.c (chkdisabled): "disableinsecureimap" account option disables
951 non-SSL logins.
952
953 4.7.0
954
955 2009-11-22 Sam Varshavchik <mrsam@courier-mta.com>
956
957 * rfc822/rfc822.c: Removed rfc822_praddr().
958
959 * rfc822/rfc822_getaddr.c (rfc822_getaddr): Implement rfc822_getaddr()
960 by calling rfc822_display_addr_tobuf(), instead of rfc822_praddr().
961
962 * rfc822/testsuite.c (doaddr): Remove rfc822_addrlist() and
963 rfc822_namelist().
964
965 2009-11-21 Sam Varshavchik <mrsam@courier-mta.com>
966
967 * msgenvelope.c (doenva): Replace rfc822_getname() by
968 rfc822_display_name_tobuf() with a NULL character set.
969
970 * rfc822/rfc822_getaddr.c: Remove rfc822_prname() and
971 rfc822_prname_orlist(), replaced by rfc822_display_name() with a NULL
972 character set.
973
974 * rfc822/rfc2047u.c (rfc822_display_name): Semantical change --
975 without an explicit name, display the address as the name. If the
976 requested character set is NULL, do not decode RFC2047-encoded content,
977 return it as is.
978
979 2009-11-17 Sam Varshavchik <mrsam@courier-mta.com>
980
981 * rfc2045/rfc2045reply.c (mkreply): Fix logic for locating the
982 name used for salutation.
983
984 * rfc822/rfc2047u.c (rfc2047_print_unicodeaddr): Fix several formatting
985 issues with deprecated RFC 822 distribution lists: spurious comma
986 adter the last address, pass the space after the ':' as a separator
987 character.
988
989 * rfc822/rfc2047.c (counts2/save): Fix line-wrapping of encoded
990 addresses.
991
992 * rfc822/rfc2047u.c (rfc822_display_addr_tobuf): New function.
993
994 2009-11-14 Sam Varshavchik <mrsam@courier-mta.com>
995
996 * rfc822/rfc822.c (rfc822_print_common): Rewrite.
997
998 * rfc822/rfc2047u.c (rfc822_display_name_int): Fixed various rules for
999 encoding names to be more MIME compliant.
1000 (rfc822_display_addr_str): Renamed from rfc822_display_addr(), for a
1001 consistent API.
1002 (rfc822_display_addr): New function, decode the wire format of a single
1003 address. Names are MIME decoded, addresses are IDN-decoded.
1004 (rfc2047_print_unicodeaddr): Do not output a dummy name for an
1005 address without one.
1006 (rfc822_display_addr_str_tobuf): New function, version of
1007 rfc822_display_addr_str() that collects the output into a buffer.
1008
1009 * rfc822/rfc2047.c (rfc822_encode_domain): New function -- IDN-encode
1010 a domain, with an optional "user@".
1011 (rfc2047_encode_header_addr): Renamed rfc2047_encode_header(), for a
1012 consistent API.
1013 (rfc2047_encode_header_tobuf): New function, encode a header from
1014 displayed format to wire format. Names are encoded using RFC 2047,
1015 addresses using IDN.
1016
1017 2009-11-08 Sam Varshavchik <mrsam@courier-mta.com>
1018
1019 * rfc822/rfc2047.h: Expose raw RFC 2047 decoding function,
1020 rfc2047_decoder().
1021
1022 * rfc822/rfc822hdr.c (rfc822hdr_is_addr): New function.
1023
1024 * rfc822/rfc822.c (tokenize): Tweak the logic for collecting RFC 2047
1025 atoms.
1026
1027 * rfc822/rfc2047u.c (rfc822_display_name): New function,
1028 replaces rfc2047_print().
1029 (rfc822_display_name_tobuf): New function,
1030 replaces rfc2047_print().
1031 (rfc822_display_namelist): New function,
1032 replaces rfc822_namelist().
1033 (rfc822_display_addr): New function, replaces rfc2047_print().
1034 (rfc2047_print_unicodeaddr): Renamed from rfc2047_print_unicode().
1035 (rfc822_display_hdrvalue): New function, replaces rfc2047_decode(),
1036 rfc2047_decode_simple(), rfc2047_decode_enhanced().
1037 (rfc822_display_hdrvalue_tobuf): New function, ditto.
1038
1039 * rfc822/rfc2047.c: Removed rfc2047_decode(), rfc2047_decode_simple(),
1040 rfc2047_decode_enhanced(), rfc2047_print().
1041
1042 * rfc822/Makefile.am: Link against GNU IDN library.
1043
1044 * thread.c (thread_ref_callback): SUBJECT for THREAD REFERENCES wasn't
1045 getting converted to UTF-8 at the right point, moved it up into
1046 search.c
1047
1048 * search.c (fill_search_header): SUBJECT search key was being
1049 MIME-decoded twice.
1050
1051 4.6.0
1052
1053 2009-09-05 Gordon Messmer <yinyang@eburg.com>
1054
1055 * outbox.c (imapd_sendmsg): Renamed sendmsg() to avoid library name
1056 clash.
1057
1058 2009-08-12 "Hanno Böck" <hanno@hboeck.de>
1059
1060 * tls: change the default OpenSSL configuration to disable anonymous
1061 authentication ciphers.
1062
1063 4.5.1
1064
1065 2009-06-27 Sam Varshavchik <mrsam@courier-mta.com>
1066
1067 * all: gcc 4.4 fixes
1068
1069 2009-05-28 Sam Varshavchik <mrsam@courier-mta.com>
1070
1071 * fetch.c (open_cached_fp): If the message file cannot be opened,
1072 create a dummy message in its place.
1073
1074 4.5.0
1075
1076 2009-05-09 Sam Varshavchik <mrsam@courier-mta.com>
1077
1078 * Documentation refresh.
1079
1080 2009-03-23 Fernando Gozalo <fgozalo@csi.uned.es>
1081
1082 * pop3dserver.c: s/POP3_STLS/POP3_TLS/, for correct logging.
1083
1084 2008-12-02 Sam Varshavchik <mrsam@courier-mta.com>
1085
1086 * imaprefs.c (dorefcreate): Clean up usage of rfc822_threadsearchmsg().
1087 A malloc() failure wasn't checked correctly.
1088
1089 2008-10-11 Dmitry Osipov <ffar@mail.ru>
1090
1091 * rfc2045/rfc2045_fromfd.c: Optimize header parsing.
1092
1093 2008-09-20 Sam Varshavchik <mrsam@courier-mta.com>
1094
1095 * search.c: Empty MIME entities would always match any SEARCH. Reported
1096 by Dmitry Osipov.
1097
1098 2008-09-18 Federico Cuello <fedux@lugmen.org.ar>
1099
1100 * tcpd/configure.in: --without-gnutls forces suppression of GnuTLS when
1101 OpenSSL is not present.
1102
1103 2008-08-26 Alessandro Vesely <vesely@tana.it>
1104
1105 * tcpd/libcouriergnutls.c (tls_connect): Fix client certificate request
1106 settings.
1107
1108 2008-08-24 Mr. Sam <mrsam@courier-mta.com>
1109
1110 * tcpd/libcouriergnutls.c (set_cert): Add support for certificates
1111 signed by an intermediate CA.
1112
1113 2008-07-17 Mr. Sam <mrsam@courier-mta.com>
1114
1115 * imapwrite.c (write_error_exit): Dump fatal errors to stderr.
1116
1117 4.4.1
1118
1119 2008-07-14 Sergey <grubberr@gmail.com>
1120
1121 * configure.in: Compilation with db was broken.
1122 4.4.0
1123
1124 2008-07-11 Mr. Sam <mrsam@courier-mta.com>
1125
1126 * maildir/maildirquota.sgml: Update descriptions of maildir quotas.
1127
1128 2008-06-29 Mr. Sam <mrsam@courier-mta.com>
1129
1130 * pop3login.c (starttls): Use the couriertls library to invoke
1131 couriertls, instead of doing it ourselves. SASL authentication did
1132 not correctly handle the special case of "=" passed as the initial
1133 response to indicate an empty initial response. Switch to the new
1134 auth_sasl_ex() API.
1135
1136 * pop3dcapa.c (pop3_externalauth): Check the environment variables
1137 for subject fields set by couriertls. Advertise the AUTH EXTERNAL
1138 capability, if they are set.
1139
1140 * imaplogin.c (starttls): Use the couriertls library to invoke
1141 couriertls, instead of doing it ourselves.
1142
1143 * capability.c (imap_externalauth): Check the environment variables
1144 for subject fields set by couriertls. Advertise the AUTH=EXTERNAL
1145 capability, if they are set.
1146
1147 * authenticate_auth.c (authenticate): SASL authentication did not
1148 correctly handle the special case of "=" passed as the initial response
1149 to indicate an empty initial response. Switch to the new auth_sasl_ex()
1150 API.
1151
1152 * tcpd/libcouriergnutls.c (oid_name_list): Rename "email" to
1153 "emailAddress", for compatibility with OpenSSL.
1154
1155 * tcpd/libcouriergnutls.c (verify_client): Check for the required
1156 certificate occurred in the wrong spot.
1157
1158 * tcpd/libcouriergnutls.c (tls_connect): Add call to
1159 gnutls_certificate_set_subject() to actually request the client cert.
1160
1161 * tcpd/libcouriergnutls.c (tls_certificate_verified): Return an
1162 indication if the peer's certificate is good.
1163
1164 * tcpd/libcouriertls.c (tls_certificate_verified): Ditto. Minor bug
1165 fixes.
1166
1167 * tcpd/starttls.c (dump_to_fp): Parse Subject: header dumped by
1168 couriertls, export it in environment variables.
1169
1170 * tcpd/tlsclient.c (couriertls_get_subject): Retrieve individual
1171 Subject: fields.
1172
1173 * tcpd/tlsclient.c (couriertls_export_subject_environment): Export
1174 parsed Subject: fields to the environment.
1175
1176 2008-06-21 Mr. Sam <mrsam@courier-mta.com>
1177
1178 * Optimize IMAP keyword implementation. Faster results in exchange
1179 for a concurrency tradeoff if two concurrent sessions attempt to
1180 update keywords for the same message at the same time -- only one will
1181 win.
1182
1183 2008-06-13 Mr. Sam <mrsam@courier-mta.com>
1184
1185 * rfc822_getaddr.c: Backslashed special characters in address names
1186 weren't being dequoted correctly by rfc822_getname() and
1187 rfc822_getname_orlist().
1188
1189 2008-05-11 Mr. Sam <mrsam@courier-mta.com>
1190
1191 * pop3login.c (main): Add a timeout to the POP3 login stage
1192
1193 2008-05-08 Bernd Wurst <bernd@bwurst.org>
1194
1195 * gdbmobj/Makefile.am (libgdbmobj_la_LIBADD): Fix makefile
1196
1197 2008-05-08 Mr. Sam <mrsam@courier-mta.com>
1198
1199 * bdbobj/Makefile.am: same patch. Also, clean up the rest of the
1200 makefiles.
1201
1202 2008-05-04 Kouhei Sutou <kou@cozmixng.org>
1203
1204 * imapd.rc.in, pop3d.rc.in: Fix SSL initialization
1205
1206 2008-04-09 Mr. Sam <mrsam@courier-mta.com>
1207
1208 * tcpd/libcouriertls.c (cache_get): Fix TLS session caching.
1209
1210 4.3.1
1211
1212 2008-03-12 Gordon Messmer <yinyang@eburg.com>
1213
1214 * tcpd/libcouriertls.c (tls_create): Default TLS_PROTOCOL=SSL23,
1215 TLS_CIPHER_LIST=SSLv3:TLSv1:!SSLv2:HIGH:!LOW:!MEDIUM:!EXP:!NULL@STRENGTH
1216
1217 2008-03-09 Brian Candler <B.Candler@pobox.com>
1218
1219 * imapd.c (is_smap): Compilation failure fix.
1220
1221 2008-03-07 Mr. Sam <mrsam@courier-mta.com>
1222
1223 * courier-imap.spec - fix SSL build prerequisites.
1224
1225 2008-03-07 Bernd Wurst <bernd@bwurst.org>
1226
1227 * many: update description of SSL/TLS-related settings in several
1228 configuration files.
1229
1230 2008-01-26 Mr. Sam <mrsam@courier-mta.com>
1231
1232 * imapd.c (main): New setting in the IMAP config file,
1233 IMAP_MAILBOX_SANITY_CHECK -- disable sanity check on the homedir
1234 and maildir ownership.
1235
1236 2008-01-04 Mr. Sam <mrsam@courier-mta.com>
1237
1238 * all: Explicitly make stderr line-buffered.
1239
1240 2007-12-08 "Stefan Hornburg (Racke)" <racke@linuxia.de>
1241
1242 * imapd.c (main): Suppress spurious error message
1243
1244 4.3.0
1245
1246 2007-11-21 Mr. Sam <mrsam@courier-mta.com>
1247
1248 * tcpd/libcouriergnutls.c (tls_connect): TLS_MIN_DH_BITS setting,
1249 invokes gnutls_dh_set_prime_bits(). Fix some bugs.
1250
1251 2007-11-18 Mr. Sam <mrsam@courier-mta.com>
1252
1253 * tcpd/libcouriergnutls.c (tls_transfer): Fix some bugs.
1254
1255 2007-11-18 Mr. Sam <mrsam@courier-mta.com>
1256
1257 * tcpd/libcouriergnutls.c: Fix SSL session caching bug.
1258
1259 2007-11-10 Mr. Sam <mrsam@courier-mta.com>
1260
1261 * imapd.c (do_expunge): Remove \Draft flag from messages moved
1262 to the trash folder upon expunge from the original folder.
1263 (main): Additional sanity check to check for common courier-authlib
1264 misconfigurations.
1265
1266 2007-11-04 Mr. Sam <sam@email-scan.com>
1267
1268 * Added support for GnuTLS.
1269
1270 2007-10-29 Mr. Sam <mrsam@courier-mta.com>
1271
1272 * imapd.c (chk_clock_skew): Make skew check more reliable.
1273
1274 2007-10-23 Mr. Sam <mrsam@courier-mta.com>
1275
1276 * couriertls: code cleanup.
1277
1278 4.2.1
1279
1280 2007-10-09 Mr. Sam <mrsam@courier-mta.com>
1281
1282 * imapscanclient.c (do_imapscan_maildir2): Avoid a double-fclose()
1283 in marginal situations.
1284
1285 2007-10-06 Mr. Sam <mrsam@courier-mta.com>
1286
1287 * tcpd/starttls.c (main): Prime the OpenSSL entropy pool on platforms
1288 that don't have a ready source available.
1289
1290 2007-10-03 Mr. Sam <mrsam@courier-mta.com>
1291
1292 * Provide a default TCPREMOTEPORT when started from the command line.
1293
1294 4.2.0
1295
1296 2007-09-25 "Johnny C. Lam" <jlam-courier@buildlink.org>
1297
1298 * liblock/lockdaemon.c (OPEN_MAX): Use OPEN_MAX, instead of hardcoded
1299 99
1300
1301 2007-09-25 Mr. Sam <mrsam@courier-mta.com>
1302
1303 * liblock/lockdaemon.c (OPEN_MAX): Even better, use
1304 sysconf(_SC_OPEN_MAX), where available.
1305
1306 2007-09-21 Mr. Sam <mrsam@courier-mta.com>
1307
1308 * imapd.c (chk_clock_skew): Try to autodetect clock skew.
1309
1310 2007-09-20 Adam Hasselbalch Hansen <ahh@one.com>
1311
1312 * Include remote port number in IMAP and POP3 logs.
1313
1314 2007-08-29 Mr. Sam <mrsam@courier-mta.com>
1315
1316 * tcpd/tcpd.c (doit): Ignore SIGPIPE errors in couriertcpd, preventing
1317 couriertcpd from being terminated if the stderr logger crashes.
1318
1319 2007-07-26 Mr. Sam <sam@email-scan.com>
1320
1321 * COPYING: GPL 3
1322
1323 * mailboxlist.c (folder_entry): Optimization: skip over folders
1324 not in the current scope, avoiding unnecessary overhead of checking
1325 their ACLs.
1326
1327 2007-07-01 Mr. Sam <sam@email-scan.com>
1328
1329 * configure.in (mydatadir): Updated PAM config file for Fedora 7.
1330
1331 2007-06-30 Mr. Sam <mrsam@courier-mta.com>
1332
1333 * Misc fixes for automake 1.10
1334
1335 4.1.3
1336
1337 2007-04-16 Mr. Sam <mrsam@courier-mta.com>
1338
1339 * maildir/maildirkeywords2.c (maildir_kwImport): Properly clean up
1340 after a malloc failure.
1341
1342 * maildir/maildirshared.c (do_maildir_shared_sync): Plug a leak
1343 when syncing old-style shared folders.
1344
1345 2007-04-15 Mr. Sam <mrsam@courier-mta.com>
1346
1347 * unicode/eucjp.c (c2u): Check for malloc failure.
1348 (u2c): Ditto.
1349
1350 * unicode/shiftjis.c (c2u): Ditto.
1351
1352 * unicode/shiftjis.c (u2c): Ditto.
1353
1354 * unicode/ksx1001.c (c2u_euckr_doconv): Ditto.
1355
1356 * unicode/ksx1001.c (u2c_euckr_doconv): Ditto.
1357
1358 * maildir/maildirnewshared2.c (maildir_shared_cache_read): Clarify
1359 calling convention, and check for invalid arguments to this function.
1360
1361 * maildir/maildirkeywords2.c (doReadKeywords2): Eliminate dead code.
1362
1363 2007-04-05 Mr. Sam <mrsam@courier-mta.com>
1364
1365 * Update man pages and documentation to Docbook XML V4.4
1366
1367 2007-02-25 Mr. Sam <mrsam@courier-mta.com>
1368
1369 * More configure script cleanup
1370
1371 2007-02-25 Kurt Roeckx <kurt@roeckx.be>
1372
1373 * Clean up configure scripts
1374
1375 2007-02-25 Mr. Sam <mrsam@courier-mta.com>
1376
1377 * rfc822/rfc822.c (parseaddr): rfc822a_alloc() would corrupt and
1378 misparse RFC2047-encoded atoms.
1379
1380 4.1.2
1381
1382 2006-09-19 Josip Rodin <joy@entuzijast.net>
1383
1384 * maildirmake: Clarify some error messages.
1385
1386 * maildir/maildirmake.sgml: Documentation fixup.
1387
1388 * maildrop/maildropex.sgml: Documentation fixup.
1389
1390 2006-09-05 Mr. Sam <mrsam@courier-mta.com>
1391
1392 * imap: message files created by the IMAP server will use the umask
1393 setting.
1394
1395 2006-06-23 Peter Bieringer <pb@bieringer.de>
1396
1397 * mainloop.c (sigexit): Try to log bandwidth usage before getting
1398 killed by a signal.
1399
1400 2006-05-29 Sergiy Zhuk <serge@yahoo-inc.com>
1401
1402 * imapd.c (quotainfo_out): Fix 64-bit issue with quota indication.
1403
1404 2006-05-26 Mr. Sam <mrsam@courier-mta.com>
1405
1406 * all: Fix many compiler warnings.
1407
1408 4.1.1
1409
1410 2006-04-14 Mr. Sam <mrsam@courier-mta.com>
1411
1412 * liblock/lockdaemon.c: Fixed some compiler warnings.
1413
1414 2006-04-13 Mr. Sam <mrsam@courier-mta.com>
1415
1416 * tcpd/libcouriertls.c (tls_create): Fix segfault if non-cert files
1417 were found in the cert dir.
1418
1419 2006-03-25 "Serhij Dubyk / Сергій Дубик" <dubyk@library.lviv.ua>
1420
1421 * unicode: Added koi8-u character set.
1422
1423 2006-03-17 Brian Candler <B.Candler@pobox.com>
1424
1425 * imapd.c (quotainfo_out): Fix quota calculations on 32 bit platforms
1426 with 64 bit off_t.
1427
1428 2006-03-04 Gordon Messmer <yinyang@eburg.com>
1429
1430 * soxwrap/sconnect.c (s_connect): Don't assume that connect() of
1431 a non-blocking socket always fails with EINPROGRESS
1432
1433 4.1.0
1434
1435 2006-02-23 Alain NAKACHE <alain@alinto.net>
1436
1437 * imapd.dist.in (IMAP_ACL): New capability to control announcements
1438 of IMAP ACL support (on by default).
1439
1440 2006-02-07 Mr. Sam <mrsam@courier-mta.com>
1441
1442 * maildir/maildirquota.c (statsubdir): Fix quota race condition
1443 check optimization.
1444
1445 2006-01-22 Mr. Sam <mrsam@courier-mta.com>
1446
1447 * Makefile/configure: upgrade libtool/autoconf/automake toolchain.
1448 Workaround for broken libtool's mkinstalldirs macro.
1449
1450 * tcpd/libcouriertls.c: Fix gcc 4 warning.
1451
1452 * tcpd/tcpd.c: Ditto.
1453
1454 * tcpd/tlspasswordcache.c: Ditto.
1455
1456 * rfc822/rfc2047.c (encodebase64): Ditto.
1457
1458 * rfc822/rfc822.c (parseaddr): Ditto.
1459
1460 * libhmac/hmac.c (dohashkey): Ditto.
1461
1462 2006-01-12 Mr. Sam <mrsam@courier-mta.com>
1463
1464 * thread.c (dosortmsgs): Skip going through the motions of outputing
1465 the results of a SORT if # of sorted messages is 0.
1466
1467 2006-01-12 John Morrissey <jwm@horde.net>
1468
1469 * maildir/maildirquota.c (do_deliver_warning): Fix quota warning
1470 message delivery.
1471
1472 2006-01-03 Mr. Sam <mrsam@courier-mta.com>
1473
1474 * imapd.c (quotainfo_out): Adjusted casting to work better with large
1475 quotas.
1476
1477 2005-10-04 Sergiy Zhuk <serge@yahoo-inc.com>
1478
1479 * imapd.c (do_imap_command): Have RENAME also create
1480 courierimapuidlist.
1481
1482 * maildir/maildirrename.c: Ditto - reset courierimapuidlist in
1483 renamed directories.
1484
1485 2005-11-21 Mr. Sam <mrsam@courier-mta.com>
1486
1487 * smapsnapshot.c (restore_snapshot2): Fix some file descriptor leaks.
1488
1489 2005-11-15 Mr. Sam <mrsam@courier-mta.com>
1490
1491 * rfc2045/rfc2045rewrite.c: Cleanup. Remove duplicate quoted-printable
1492 implementation, use one in rfc822/encode.c
1493
1494 * rfc822/encode.c (quoted_printable): encode spaces that precede a
1495 newline.
1496
1497 2005-10-04 Sergiy Zhuk <serge@yahoo-inc.com>
1498
1499 * imapd.c (do_imap_command): Have RENAME also create
1500 courierimapuidlist.
1501
1502 2005-09-30 Sergiy Zhuk <serge@yahoo-inc.com>
1503
1504 * imapd.c (do_imap_command): Have CREATE create courierimapuidllist.
1505
1506 2005-09-30 Mr. Sam <mrsam@courier-mta.com>
1507
1508 * imap/pop3: log total bytes sent/received in IMAP and POP3 sessions
1509 (based on a patch by Peter Bieringer <pb@bieringer.de>.
1510
1511 4.0.6
1512
1513 2005-09-23 Mr. Sam <mrsam@courier-mta.com>
1514
1515 * maildir/Makefile.am: skip parts of make check if libpcre is not
1516 installed
1517
1518 2005-09-22 Mr. Sam <mrsam@courier-mta.com>
1519
1520 * maildir/maildirpurgetmp.c (maildir_purge): When autopurging messages
1521 from a folder based on their timestamp, scan 'new' in addition to
1522 'cur', otherwise mail delivered to the folder directly never gets
1523 purged, unless the folder is open.
1524
1525 4.0.5
1526
1527 2005-09-07 Mr. Sam <mrsam@courier-mta.com>
1528
1529 * maildir/Makefile.am (testmaildirfilter_LDADD): Move -lpcre to LDADD,
1530 from LDFLAGS.
1531
1532 2005-08-20 Mr. Sam <mrsam@courier-mta.com>
1533
1534 * waitlib/waitlib.c: probe for sigprocmask(), and use it if available.
1535
1536 2005-08-16 Mr. Sam <mrsam@courier-mta.com>
1537
1538 * imapd.c (do_msgset): Fix handling of invalid sequence number of 0.
1539
1540 2005-08-11 Mr. Sam <mrsam@courier-mta.com>
1541
1542 * search.c (search_oneatatime): Fix NOT operator on content searches.
1543
1544 4.0.4
1545
1546 2005-07-16 Mr. Sam <mrsam@courier-mta.com>
1547
1548 * configure.in: Update to automake 1.9, autoconf 2.59, libtool 1.5.6,
1549 gettext 0.14.1.
1550
1551 2005-07-15 Mr. Sam <mrsam@courier-mta.com>
1552
1553 * imap: Implemented account groups, administrator group.
1554
1555 2005-07-04 Mr. Sam <mrsam@courier-mta.com>
1556
1557 * pop3d.dist.in: Add PLAIN to POP3AUTH_ORIG.
1558
1559 2005-07-01 Brian Candler <B.Candler@pobox.com>
1560
1561 * imap: add LOGGEROPTS and SSLLOGGEROPTS configuration settings
1562 which are passed to courierlogger to set the application name for
1563 syslog.
1564
1565 * INSTALL.html.in: Update documentation, add DEFDOMAIN setting to
1566 imapd and pop3d config files.
1567
1568 2005-07-01 Mr. Sam <mrsam@courier-mta.com>
1569
1570 * INSTALL.html.in: --with-syslog was moved to courier-authlib.
1571
1572 2005-06-29 Mr. Sam <mrsam@courier-mta.com>
1573
1574 * mkimapdcert.in: Set umask before creating the cert file, to close
1575 off a theoretical snoop.
1576 * mkpop3dcert.in: Ditto.
1577
1578 * imapd.c: New OUTBOX_MULTIPLE_SEND option.
1579
1580 2005-06-29 Brian Candler <B.Candler@pobox.com>
1581
1582 * tcpd/tcpd.c: Added --accesslocal option.
1583
1584 2005-06-18 Mr. Sam <mrsam@courier-mta.com>
1585
1586 * courier-imap.spec.in (License): Replaces obsolete Copyright: header.
1587 * smap: SMAP EXPUNGE >100 msg ranges was broken.
1588
1589 2005-06-11 Mr. Sam <mrsam@courier-mta.com>
1590
1591 * COPYING.GPL: New FSF address.
1592
1593 2005-06-03 Mr. Sam <mrsam@courier-mta.com>
1594
1595 * courier-imap.spec.in: Clean up spec file.
1596
1597 2005-05-18 "Hrvoje Habjanić" <hrvoje.habjanic@zg.t-com.hr>
1598
1599 * Reorder include files, to compile on SunOS & OSFx.
1600
1601 * Workaround for bugs on some platforms' select().
1602
1603 * soxwrap needs a configure check for socklen_t.
1604
1605 4.0.3
1606
1607 2005-05-08 Mr. Sam <mrsam@courier-mta.com>
1608
1609 * courier-imap.sysvinit: Remove init lock file upon stop.
1610
1611 2005-04-03 Giulio Cervera <giulio@edspa.it>
1612
1613 * PROXY_HOSTNAME: new setting in imap and pop3 config file overrides
1614 gethostname() when checking if a proxy connection is required.
1615
1616 4.0.2
1617
1618 2005-02-26 Mr. Sam <mrsam@courier-mta.com>
1619
1620 * msgbodystructure.c (msgbodystructure): Fix MSGBODYSTRUCTURE response
1621 for a corrupted content-type of "text".
1622
1623 2005-02-19 Mr. Sam <mrsam@courier-mta.com>
1624
1625 * courierauthdebug.h: Macro dprintf conflicts with new glibc.
1626
1627 2005-02-16 Mr. Sam <mrsam@courier-mta.com>
1628
1629 * Various: Replace "env -" with "env -i" -- portability.
1630
1631 * configure.in: Fix sourcing of ./conftest2.
1632
1633 2005-02-08 Mr. Sam <mrsam@courier-mta.com>
1634
1635 * Makefile.am: Fix README.proxy getting clobbered by make clean.
1636
1637 2005-01-27 Andres Salomon <dilinger@voxel.net>
1638
1639 * rfc2045/reformime.sgml: Fix typo.
1640
1641 4.0.1
1642
1643 2005-01-04 Andreas Erhart <andi@zollhaus.net>
1644
1645 * imaplogin.c (login_callback): Fix imap proxy code.
1646
1647 4.0.0
1648
1649 2004-12-04 Brian Candler <B.Candler@pobox.com>
1650
1651 * imap: fix disconnection syslog messages.
1652
1653 2004-11-29 Brian Candler <B.Candler@pobox.com>
1654
1655 * pop3dserver.c (main): Fix error message when chdir fails.
1656
1657 2004-11-24 Mr. Sam <mrsam@courier-mta.com>
1658
1659 * imapd.dist.in: Add IMAP_UMASK, which resets umask in the imapd
1660 startup script. Derived from Ted Zlatanov <tzz@lifelogs.com>'s patch.
1661
1662 2004-11-20 Brian Candler <B.Candler@pobox.com>
1663
1664 * Additional debugging cleanup.
1665
1666 2004-11-09 Brian Candler <B.Candler@pobox.com>
1667
1668 * sharedindexsplit: Various fixes, imported from courier-authlib.
1669
1670 2004-11-12 Mr. Sam <mrsam@courier-mta.com>
1671
1672 * courier-imap.spec: Don't grab ownership of /var/run. Drop
1673 redefinition of the %configure macro.
1674
1675 * maildir: maildir_newshared_disabled turns off new-style shared
1676 folders. maildir_acl_disabled disables ACL support.
1677
1678 Account option "disableshared=1" disables virtual shared folders
1679 and ACLs.
1680
1681 2004-11-09 Brian Candler <B.Candler@pobox.com>
1682
1683 * imap/pop3: minor cleanup.
1684
1685 2004-11-05 Mr. Sam <mrsam@courier-mta.com>
1686
1687 * pop3dserver.c (main): Authenticated address is in AUTHENTICATED,
1688 not AUTHADDR, now.
1689
1690 2004-11-03 Mr. Sam <mrsam@courier-mta.com>
1691
1692 * Makefile.am (SUBDIRS): Ok, only build in bdbobj/gdbmobj according
1693 to what autoconf finds.
1694
1695 2004-10-30 Mr. Sam <mrsam@courier-mta.com>
1696
1697 * imaplogin.c (login_imap): Implemented IMAP proxying.
1698
1699 * pop3login.c (login_pop3): Implemented POP3 proxying.
1700
1701 2004-10-20 Mr. Sam <mrsam@courier-mta.com>
1702
1703 * Factored out courier-authlib.
1704
1705 3.0.8
1706
1707 2004-09-06 Mr. Sam <mrsam@courier-mta.com>
1708
1709 * imaptoken.c (bye_msg): IMAP disconnect message includes session
1710 length and STLS mode, for logging purposes.
1711
1712 * pop3dserver.c (acctout): POP3 disconnect message includes session
1713 length, and STLS mode, for logging purposes.
1714
1715 2004-09-01 Marc Horowitz <marc@mit.edu>
1716
1717 * search.c (fill_search_veryquick): Negative SEARCH UID does not
1718 get short-circuited.
1719
1720 2004-08-12 Mr. Sam <mrsam@courier-mta.com>
1721
1722 * imapd.c (do_imap_command): [READ-WRITE] and [READ-ONLY] reflect
1723 ACL rights.
1724
1725 2004-08-06 Mr. Sam <mrsam@courier-mta.com>
1726
1727 * authlib/configure.in: Fix usage of mysql_config
1728
1729 2004-08-05 Mr. Sam <mrsam@courier-mta.com>
1730
1731 * testsuite (IMAP_SHAREDINDEXFILE): Fix a bash-ism.
1732
1733 3.0.7
1734
1735 2004-07-27 Mr. Sam <mrsam@courier-mta.com>
1736
1737 * Makefile.am (EXTRA_DIST): Removed FAQ (see the main Courier FAQ
1738 on http://www.courier-mta.org/FAQ.html).
1739 (EXTRA_DIST): Moved README.imapkeywords.html to the maildir
1740 subdirectory.
1741
1742 2004-07-21 Mr. Sam <mrsam@courier-mta.com>
1743
1744 * authlib/authmysqllib.c (auth_mysql_getuserinfo): Fix options field.
1745
1746 3.0.6
1747
1748 2004-07-18 Mr. Sam <mrsam@courier-mta.com>
1749
1750 * imapscanclient.c (fnamcmp): Ignore :s when comparing filenames
1751 during maildir scan (fixes anomalous cases with nonstandard filenames).
1752
1753 2004-07-12 Mr. Sam <mrsam@courier-mta.com>
1754
1755 * outbox.c (is_outbox): Make OUTBOX work again.
1756
1757 2004-06-27 Mr. Sam <mrsam@courier-mta.com>
1758
1759 * all: Update GNU toolchain.
1760
1761 * rfc1035/rfc1035qptr.c (ptr): IPv6 reverse DNS lookups switch to
1762 ip6.arpa.
1763
1764 2004-06-18 Mr. Sam <mrsam@courier-mta.com>
1765
1766 * authlib/authldaplib.c: Conditionally define LDAP_OPT_SUCCESS if
1767 not defined by <ldap.h>.
1768
1769 2004-06-18 Laurent Wacrenier <lwa@teaser.fr>
1770
1771 * maildir/maildirquota.c (docount): Fix quota parsing bug on 64bit
1772 off_t systems.
1773
1774 2004-06-13 John Morrissey <jwm@horde.net>
1775
1776 * imap: Add MAILDIRPATH setting to imapd-ssl and pop3d-ssl
1777 configuration files.
1778
1779 2004-06-13 Mr. Sam <mrsam@courier-mta.com>
1780
1781 * smap.c (dump_hdrs): Added FETCH RAWHEADERS command.
1782
1783 2004-06-12 Mr. Sam <mrsam@courier-mta.com>
1784
1785 * liblog/logger.c (startchild): Close stderr after initializing
1786 the monitored process. Fixed hanging file descriptor to the terminal.
1787
1788 3.0.5
1789
1790 2004-06-06 Mr. Sam <mrsam@courier-mta.com>
1791
1792 * rfc2045/rfc2045.h: Clean up and re-factor out MIME header parsing
1793 into a new function: rfc2045_parse_mime_header.
1794
1795 2004-05-24 Mr. Sam <mrsam@courier-mta.com>
1796
1797 * authlib/configure.in: Add #include <sys/types.h> in probe for
1798 -lresolv.
1799
1800 2004-05-19 Mr. Sam <mrsam@courier-mta.com>
1801
1802 * maildir/maildirquota.c (do_deliver_warning): Make quota warning
1803 message work correctly with NFS.
1804 (do_maildir_openquotafile): Make quota calculations 64bit-safe (based
1805 on patch from Michael Kefeder <ml@weird-birds.org>).
1806
1807 2004-05-18 Mr. Sam <mrsam@courier-mta.com>
1808
1809 * mailboxlist.c (maildir_shared_index_file): Complain if shared
1810 index file does not exist.
1811
1812 2004-05-17 Hatuka*nezumi - IKEDA Soji <nezumi@jca.apc.org>
1813
1814 * all: Improve MIME encoding of message headers for East Asian
1815 character sets.
1816
1817 2004-05-17 Mr. Sam <mrsam@courier-mta.com>
1818
1819 * capability.c (imapcapability): Announce XMAGICTRASH capability
1820
1821 * imapd.c (do_imap_command): Fix #shared in NAMESPACE reply
1822
1823 3.0.4
1824
1825 2004-05-09 Mr. Sam <mrsam@courier-mta.com>
1826
1827 * authlib/authpgsqllib.c: fixed dash-extensions
1828
1829 2004-05-09 Jeff Potter <jpotter-courier@codepuppy.com>
1830
1831 * authlib/authmysqllib.c: fixed dash-extensions
1832
1833 2004-05-09 Mr. Sam <mrsam@courier-mta.com>
1834
1835 * makedat/makedat.in: Skip subdirectories named "CVS". Allows all
1836 directory-based lists (makesmtpaccess, etc...) to be managed via CVS.
1837
1838 2004-05-08 Brian Candler <B.Candler@pobox.com>
1839
1840 * pop3dserver.c (do_retr): If error occurred during RETR drop the
1841 connection (only sane thing to do).
1842
1843 2004-05-02 Brian Candler <B.Candler@pobox.com>
1844
1845 * authlib: additional debugging.
1846
1847 * maildir/maildirquota.c: additional debugging.
1848
1849 2004-05-07 Mr. Sam <mrsam@courier-mta.com>
1850
1851 * rfc1035/rfc1035qa.c (we_have_that_ipv4): Fix pointer comparison.
1852
1853 * rfc1035/rfc1035dumprrdata.c (rfc1035_dumprrdata): Fix pointer
1854 comparison.
1855
1856 * maildir/maildirkw.c (doit_locked): Fix pointer comparison.
1857
1858 * maildir/maildirfilter.h: Compilation fix.
1859
1860 2004-04-24 Brian Candler <B.Candler@pobox.com>
1861
1862 * authlib/authdaemond.c (authnext): Do not report unknown
1863 authentication modules -- unwanted noise.
1864
1865 2004-04-24 Mr. Sam <mrsam@courier-mta.com>
1866
1867 * liblog/courierlogger.sgml: courierlogger man page.
1868
1869 2004-04-23 Brian Candler <B.Candler@pobox.com>
1870
1871 * liblog/courierlogger: New courierlogger.
1872
1873 * pop3dserver.c (scancur): Report an error if authentication module
1874 started pop3d in a wrong directory.
1875
1876 * Makefile.am: Do not overwrite existing PAM configuration files.
1877
1878 2004-04-20 Brian Candler <B.Candler@pobox.com>
1879
1880 * authlib/authmysqllib.c (auth_mysql_getuserinfo): More SQL fixes.
1881
1882 * maildir/maildirgetnew.c (do_maildir_getnew): Fix infinite loop if
1883 rename() syscall fails.
1884
1885 2004-04-19 Brian Candler <B.Candler@pobox.com>
1886
1887 * authlib/authtest.c: Additional logging messages.
1888
1889 * Documentation fixes.
1890
1891 2004-04-18 Mr. Sam <mrsam@courier-mta.com>
1892
1893 * liblog: new directory for courierlogger, moved out of tcpd.
1894
1895 2004-04-17 Brian Candler <B.Candler@pobox.com>
1896
1897 * all: additional logging.
1898
1899 2004-04-11 Brian Candler <B.Candler@pobox.com>
1900
1901 * all: additional logging messages. Set log level via --with-syslog
1902
1903 2004-04-11 Mr. Sam <mrsam@courier-mta.com>
1904
1905 * thread.c (thread_ref_callback): MIME-decode the subject header
1906 to UTF-8 before running the THREAD REFERENCES algorithm.
1907
1908 * rfc822/rfc2047.c (a_rfc2047_encode_str): Improve compliance with
1909 RFC 2047 for MIME-encoded recipient lists.
1910 (rfc2047_encode_callback): New argument: qp_allow - function that
1911 indicates acceptable characters in QP-encoded words.
1912 (rfc2047_encode_str): Ditto.
1913 (rfc2047_qp_allow_any, rfc2047_qp_allow_comment)
1914 (rfc2047_qp_allow_word): Possible arguments to qp_allow for various
1915 situations.
1916
1917 2004-04-09 Mr. Sam <mrsam@courier-mta.com>
1918
1919 * rfc2045/rfc2045cdecode.c (do_decode_base64): Long overdue - use
1920 a precomputed base64 decoding table.
1921
1922 * rfc822/encode.c: Moved rfc2045/rfc2045encode.c here, renamed all
1923 functions to use the libmail_ prefix.
1924
1925 3.0.3
1926
1927 2004-03-31 Mr. Sam <mrsam@courier-mta.com>
1928
1929 * imapd.c (do_expunge): Fix expunge from Trash when
1930 IMAP_MOVE_EXPUNGE_TO_TRASH is set.
1931
1932 2004-03-25 Brian Candler <B.Candler@pobox.com>
1933
1934 * imap/imapd.dist.in: Clarify AUTHMODULES setting.
1935
1936 * imap/pop3d.dist.in: Clarify AUTHMODULES setting.
1937
1938 2004-03-25 Ondrej Jombik <nepto@pobox.sk>
1939
1940 * fetch.c (fetchitem): Fix sigsegv caused by null ptr deref on open
1941 error.
1942
1943 2004-03-21 Mr. Sam <mrsam@courier-mta.com>
1944
1945 * imapd.c (getacl_cb): Fix negative rights for ACL1.
1946 (acl2_identifier): Ditto.
1947
1948 2004-03-17 Mr. Sam <mrsam@courier-mta.com>
1949
1950 * testsuite (OPTIONS): Fix a bash-ism.
1951
1952 * smaptestsuite (IMAP_SHAREDINDEXFILE): Ditto.
1953
1954 3.0.2
1955
1956 2004-03-16 Matthew Kanar <mattkanar@hotmail.com>
1957
1958 * authlib/authvchkpw.c: Fix password changes.
1959
1960 2004-03-16 Oliver Lehmann <oliver@FreeBSD.org>
1961
1962 * sv-make_timezonelist.pl: Timezone file location on FreeBSD.
1963
1964 2004-03-13 Mr. Sam <mrsam@courier-mta.com>
1965
1966 * imapd.c (acl_read_folder): Add the 'x' right for filesystem-based
1967 shared folders, even though it's not true; but it's needed for ACL1
1968 compatibility.
1969
1970 2004-03-11 Mr. Sam <mrsam@courier-mta.com>
1971
1972 * authlib/configure.in: netinet/in.h needs sys/types.h on xBSD.
1973
1974 * courier/configure.in: Ditto.
1975
1976 2004-03-10 Mr. Sam <mrsam@courier-mta.com>
1977
1978 * maildir/maildirkeywords.h: Sun C++ compiler fix.
1979
1980 3.0.1
1981
1982 2004-03-09 Mr. Sam <mrsam@courier-mta.com>
1983
1984 * maildir/maildirrename.c (scan_aclhier2_rename): Check dirp is not
1985 NULL before closing it.
1986 * maildir/maildirrename.c (scan_maildir_rename): Ditto.
1987
1988 * maildir/maildirmake2.c (maildir_del): xBSD portability fix.
1989
1990 3.0.0
1991
1992 2004-03-02 Mr. Sam <mrsam@courier-mta.com>
1993
1994 * authlib/configure.in: BSD needs netinet/in.h before resolv.h
1995
1996 2004-02-18 Mr. Sam <mrsam@commodore.email-scan.com>
1997
1998 * Various fixes for the X86-64 platform.
1999
2000 2004-02-15 Mr. Sam <mrsam@courier-mta.com>
2001
2002 * maildir/maildiraclt.c (maildir_acl_canlistrights): New function
2003 moved from imap code, to be shared by sqwebmail.
2004
2005 2004-02-11 Mr. Sam <mrsam@courier-mta.com>
2006
2007 * smap.c (do_listcmd): Fix SMAP ACL.
2008
2009 * unicode/big5.c (c2u_doconv): C portability fix.
2010 gb2312: ditto.
2011
2012 2004-02-09 IKEDA Soji <nezumi@jca.apc.org>
2013
2014 * Big5, euc-jp, gb2312, ksx1001, shiftjis: let these functions handle
2015 their own conversion errors.
2016
2017 2004-02-07 IKEDA Soji <nezumi@jca.apc.org>
2018
2019 * Big5: Add non-hanzi maps. Add ETen extension. Add Big5-HKSCS
2020 charset.
2021
2022 * Gb2312: Add non-hanzi maps.
2023
2024 * Let iso2022-jp functions handle their own conversion errors.
2025
2026 2004-02-07 Jan Zimmerschied <jan@z4fun.de>
2027
2028 * RPM spec file for SUSE.
2029
2030 2004-02-02 IKEDA Soji <nezumi@jca.apc.org>
2031
2032 * iso2022jp.h: Maps for CJK Compatibility Ideographs has been added.
2033
2034 * ksx1001.c: New character sets: ISO-2022-KR, EUC-KR, CP949,
2035 ISO-2022-JP-1.
2036
2037 2004-02-01 Mr. Sam <mrsam@courier-mta.com>
2038
2039 * fetch.c (fetchitem): Optimization: do not open the message file
2040 for UID and FLAGS fetches - not necessary.
2041
2042 * unicode/iso88597.c: Updated from unicode.org.
2043
2044 * unicode/unicode_ultcasetab.c: Updated from unicode.org
2045
2046 2004-02-01 IKEDA Soji <nezumi@jca.apc.org>
2047
2048 * iso2022jp.pl / iso2022jp.h: JIS X 0208 mapping has been updated
2049 based on latest regional standard (JIS X 0208:1997) and some vendor
2050 standards. Errorneous (lacking or false) mappings has been fixed.
2051 Support for older JIS X 0208 (JIS C 6226:1978) mapping was added.
2052 JIS X 0212:1990 mapping was added.
2053
2054 * iso2022jp.c: Converters became (upper-)compatible with ISO-2022-JP
2055 (RFC1468 / JIS X 0208:1997 Annex 2) and ISO-2022-JP-1 (RFC2237).
2056 Buffer overflow vulnerability (when Unicode character is out
2057 of BMP range) has been closed. Convert error handling was implemented.
2058
2059 * shiftjis.c: Broken SHIFT_JIS converters has been fixed and became
2060 (upper-)compatible with Shifted Encoding Method (JIS X 0208:1997
2061 Annex 1). Buffer overflow vulnerability (when Unicode character is out
2062 of BMP range) has been closed. Convert error handling was implemented.
2063
2064 * eucjp.c: New converters for EUC-JP.
2065
2066 2004-01-24 Mr. Sam <mrsam@courier-mta.com>
2067
2068 * maildir/maildirinfo.c: replace getenv("AUTHENTICATED") with an
2069 extra parameter.
2070
2071 2004-01-23 Alessandro Vesely <vesely@tana.it>
2072
2073 * tcpd/tcpd.c (parseaddr): One-liner.
2074
2075 2004-01-23 Jan Zimmerschied <jan@z4fun.de>
2076
2077 * Add MAILDIRPATH to config files, that defines the default Maildir
2078 location in the startup script. Fix autoconf paths in the config
2079 files.
2080
2081 2004-01-23 Mr. Sam <mrsam@courier-mta.com>
2082
2083 * authlib/authmysqllib.c (auth_mysql_getuserinfo): It's really
2084 named MYSQL_AUXOPTION_FIELD.
2085
2086 2004-01-19 Mr. Sam <mrsam@courier-mta.com>
2087
2088 * Cleanup: move shared.[ch] and mailbox.[ch] modules to libmaildir.a,
2089 for potential reuse by sqwebmail.
2090
2091 2004-01-18 Mr. Sam <mrsam@courier-mta.com>
2092
2093 * Implement account options: disableimap, disablepop3, sharedgroup.
2094
2095 * Courier-IMAP: Move courierlogger from libexecdir to sbindir
2096
2097 * authdaemond: replace stderr diagnostics to syslog(). authdaemond's
2098 stderr doesn't go anywhere.
2099
2100 2004-01-13 Mr. Sam <mrsam@courier-mta.com>
2101
2102 * Rebuild all docbook SGML stuff.
2103
2104 * Fix SMAP testsuite.
2105
2106 2004-01-13 Michael Bowe <mbowe@pipeline.com.au>
2107
2108 * authvchkpw update.
2109
2110 2004-01-12 Mr. Sam <mrsam@courier-mta.com>
2111
2112 * mailboxlist.c (list_newshared_shortcut): Fix list #shared.%.%, for
2113 Mozilla.
2114
2115 * imapd.c (do_imap_command): ACL fixes. Quota fixes.
2116
2117 2004-01-11 Mr. Sam <mrsam@courier-mta.com>
2118
2119 * smap.c: Fix SMAP ACL implementation.
2120
2121 * imapd.c (aclstore): Fix gcc-ism.
2122
2123 2004-01-10 Michael Bowe <mbowe@pipeline.com.au>
2124
2125 * authvchkpw update.
2126
2127 2004-01-10 Mr. Sam <mrsam@courier-mta.com>
2128
2129 * imap: Implement virtual shared folders + ACL.
2130
2131 2003-12-27 Mr. Sam <mrsam@courier-mta.com>
2132
2133 * maildir/maildirmake2.c (maildir_make): Fix memory leak.
2134
2135 * maildir/maildirkeywords2.c (doReadKeywords2): Fix memory leak
2136 when keywords are not enabled.
2137
2138 2003-12-25 Mr. Sam <mrsam@courier-mta.com>
2139
2140 * unicode/unicode.h: Formal unicode structure for IMAP's modified-UTF7
2141 coding.
2142
2143 2003-12-23 Mr. Sam <mrsam@courier-mta.com>
2144
2145 * rfc1035/configure.in: Fix --with-ipv6 option parsing.
2146
2147 2003-12-20 Mr. Sam <mrsam@courier-mta.com>
2148
2149 * imapd.c (do_imap_command): Drop kludge for Sun's StarOffice.
2150
2151 2003-12-13 Mr. Sam <mrsam@courier-mta.com>
2152
2153 * smap.c: Remove legacy SHARED support from SMAP1.
2154
2155 2003-12-12 Mr. Sam <mrsam@courier-mta.com>
2156
2157 * imapscanclient.c (do_imapscan_maildir2): autocreate
2158 courierimapkeywords directory if a folder doesn't have it.
2159
2160 2003-12-07 Mr. Sam <mrsam@courier-mta.com>
2161
2162 * imapd.c (set_namespace_options): Drop #allfolders hack. Conflicts
2163 with new ACL code.
2164 * README.html (href): Remove #allfolders description.
2165
2166 2003-12-03 Mr. Sam <mrsam@courier-mta.com>
2167
2168 * fetchinfo.c (alloc_headerlist): Allow header names to be
2169 quoted (+more).
2170
2171 2003-11-30 Mr. Sam <mrsam@courier-mta.com>
2172
2173 * mailboxlist.c (mailbox_scan): Replaced mailbox_list() with a
2174 callback-based mailbox_scan(), fixing empty reference name case
2175 along the way. The mailboxes are listed in the callback function.
2176
2177 2003-11-29 Mr. Sam <mrsam@courier-mta.com>
2178
2179 * maildir/maildirdelfolder.c: maildir_mddelete superceded by
2180 maildir_del().
2181
2182
2183 2003-11-28 Mr. Sam <mrsam@courier-mta.com>
2184
2185 * maildir/maildirshared2.c (maildir_shareddir): Move maildir_shareddir
2186 from maildirshared.c, so that a reference to this function does not
2187 pull in the entire db dependency tree.
2188
2189 2.2.1
2190
2191 2003-12-19 Mr. Sam <mrsam@courier-mta.com>
2192
2193 * unicode: Fix toupper_func/tolower_func/totitle_func for shiftjis,
2194 big5, utf8, utf7, iso2022jp: function may return a NULL even when
2195 requested to ignore conversion errors.
2196
2197 2003-12-17 Mr. Sam <mrsam@courier-mta.com>
2198
2199 * authlib/authmysqllib.c (get_variable): Fix warning.
2200
2201 2003-12-09 Mr. Sam <mrsam@courier-mta.com>
2202
2203 * maildir/maildirrename.c (validrename): Rename foo to foo.bar is not
2204 kosher. Compile list of directories to rename first, sort, then
2205 rename.
2206
2207 2003-11-27 Mr. Sam <mrsam@courier-mta.com>
2208
2209 * (imapd|pop3d)(-ssl)?.rc: check for missing make install-configure.
2210
2211 2003-11-18 Tim Rice <tim@multitalents.net>
2212
2213 * rfc822/configure.in: Fix MSG_WARN.
2214
2215 2003-11-15 Mr. Sam <mrsam@courier-mta.com>
2216
2217 * Update to automake 1.7.8, autoconf 2.57, libtool-1.5, gettext-0.12.1
2218
2219 2003-10-30 Mr. Sam <mrsam@courier-mta.com>
2220
2221 * maildir/maildirlock.c (maildir_lock): Fix double-free() call.
2222
2223 2.2.0
2224
2225 2003-10-27 Mr. Sam <mrsam@courier-mta.com>
2226
2227 * search.c (search_body_func): Ignore charset conversion errors when
2228 doing a SEARCH (GIGO principle).
2229
2230 2003-10-25 Jon Nelson <jnelson-courier@jamponi.net>
2231
2232 * imapd.c (main): Reset umask before opening the debug file.
2233
2234 2003-10-21 Mr. Sam <mrsam@courier-mta.com>
2235
2236 * Makefile.am (userdb.8): Respect $(EXEEXT)
2237
2238 * tcpd: Respect $(EXEEXT)
2239
2240 * authlib: Respect $(EXEEXT)
2241
2242 * libhmac: Respect $(EXEEXT)
2243
2244 * rfc2045/testsuite: Fix enable-mimecharset breaking make check.
2245
2246 2003-10-20 Mr. Sam <mrsam@courier-mta.com>
2247
2248 * rfc822/rfc2047u.c (rfc2047_print_unicode): Unicode-aware version of
2249 rfc2047_print().
2250
2251 2003-10-13 Mr. Sam <mrsam@courier-mta.com>
2252
2253 * imapd.c (imap_addRemoveKeywords): Remove duplicate message sequence
2254 numbers from message list (causes infinite loop due in keyword
2255 support for +FLAGS/-FLAGS).
2256 * maildir/maildirkeywords2.c (read_updates): Ditto.
2257
2258 2003-10-05 Mr. Sam <mrsam@courier-mta.com>
2259
2260 * imapscanclient.c (do_imapscan_maildir2): Workaround for filesystems
2261 that keel over if files are deleted in the directory that's being
2262 read at the same time.
2263 * maildir/maildirgetnew.c (do_maildir_getnew): Ditto.
2264
2265 * pop3dserver.c (main): Replaced scannew with maildir_getnew().
2266
2267 * pop3dserver: Fix upgrades from pre-courierpop3dsizelist.
2268
2269 2003-10-02 Mr. Sam <mrsam@courier-mta.com>
2270
2271 * imapd.c: When IMAP_MOVE_EXPUNGE_TO_TRASH is set, be smart and
2272 do not move to Trash a message that's been expunged after it was
2273 copied to another folder.
2274
2275 2003-09-29 Mr. Sam <mrsam@courier-mta.com>
2276
2277 * imapd.c (store_mailbox): Optimize APPEND performance. Based on a
2278 patch by Anssi Raittila <Anssi.Raittila@tecnomen.fi>.
2279
2280 2003-09-25 Mr. Sam <mrsam@courier-mta.com>
2281
2282 * bdbobj/bdbobj.c (bdbobj_open): Fix dbf_open call for db 3.x
2283
2284 2003-09-22 Mr. Sam <mrsam@courier-mta.com>
2285
2286 * smap.c: getenv("MAILDIRQUOTA") as last argument to
2287 maildir_quota_add_start().
2288
2289 2003-09-22 Brian Candler <B.Candler@pobox.com>
2290
2291 * imapd.c: getenv("MAILDIRQUOTA") as last argument to
2292 maildir_quota_add_start().
2293
2294 2003-09-21 Mr. Sam <mrsam@courier-mta.com>
2295
2296 * courier-imap.sysvinit.in: Fix splat-bang.
2297
2298 * userdb/makeuserdb.in: Make sure makeuserdb emits a trailing
2299 newline after each processed file.
2300 2.1.2
2301
2302 2003-09-01 Sergio Gelato <Sergio.Gelato@astro.su.se>
2303
2304 * Set timestamp on new message file after it is moved from tmp to new.
2305
2306 2003-08-27 Mr. Sam <mrsam@courier-mta.com>
2307
2308 * smap.c (applyflags): Fix SMAP STORE KEYWORDS again.
2309
2310 2003-08-26 Mr. Sam <mrsam@courier-mta.com>
2311
2312 * smap.c (smap): Fix SMAP STORE KEYWORDS.
2313
2314 * tcpd/starttls.c (connect_completed): Initialize
2315 TLS_CONNECTED_PROTOCOL before running the wrapped child process.
2316
2317 * tcpd/libcouriertls.c (tls_connecting): New function checks if
2318 SSL/TLS negotiation is still in progress on a non-blocking socket.
2319
2320 2.1.1
2321
2322 2003-08-18 Mr. Sam <mrsam@courier-mta.com>
2323
2324 * imapd.c (addRemoveKeywords): Do nothing unless keywords are
2325 enabled (fix CPU spin if IMAP_KEYWORDS are manually disabled).
2326
2327 * unicode/unicode.h: Introduce new character set flag: UNICODE_USASCII
2328 which designates whether the character set is a proper us-ascii
2329 superset. All character sets are marked as UNICODE_USASCII except the
2330 following character sets: IBM864/CP864, UTF-7, ISO-2022-JP.
2331 2.1
2332
2333 2003-08-17 Mr. Sam <mrsam@courier-mta.com>
2334
2335 * authlib/authpgsqllib.c (auth_pgsql_getuserinfo): Fix memory
2336 corruption with custom select clause is enabled and long userids.
2337
2338 * authlib/authmysqllib.c (auth_mysql_getuserinfo): Fix memory
2339 corruption with custom select clause is enabled and long userids.
2340
2341 2003-08-09 Mr. Sam <mrsam@courier-mta.com>
2342
2343 * imap/smap: attempt to detect whether someone else modified
2344 keywords while we were doing +KEYWORDS or -KEYWORDS, and, if so,
2345 rerun these commands.
2346
2347 2003-08-03 Mr. Sam <mrsam@courier-mta.com>
2348
2349 * Added the maildirkw command+man page.
2350
2351 2003-08-02 Mr. Sam <mrsam@courier-mta.com>
2352
2353 * bdbobj/bdbobj.c (bdbobj_open): Fix for DB 4.1 API.
2354
2355 2003-08-01 Mr. Sam <mrsam@courier-mta.com>
2356
2357 * Moved keyword support code into libmaildir.a. Major cleanup.
2358
2359 2003-07-31 Mr. Sam <mrsam@courier-mta.com>
2360
2361 * imapscanclient.c: Keyword support cleanup.
2362
2363 * imapd.c (bye): Clean up after an aborted APPEND.
2364
2365 2003-07-29 Mr. Sam <mrsam@courier-mta.com>
2366
2367 * authlib/configure.in: Add notice to forward all vpopmail
2368 questions to the vpopmail mailing list.
2369
2370 2003-07-24 James A Baker <jabaker@mac.com>
2371
2372 * authlib/README.authmysql.html: Cleanup.
2373
2374 * authlib/README.authpostgres.html: Cleanup.
2375
2376 * imap/FAQ.html: Cleanup.
2377
2378 * imap/README.html: Cleanup.
2379
2380 * maildir/README.maildirfilter.html: Cleanup.
2381
2382 * maildir/README.sharedfolders.html: Cleanup.
2383
2384 2003-07-24 Mr. Sam <mrsam@courier-mta.com>
2385
2386 * imapscanclient.c: Create an API layer for the keyword read/update
2387 functionality in imapscan_readKeywords(), divorcing the implementation
2388 from the IMAP-specific data structure, in preparation for moving
2389 the entire logic into the generic maildir library.
2390
2391 * smap.c (createSearch): Added SMAP SEARCH [range] command.
2392
2393 2003-07-22 Mr. Sam <mrsam@courier-mta.com>
2394
2395 * smap.c (createSearch): Added SMAP SEARCH ALL command.
2396
2397 2003-07-20 Mr. Sam <mrsam@courier-mta.com>
2398
2399 * testsuite: Replace find with chmod -R, more portable.
2400
2401 2003-07-19 Mr. Sam <mrsam@courier-mta.com>
2402
2403 * imapscanclient.c: Move #define of KEYWORDDIR to maildirwatch.h
2404
2405 * imapd: Plug several memory leaks found by valgrind. One of the
2406 leaks is in libfam. Reported the bug upstream.
2407
2408 * maildirwatch: Use a single FAM connection, where possible, in order
2409 to minimize libfam leak. Open another FAM connection only if the
2410 first one breaks.
2411
2412 * pop3dserver.c (print_uidl): Redo UIDL computation once again.
2413 Version 2 UIDL format is upwards compatible from version 0/1
2414 courierpop3dsizelist formats, preserving legacy UIDLs. See comments
2415 for the description of error recovery from out-of-disk space
2416 (quota-related) issues.
2417
2418 2003-07-18 Brian Candler <B.Candler@pobox.com>
2419
2420 * smaptestsuite: Ignore leading space from wc -l, differs between
2421 platforms.
2422
2423 2003-07-17 Mr. Sam <mrsam@courier-mta.com>
2424
2425 * imapscanclient.c: Rename new keyword update files after installing
2426 a new :list file.
2427
2428 * tcpd/tcpd.c (mksockets): Use AF_INET for binds to IPv4 addresses,
2429 even on IPv6-capable machines.
2430
2431 2003-07-16 Mr. Sam <mrsam@courier-mta.com>
2432
2433 * imap/smap: Implement custom keywords. Custom keywords may be
2434 enabled/disabled in the configuration file. Additionally, error
2435 checking has been tightened up: stuff that used to be tolerated,
2436 such as invalid messages flags, is now reported as an error.
2437
2438 2003-07-14 Mr. Sam <mrsam@courier-mta.com>
2439
2440 * search.c (fill_search_preparse): Make SEARCH parse message flags and
2441 keywords only once, instead of once for each message.
2442 (search_oneatatime): Move main loop of search iteration into a
2443 separate function, which evaluates the search criteria for a given
2444 message only (leave indentation alone, will reindent later).
2445
2446 2003-07-13 Mr. Sam <mrsam@courier-mta.com>
2447
2448 * imapd.c (doNoop): Drop automatic FETCH FLAGS of new messages.
2449
2450 2003-07-09 Mr. Sam <mrsam@courier-mta.com>
2451
2452 * rfc822/imaprefs.c (rfc822_threadmsgrefs): New function takes
2453 an array of References: headers, instead of a single References:
2454 string (merged from the cone tree).
2455
2456 2003-07-08 Mr. Sam <mrsam@courier-mta.com>
2457
2458 * pop3dserver.c (sortmsgs): Use time for a new POP3 UID counter.
2459
2460 2.0
2461
2462 2003-06-30 Mr. Sam <mrsam@courier-mta.com>
2463
2464 * tcpd/tcpd.c: Typo prevents IPv6 sockets from being created on BSD.
2465
2466 2003-06-22 Mr. Sam <mrsam@courier-mta.com>
2467
2468 * authlib/authdaemond.c (start): Fix authdaemon idle processing.
2469
2470 * pop3dserver.c (cmpmsgs): Ignore maildir message flags when sorting
2471 message lists (eliminated dup POP3 downloads after 2003-06-18).
2472
2473 2003-06-20 Mr. Sam <mrsam@courier-mta.com>
2474
2475 * smap.c: Do not use BUFSIZ to size I/O buffers (make check will fail
2476 if BUFSIZ != 8192).
2477
2478 2003-06-17 Mr. Sam <mrsam@courier-mta.com>
2479
2480 * pop3dserver.c: Generate shorter message UIDs. UIDs based on the
2481 filename may be too long for some clients. Save a counter in
2482 courierpop3dsizelist that is, essentially, an IMAP UID.
2483
2484 2003-06-12 Mr. Sam <mrsam@courier-mta.com>
2485
2486 * tcpd/tlspasswordcache.c (tlspassword_save): Use EIO instead of
2487 EPROTO (which is not defined everywhere).
2488
2489 * tcpd/configure.in: More thorough check for OpenSSL 0.9.7.
2490
2491 2003-06-11 Mr. Sam <mrsam@courier-mta.com>
2492
2493 * authlib/authldap.schema: Remove duplicate definition of
2494 virtualdomainuser.
2495
2496 * maildir/maildirwatch.c (maildirwatch_alloc): Fix test for error
2497 return from getcwd().
2498
2499 2003-06-05 Mr. Sam <mrsam@courier-mta.com>
2500
2501 * tcpd: merge tlspasswordcache from cone's tree.
2502
2503 2003-05-31 Mr. Sam <mrsam@courier-mta.com>
2504
2505 * smap.c (hashdr): Fix c++-ism.
2506
2507 2003-05-29 Mr. Sam <mrsam@courier-mta.com>
2508
2509 * thread.c (thread_ref_callback): Extra argument to rfc822_threadmsg()
2510 specifies message date as time_t.
2511
2512 2003-05-27 Mr. Sam <mrsam@courier-mta.com>
2513
2514 * Added experimental SMAP protocol.
2515
2516 * rfc2045/rfc2045header.c: eat leading space when folding header lines.
2517
2518
2519 2003-05-19 Mr. Sam <mrsam@courier-mta.com>
2520
2521 * maildir/README.maildirquota.html: Clarify that lines in maildirsize
2522 are padded to 14 character lengths.
2523
2524 1.7.3
2525
2526 2003-05-14 Mr. Sam <mrsam@courier-mta.com>
2527
2528 * maildir/maildirdelfolder.c (delsubdir): Sometimes we don't get
2529 an EISDIR, even though we should <sigh>...
2530
2531 2003-05-14 Stefan Hornburg <racke@linuxia.de>
2532
2533 * userdb/makeuserdb.sgml: Fix command names.
2534
2535 2003-05-14 Mr. Sam <mrsam@courier-mta.com>
2536
2537 * unicode/utf7.c: UTF-7 mapping.
2538
2539 1.7.2
2540
2541 2003-05-01 Mr. Sam <mrsam@courier-mta.com>
2542
2543 * authlib: split DEFAULTDELIVERY from MAILDIR for LDAP, MySQL, Postgres
2544 (used by courier instead of MAILDIR)
2545
2546 2003-04-29 Mr. Sam <mrsam@courier-mta.com>
2547
2548 * Replace U+0x00A0 in SGML documentation with spaces.
2549
2550 2003-04-28 Mr. Sam <mrsam@courier-mta.com>
2551
2552 * pop3dserver.c (scannew): Do not append :2, to msgs that already
2553 have it.
2554
2555 2003-04-25 Mr. Sam <mrsam@courier-mta.com>
2556
2557 * maildir/maildirdelfolder.c (maildir_mddelete): A more "thorough"
2558 folder delete.
2559
2560 2003-04-23 Rodrigo Severo <rodrigo.lists@fabricadeideias.com>
2561
2562 * authlib/authmysqlrc: Fix comments
2563
2564 2003-04-21 Mr. Sam <mrsam@courier-mta.com>
2565
2566 * Updated toolchain to automake 1.6.3, autoconf 2.57,
2567 libtool 1.4.3, gettext 0.11.4, new Docbook style sheets.
2568
2569 * bdbobj/bdbobj2.c (bdbobj_nextkey): Eliminate 0-length malloc.
2570
2571 2003-04-18 Mr. Sam <mrsam@courier-mta.com>
2572
2573 * authlib/authmysqllib.c (validateMyPassword): Rename
2574 validate_password to validateMyPassword (MySQL 4 conflict).
2575
2576 2003-04-12 Mr. Sam <mrsam@courier-mta.com>
2577
2578 * All beta and releases will now be signed by
2579 http://www.courier-mta.com/KEYS.bin
2580
2581 2003-04-11 Mr. Sam <mrsam@courier-mta.com>
2582
2583 * tcpd: configure and makefile cleanup
2584
2585 2003-04-09 Mr. Sam <mrsam@courier-mta.com>
2586
2587 * authlib/README.authpostgres.html: Documentation updates.
2588
2589 2003-04-04 Mr. Sam <mrsam@courier-mta.com>
2590
2591 * autoconf 2.57 fixes.
2592
2593 2003-04-03 Mr. Sam <mrsam@courier-mta.com>
2594
2595 * rfc2045/rfc2045.c (content_location): Plug a leak.
2596
2597 * unicode/unicode.c (unicode_xconvert): Plug a memory leak.
2598
2599 * liblock/mail.c (ll_mail_free): Plug a memory leak.
2600
2601 2003-03-22 Alain NAKACHE <alain@cal.fr>
2602
2603 * authenticate_auth.c (authenticate): Add AUTHSERVICE functionality
2604 to IMAP SASL, and POP3 plain+SASL authentication methods.
2605 * pop3login.c (main): Ditto.
2606
2607 2003-03-21 Mr. Sam <mrsam@courier-mta.com>
2608
2609 * maildir/maildirpurgetmp.c (maildir_purge): Fix maildir_purge(".");
2610
2611 2003-03-20 Mr. Sam <mrsam@courier-mta.com>
2612
2613 * rfc2047.c (rfc2047_encode_callback): Fix MIME encoding of "_".
2614
2615 2003-03-19 Mr. Sam <mrsam@courier-mta.com>
2616
2617 * imapscanclient.c (imapscanfail): Explicit error message referring
2618 to potential fam daemon problems.
2619 (imapscanfail): Include login id in error message.
2620
2621 * unicode/iso2022jp.c (read_jis_char): Fix various bugs that result
2622 in crashes, as a result of invalid character sequences.
2623
2624
2625 1.7.1
2626
2627 2003-03-11 Mr. Sam <mrsam@courier-mta.com>
2628
2629 * rfc1035/configure.in: Grok Solaris 8 IPv6 header files.
2630
2631 2003-03-10 "Håvard Lygre" <hklygre@online.no>
2632
2633 * authlib/authmysqllib.c (auth_mysql_getuserinfo): Fix NULL ptr result
2634 from mysql.
2635
2636 2003-03-10 Mr. Sam <mrsam@courier-mta.com>
2637
2638 * imapscanclient.c (do_imapscan_maildir2): Create tmp file for the new
2639 courierimapuiddb in the folder's tmp dir.
2640
2641 * authlib/preauthvchkpw.c (auth_vchkpw_pre): Disable open_smtp_relay()
2642 until fixed by authvchkpw devs.
2643
2644 2003-03-07 Mr. Sam <mrsam@courier-mta.com>
2645
2646 * tcpd/libcouriertls.c (tls_transfer): Fix error recovery - an aborted
2647 connection negotiation may result in an infinite loop with some
2648 versions of OpenSSL.
2649
2650 2003-03-06 Mr. Sam <mrsam@courier-mta.com>
2651
2652 * maildir/maildirpurgetmp.c (maildir_purge): Adjust quota when
2653 autopurging Trash --with-trashquota.
2654
2655 * rfc2045/configure.in: rename config.h to rfc2045_config.h
2656
2657 * unicode/configure.in: rename config.h to unicode_config.h
2658
2659 2003-03-01 Mr. Sam <mrsam@courier-mta.com>
2660
2661 * rfc2045/reformime.c (read_message): Use rfc2045_parse_partial() to
2662 properly size-up content without trailing newlines.
2663
2664 * rfc2045/rfc2646create.c (rfc2646create_free): Emit the trailing
2665 newline.
2666
2667 * configure.in: Conditionally probe if SA_NOCLDWAIT could be used.
2668
2669 * pcpd.c (start): Use SA_NOCLDWAIT, if blessed by configure.
2670
2671 2003-02-28 Mr. Sam <mrsam@courier-mta.com>
2672
2673 * storeinfo.c (do_copy_quota_calc): Fix quota calculation when
2674 COPYing a deleted message.
2675
2676 2003-02-26 Mr. Sam <mrsam@courier-mta.com>
2677
2678 * pop3dserver.c (savepop3dlist): Recover from out-of-disk-space
2679 situation.
2680
2681 * imapd.dist.in (IMAP_TRASHFOLDERNAME): Explain how purging works.
2682
2683 * authlib/success.c (authsuccess): More clear error message.
2684
2685 2003-02-22 Toshikazu Ichikawa <ichikawa@toshikazu.org>
2686
2687 * unicode/iso2022jp.pl: iso2022jp update.
2688
2689 2003-02-19 Mr. Sam <mrsam@courier-mta.com>
2690
2691 * imapd.c (do_expunge): Autocreate INBOX.Trash only if
2692 IMAP_MOVE_EXPUNGE_TO_TRASH is enabled.
2693
2694 2003-02-17 Mr. Sam <mrsam@courier-mta.com>
2695
2696 * imapd.c (do_imap_command): Transform a DELETE of a shared folder
2697 to an UNSUBSCRIBE.
2698 (do_imap_command): STATUS won't autosubscribe to a shared folder.
2699
2700 * authenticate_auth.c (send_auth_reply): Fix SASL response to empty
2701 client input.
2702
2703 2003-02-15 Mr. Sam <mrsam@courier-mta.com>
2704
2705 * msgenvelope.c (msgenvelope): Default reply-to and sender
2706 headers in ENVELOPE reply to the from header (partially reverting
2707 2002-08-26, which fixed Pine's misbehavior, but broke Mulberry).
2708
2709 2003-02-12 Mr. Sam <mrsam@courier-mta.com>
2710
2711 * INSTALL: Document that --with-trashquota breaks make check.
2712 imap/configure.in: If any option is used which is known to break
2713 make check, issue a friendly error message telling the organic
2714 entity to rerun configure without those options.
2715
2716 * imaplogin.c (main): Add [CAPABILITY] tag to the initial greeting.
2717
2718 * imapd.c (do_imap_command): Recalculate maildir quota after
2719 a DELETE or RENAME (new function: maildir_quote_recalculate).
2720
2721 2003-02-09 dave@britiany.com
2722
2723 * search.c (search_internal): Optimize SORT by not parsing the
2724 entire message, when we only want the headers.
2725
2726 2003-02-09 Mr. Sam <mrsam@courier-mta.com>
2727
2728 * maildir/maildirwatch.c: Fix timeout.
2729
2730 2003-01-30 Mr. Sam <mrsam@courier-mta.com>
2731
2732 * rfc2045/rfc2045encode.c: clean up base64/qp encoding.
2733
2734 * tcpd/configure.in: Handle kerberized openssl 0.9.7
2735
2736 * configure.in: Fix search path for binaries.
2737
2738 1.7.0
2739
2740 2003-01-25 Mr. Sam <mrsam@courier-mta.com>
2741
2742 * Final maildir creation revision.
2743
2744 * authlib/authmysqllib.c (append_username): Same fix as authpgsqllib,
2745 even though mysql does not need it.
2746
2747 2003-01-23 Mr. Sam <mrsam@courier-mta.com>
2748
2749 * authlib/authpgsqllib.c (append_username): Escape 's too.
2750
2751 * imapd.c (main): Implement IMAP UIDPLUS (RFC 2359)
2752 (do_imap_command): Reset renamed folders' UIDVs.
2753
2754 * imapd.dist.in (IMAP_CAPABILITY): Add UIDPLUS
2755
2756 2003-01-20 Mr. Sam <mrsam@courier-mta.com>
2757
2758 * maildir/maildircreate.c (maildir_tmpcreate_fd): Move maildir create
2759 retry loop into maildir_tmpcreate_fd.
2760
2761 2003-01-19 Mr. Sam <mrsam@courier-mta.com>
2762
2763 * maildir/maildircreate.c: Removed old maildir creation code.
2764
2765 * maildir/maildircreateh.c: Optimizations.
2766
2767 2003-01-17 Mr. Sam <mrsam@courier-mta.com>
2768
2769 * imapd.c (maildir_mkfilename): Fix maildir_mkfilename().
2770
2771 * storeinfo.c (copy_message): Use fixed maildir_mkfilename().
2772
2773 * imapscanclient.c (imapscan_maildir): Convert to the new maildir
2774 creation library.
2775 (do_imapscan_maildir2): Ditto.
2776
2777 * maildir/maildirshared.c: Convert to the new maildir creation
2778 library.
2779
2780 2003-01-16 Mr. Sam <mrsam@courier-mta.com>
2781
2782 * pop3dserver.c (savepop3dlist): Converted to the new maildir
2783 creation library.
2784
2785 * maildir/deliverquota: Initial implementation of new maildir
2786 creation library. Converted deliverquota.
2787
2788 2003-01-14 Mr. Sam <mrsam@courier-mta.com>
2789
2790 * imap/storeinfo.c (copy_message): Use maildir_movetmpnew.
2791
2792 * imap/imapd.c (store_mailbox): Use maildir_movetmpnew.
2793
2794 * maildir/deliverquota.c (deliver): Use maildir_movetmpnew.
2795
2796 * maildir/maildircreateh.c (maildir_try_create_hostname): Include
2797 microseconds in message filename.
2798 (maildir_movetmpnew): Encapsulate move from tmp to new by trying
2799 link first, and only if it fails with exdev try rename.
2800
2801
2802 2003-01-13 Mr. Sam <mrsam@courier-mta.com>
2803
2804 * pop3dserver.c (sortmsgs): Only update courierpop3dsizeslist when
2805 necessary.
2806
2807 2003-01-08 Mr. Sam <mrsam@courier-mta.com>
2808
2809 * imapd.c (main): imapd --version prints my version.
2810
2811 * pop3dserver.c: Create courierpop3dsizelist to cache POP3-sizes of
2812 individual messages.
2813
2814 2003-01-03 "Thomas T. Thai" <tom@minnesota.com>
2815
2816 * Custom query patch for authpgsql
2817
2818 1.6.2
2819
2820 2002-12-23 Mr. Sam <mrsam@courier-mta.com>
2821
2822 * configure.in: Use ulimit -v instead of ulimit -d, if available.
2823
2824 * rfc2047.c (rfc2047_encode_callback): Fix hang on
2825 locales where isspace(U+0x00A0) is true.
2826
2827 2002-12-20 Mr. Sam <mrsam@courier-mta.com>
2828
2829 * imapd.c (do_imap_command): Clarify DELETE error message.
2830 (do_imap_command): Prohibit RENAME of currently open mailbox.
2831
2832 2002-12-18 Mr. Sam <mrsam@courier-mta.com>
2833
2834 * imap: move hier_rename into libmaildir.a, for recycling.
2835
2836 * testsuite: Use 'touch -t'
2837
2838 2002-12-11 Brian Candler <B.Candler@pobox.com>
2839
2840 * tcpd/tcpd.c: couriertcpd -denymsg option
2841
2842 2002-12-11 John D. Rowell <jdrowell@exerciseyourbrain.com>
2843
2844 * md5/md5_hash.c: Rename md5_has to md5_hash_courier (namespace
2845 conflict with postgres).
2846
2847 2002-11-25 Mark Anthony Lisher <markal@markal.net>
2848
2849 * imaptoken.c (nexttoken_nouc_okbracket): LOGIN parsing patch.
2850
2851 2002-11-23 Mr. Sam <mrsam@courier-mta.com>
2852
2853 * courier-imap.spec.in: Include UTF-8, now that new Red Hat installs
2854 use UTF-8.
2855
2856 2002-11-23 John Morrissey <jwm@horde.net>
2857
2858 * Move quota warning code from deliverquota to libmaildir.a,
2859 to be reused by maildrop.
2860
2861 2002-11-17 Mr. Sam <mrsam@courier-mta.com>
2862
2863 * unicode/mkultcase.pl: Fix titlecase mapping.
2864
2865 * unicode: all unicode functions now receive the ptr to the unicode
2866 structure as their first argument. Added a flags field to the unicode
2867 structure to describe charset properties (multibyte, utf, uses shift
2868 sequences...)
2869
2870 2002-11-17 Mr. Sam <mrsam@courier-mta.com>
2871
2872 * courier-imap.sysvinit.in: Fix pop3 cert file check.
2873
2874 1.6.1
2875
2876 2002-11-07 Mr. Sam <mrsam@courier-mta.com>
2877
2878 * imapscanclient.c (imapscan_maildir): Recover if FAM dies.
2879
2880 2002-10-31 Aki Immonen <aki@golftalma.fi>
2881
2882 * imapd.c (main): Configurable Trash Folder Name.
2883
2884 2002-10-29 Mr. Sam <mrsam@courier-mta.com>
2885
2886 * courier.spec.in (BuildPreReq): Fix build prereqs.
2887
2888 1.6
2889
2890 2002-10-25 Mr. Sam <mrsam@courier-mta.com>
2891
2892 * pop3dcapa.c (pop3dcapa): It's STLS.
2893
2894 * imap/pop3 - fixed initscripts, again.
2895
2896 2002-10-23 Mr. Sam <mrsam@courier-mta.com>
2897
2898 * thread.c (printthread): Fix THREAD REFERENCES.
2899
2900 2002-10-15 Mr. Sam <mrsam@courier-mta.com>
2901
2902 * authlib/debug.c (auth_debug_login_init): Make it work if
2903 DEBUG_LOGIN_ENV is not set.
2904
2905 2002-10-14 Olivier Girondel <olivier.girondel@cw.com>
2906
2907 * authlib/authldaplib.c (authldap_read_config): LDAP_FILTER fix.
2908
2909 2002-10-13 Mr. Sam <mrsam@courier-mta.com>
2910
2911 * imapd.c (imapenhancedidle): Added libfam-based IDLE implementation.
2912 Updated man page.
2913
2914 2002-10-07 Mr. Sam <mrsam@courier-mta.com>
2915
2916 * Major toolchain upgrade - gcc 3.2, automake 1.6, autoconf 2.53,
2917 libtool 1.4.
2918
2919 2002-10-03 Mr. Sam <mrsam@courier-mta.com>
2920
2921 * maildir/*.c: various cleanups.
2922
2923 2002-10-02 Mr. Sam <mrsam@courier-mta.com>
2924
2925 * imapd.c (dirsync): new configure switch --with-dirsync.
2926
2927 2002-09-30 Ragnar Kurm <ragnar@uninet.ee>
2928
2929 * Added DEBUG_LOGIN_ENV to imap and pop3 config files that produces
2930 additional login diagnostics
2931
2932 2002-09-28 Mr. Sam <mrsam@courier-mta.com>
2933
2934 * imapd.c (noop): Return updated message flags if called within IDLE,
2935 even with workaround enabled.
2936
2937 * courier-imap.spec.in: add fam-devel to build-prereq.
2938
2939 * IMAP_USELOCKS: Switch from flocks to dotlocks. Time out stale
2940 network dotlocks after 120 seconds. Use FAM, if available, while
2941 waiting on a dotlock file to go away. Update config file comments.
2942
2943 * maildir/maildirwatch.[ch]: Abstraction layer wrapping SGI's
2944 File Alteration Monitor, if it's available.
2945
2946 * imapd.c (do_imap_command): Handle IDLE in authenticated state as,
2947 essentially, a NOOP. Enable IDLE in the default CAPABILITIES
2948 string (but keep the same version string, so sysconftool will not
2949 touch an existing CAPABILITIES setting on an upgrade).
2950
2951 2002-09-21 Mr. Sam <mrsam@courier-mta.com>
2952
2953 * autobloat: check for gmake, check for gcc in top level makefile.
2954
2955 2002-09-20 Mr. Sam <mrsam@courier-mta.com>
2956
2957 * msgbodystructure.c (msgbodystructure): Update for the RFC 2231-
2958 related changed in librfc2045.a
2959
2960 2002-09-14 Mr. Sam <mrsam@courier-mta.com>
2961
2962 * pop3login.c (main): Allow spaces in POP3 login id and password.
2963
2964 2002-09-10 Alessandro Vesely <vesely@tana.it>
2965
2966 * authlib/authdaemond.c: Fix error logging.
2967
2968 2002-09-09 Mr. Sam <mrsam@courier-mta.com>
2969
2970 * search.c (fill_search_veryquick): Fix search for \Draft
2971
2972 2002-08-28 Mr. Sam <mrsam@courier-mta.com>
2973
2974 * pop3login.c (starttls): For completeness sake, implement POP3 STLS.
2975
2976 2002-08-26 Mr. Sam <mrsam@courier-mta.com>
2977
2978 * msgenvelope.c (msgenvelope): Do not default reply-to and sender
2979 headers in ENVELOPE reply to the from header, and do not default
2980 the name to the address if the name is not specified for an address.
2981
2982 2002-08-19 Mr. Sam <mrsam@courier-mta.com>
2983
2984 * authlib/authdaemond.c (start): After 5 mins of inactivity call
2985 the newly-defined module 'idle' function.
2986
2987 2002-08-13 Brian Candler <B.Candler@pobox.com>
2988
2989 * Makefile.am: cleanup
2990
2991 2002-08-12 Mr. Sam <mrsam@courier-mta.com>
2992
2993 * tcpd/libcouriertls.c: fix error reporting (esp at shutdown)
2994
2995 * maildir/maildirsearch.h: added a C++ wrapper.
2996
2997 * imap/utf8.c: cleanup, exposed internal unicode-to-utf8 conversion
2998 function.
2999
3000 2002-08-11 Mr. Sam <mrsam@courier-mta.com>
3001
3002 * imap: cleanup: extracted text search macros into a separate module
3003 in the maildir directory (for potential code reuse).
3004
3005 2002-08-11 Brian Candler <B.Candler@pobox.com>
3006
3007 * initscripts/*.in: fix paths.
3008
3009 2002-08-08 Mr. Sam <mrsam@courier-mta.com>
3010
3011 * rfc2047.c (rfc2047_encode_callback): Fix MIME encoding of words
3012 with = and ? characters.
3013
3014 1.5.3
3015
3016 2002-08-07 Mr. Sam <mrsam@courier-mta.com>
3017
3018 * tcpd/libcouriertls.c (tls_destroy): it looks like SSL_CTX_free
3019 might invoke the ssl/tls cache call. Free tls_info after
3020 SSL_CTX_free comes back. Explicitly call SSL_CTX_flush_sessions to
3021 work around a bug in OpenSSL which blows away application data prior
3022 to calling SSL_CTX_flush_sessions in SSL_CTX_free().
3023
3024 2002-08-05 Mr. Sam <mrsam@courier-mta.com>
3025
3026 * courier-imap.spec.in: Fix %is_not_mandrake.
3027
3028 1.5.2
3029
3030 2002-08-01 Mr. Sam <mrsam@courier-mta.com>
3031
3032 * tcpd/tcpd.c (sighup): Reestablish handler for SIGHUP, after catching
3033 it.
3034
3035 2002-07-26 Mr. Sam <mrsam@courier-mta.com>
3036
3037 * authlib/configure.in: Fix invocation of pg_config.
3038
3039 * authlib/authsyschangepwd.c (dochangepwd): Call setsid() and
3040 setlogin() on OpenBSD (make webmail passwd change work).
3041
3042 2002-07-15 Mr. Sam <mrsam@courier-mta.com>
3043
3044 * tcpd/tlscache.c (doadd): Fix tlscache file corruption on platforms
3045 where sizeof(off_t) != sizeof(size_t).
3046
3047 2002-07-14 Mr. Sam <mrsam@courier-mta.com>
3048
3049 * maildir/maildirquota.c (maildir_quota_delundel_end): Typo fix.
3050
3051 * libcouriertls: By George, I think I've got it. Implement
3052 orderly SSL/TLS session shut down. The libcouriertls library is now
3053 fully event-driven; SSL/TLS errors are properly reported; an error
3054 is reported if the SSL/TLS connection was closed without an orderly
3055 shut down.
3056
3057 2002-07-13 Mr. Sam <mrsam@courier-mta.com>
3058
3059 * libcouriertls: The saga continues. Suppress whining on
3060 SSL_ERROR_ZERO_RETURN
3061
3062 2002-07-12 Mr. Sam <mrsam@courier-mta.com>
3063
3064 * couriertls: more cleanup, better error reporting.
3065
3066 * couriertls: Fix tlscache make check
3067
3068 2002-07-09 Mr. Sam <mrsam@courier-mta.com>
3069
3070 * Renamed logger to courierlogger
3071
3072 2002-07-07 Yu Kobayasi <mail@yukoba.jp>
3073
3074 * shift-JIS encoding. Search in iso-2022-jp and shift-JIS.
3075
3076 2002-07-02 "Chris Rodgers" <courier-imap@bulk.rodgers.org.uk>
3077
3078 * Patch to let the server run on Cygwin. Modified, untested,
3079 patch uses AC_CANONICAL_HOST to replace the ':' character with '!'
3080 for -cygwin targets.
3081
3082 2002-06-30 Mr. Sam <mrsam@courier-mta.com>
3083
3084 * fetch.c (dofetchmsgbody): Fix BODY[n] for message/rfc822 MIME
3085 sections.
3086
3087 2002-06-27 Mr. Sam <mrsam@courier-mta.com>
3088
3089 * courier-imap.spec.in: some tweaks for mandrake.
3090
3091 2002-06-26 Mr. Sam <mrsam@courier-mta.com>
3092
3093 * authlib/authldap: fix a parsing bug that causes a crash if
3094 LDAP_MAILROOT is left undefined.
3095
3096 2002-06-23 Mr. Sam <mrsam@courier-mta.com>
3097
3098 * couriertls: code cleanup of the SSL/TLS wrapper. Code cleaned up
3099 and modularized as libcouriertls.a, with a mini-API library.
3100 Implemented SSL/TLS session caching.
3101
3102 * imapd.dist, pop3d.dist: new configuration settings for the
3103 SSL/TLS session cache file.
3104
3105 2002-06-27 Mr. Sam <mrsam@courier-mta.com>
3106
3107 * authlib/authldaplib.c: Fix null ptr deref in new LDAP_MAILROOT
3108 code.
3109
3110 1.5
3111
3112 2002-06-13 Mr. Sam <mrsam@courier-mta.com>
3113
3114 * maildir/maildirquota.h: Renamed maildirsize struct member to
3115 maildirsizefile - some compiler is having a cow about a struct member
3116 having the same name as the struct.
3117
3118 2002-06-12 Mr. Sam <mrsam@courier-mta.com>
3119
3120 * outbox.c (check_outbox): Bug fix.
3121
3122 * maildir/maildirquota.c (do_maildir_openquotafile): Fix quotas
3123 on FreeBSD (fcntl("/dev/null", F_SETFL) doesn't work on FreeBSD)
3124
3125 * authlib/cryptpassword.c: Added missing include of stdlib.h
3126
3127 2002-06-11 Mr. Sam <mrsam@courier-mta.com>
3128
3129 * authlib/authldaprc: Added LDAP_MAILROOT
3130
3131 2002-06-10 Mr. Sam <mrsam@courier-mta.com>
3132
3133 * outbox.c (check_outbox): More detailed error reporting.
3134
3135 2002-06-09 Mr. Sam <mrsam@courier-mta.com>
3136
3137 * numlib/strofft.c: off_t may be negative.
3138
3139 * +++ maildirquota API update +++
3140
3141 + allows documented way to change the set quota on a maildir
3142
3143 + major internal cleanup, established a sane API library
3144
3145 External changes:
3146
3147 + quota no longer set by deliverquota or MAILDIRQUOTA, new -q
3148 option to maildirmake. Both deliverquota, maildrop, and
3149 Courier now read the maildirsize no matter what, and observe
3150 the quota
3151
3152 + maildirmake and deliverquota now installed by the Courier-IMAP,
3153 maildrop, and sqwebmail standalone builds.
3154
3155 + updated README.maildirquota, and man pages to reflect all these
3156 changes.
3157
3158 2002-06-06 Mr. Sam <mrsam@courier-mta.com>
3159
3160 * thread.c (printos): Sort threads by starting thread date.
3161
3162 2002-06-05 Mr. Sam <mrsam@courier-mta.com>
3163
3164 * pop3dserver.c (main): Check the sticky bit, just like IMAP.
3165
3166 2002-06-05 James F.Hranicky <jfh@cise.ufl.edu>
3167
3168 * imapd.c (main): Log to stderr if failed to chdir to the maildir.
3169
3170 2002-06-02 Mr. Sam <mrsam@courier-mta.com>
3171
3172 * outbox.c: Added #include <signal.h>
3173
3174 2002-05-29 Mr. Sam <mrsam@courier-mta.com>
3175
3176 * outbox.c: Added the OUTBOX feature.
3177
3178 2002-05-26 Ron van den Dungen <ron@dse.nl>
3179
3180 * authlib/authmysqllib.c (do_connect): Fix server connect via
3181 filesystem socket.
3182
3183 1.4.6
3184
3185 2002-05-22 Mr. Sam <mrsam@courier-mta.com>
3186
3187 * fetch.c (dofetchmsgbody): Fix BODY[x.MIME] replies for
3188 message/rfc822 sections.
3189
3190 2002-05-20 Mr. Sam <mrsam@courier-mta.com>
3191
3192 * rfc822_parsedt.c (rfc822_parsedt): Ignore obviously invalid years
3193 (someone else can worry about Y10K).
3194
3195 2002-05-09 Mr. Sam <mrsam@courier-mta.com>
3196
3197 * authlib/Makefile.am (libauth-modules): Get rid of some cruft in
3198 the Makefile.
3199
3200 2002-05-08 Norihisa Washitake <nori@washitake.com>
3201
3202 * iso-2022-jp charset update
3203
3204 2002-05-07 Keith T. Garner <kgarner@kgarner.com>
3205
3206 * authlib: Additional LDAP authentication filter.
3207
3208 2002-05-07 John Morrissey <jwm@horde.net>
3209
3210 * authlib: Solaris LDAP fix.
3211
3212 1.4.5
3213
3214 2002-04-30 Mr. Sam <mrsam@courier-mta.com>
3215
3216 * unicode/big5.c (c2u): Fixed a crash caused by invalid big5 chars.
3217
3218 2002-04-17 Norihisa Washitake <nori@washitake.com>
3219
3220 * iso-2022-jp unicode map.
3221
3222 2002-04-07 Mr. Sam <mrsam@courier-mta.com>
3223
3224 * rfc822/rfc822_mkdate.c (rfc822_mkdate_buf): Explicit (int) cast gets
3225 the file compiled under Cygwin.
3226
3227 2002-04-06 Mr. Sam <mrsam@courier-mta.com>
3228
3229 * imapd.c (do_imap_command): If SELECT fails, close the old folder
3230 anyway.
3231
3232 1.4.4
3233
3234 2002-03-26 Mr. Sam <mrsam@courier-mta.com>
3235
3236 * authlib/authldaplib: Added an option to implement two-stage
3237 LDAP lookups, for authentication purposes.
3238
3239 2002-03-22 Mr. Sam <mrsam@courier-mta.com>
3240
3241 * courier/doc/FAQ.html: Added Tru64 gmake check failure.
3242
3243 2002-03-21 Mr. Sam <mrsam@courier-mta.com>
3244
3245 * authlib/configure.in: Fix broken vpopmail_home test.
3246
3247 2002-03-14 Brian Candler <B.Candler@pobox.com>
3248
3249 * maildir/maildirmkdir.c (maildir_mkdir): Create tmp subdir last,
3250 when creating a maildir.
3251
3252 2002-03-13 James Collier <james.collier@fifthweb.net>
3253
3254 * tcpd/starttls.c (ssl_verify_callback): Fix client peer certificate
3255 check.
3256
3257 2002-03-06 Mr. Sam <mrsam@courier-mta.com>
3258
3259 * waitlib/configure.in: Fix check for sighold() function.
3260
3261 2002-03-01 "Peter C. Norton" <spacey-courier@lenin.nu>
3262
3263 * Added authlib/README.authpostgres.html
3264
3265 2002-03-01 Mr. Sam <mrsam@courier-mta.com>
3266
3267 * fix configure and makefile scripts for autoconf 2.52 and automake 1.5
3268
3269 2002-02-27 Mr. Sam <mrsam@courier-mta.com>
3270
3271 * authlib/configure.in: Replace test ~vpopmail (home directory) with
3272 a Perl script (~username not supported by Solaris's sh).
3273
3274 1.4.3
3275
3276 2002-02-25 Mr. Sam <mrsam@courier-mta.com>
3277
3278 * imap/imapd.c: fix GETQUOTAROOT response
3279
3280 * imap/testsuite: dump imapd output to a file instead of /dev/null,
3281 BSD's fcntl(O_NONBLOCK) chokes on /dev/null.
3282
3283 2002-02-24 Mr. Sam <mrsam@courier-mta.com>
3284
3285 * imapscanclient.c: fix UIDNEXT in the STATUS response to take into
3286 account new mail.
3287
3288 2002-02-20 Mr. Sam <mrsam@courier-mta.com>
3289
3290 * couriertls, imapd: set socket into non-blocking mode, to correctly
3291 implement POSIX select() semantics.
3292
3293 2002-02-17 Mr. Sam <mrsam@courier-mta.com>
3294
3295 * searchinfo.c: allow numerical SEARCH strings without quoting.
3296
3297 2002-02-15 Mr. Sam <mrsam@courier-mta.com>
3298
3299 * authlib/configure.in: Link against $CRYPTLIBS when probing for
3300 open_smtp_relay()
3301
3302 2002-02-02 Mr. Sam <mrsam@courier-mta.com>
3303
3304 * rfc1035: Fix rfc1035search functions if the original rfc1035
3305 library call did not use a FAQDN.
3306
3307 2002-02-02 Ken Jones <kbo@inter7.com>
3308
3309 * authvchkpw update: vpopmail 5.2
3310
3311 2002-01-28 Mr. Sam <mrsam@courier-mta.com>
3312
3313 * imapscanclient.c (do_imapscan_maildir2): Fix uninitialized nextuid
3314 variable when folder without courierimapuiddb is opened read-only.
3315
3316 2002-01-25 Mr. Sam <mrsam@courier-mta.com>
3317
3318 * rfc2045/rfc2045.c (doline): Fix incorrect calculation of the
3319 end of a multipart MIME section that's inside another multipart
3320 MIME section.
3321
3322 1.4.2
3323
3324 2002-01-17 Bob Pepin <bob@gms.lu>
3325
3326 * thread.c (printthread): Fix THREAD REFERENCES.
3327
3328 2002-01-12 Mr. Sam <mrsam@courier-mta.com>
3329
3330 * authlib/authldaplib.c (auth_ldap_do): Escape punctuation in
3331 userid string.
3332
3333 2002-01-08 Tomas Fasth <tomas@euronetics.se>
3334
3335 * imapd.c (imapidle): Call noop() before entering IDLE.
3336
3337 2002-01-08 Oliver Hitz <oliver@net-track.ch>
3338
3339 * authlib/Makefile.am (libauth-modules): Fix Makefile build
3340 with no authentication modules selected.
3341
3342 2002-01-07 Pawel Wilk <siefca@kernel.pl>
3343
3344 * authlib/authmysqllib.c: Major update to the authmysql driver
3345 that adds the option to create hand-crafted SQL queries.
3346
3347 1.4.1
3348
3349 2001-12-28 Iustin Pop <iusty@intensit.de>
3350
3351 * authldap: if LDAP_TLS and LDAP_AUTHBIND were enabled, use TLS for
3352 the authenticated bind also.
3353
3354 2001-12-23 Mr. Sam <mrsam@courier-mta.com>
3355
3356 * Converted couriertls and couriertcpd man pages to Docbook.
3357
3358 2001-12-22 Mr. Sam <mrsam@courier-mta.com>
3359
3360 * authpam: Fix failover to the next auth module if userid not found.
3361
3362 2001-12-08 Mr. Sam <mrsam@courier-mta.com>
3363
3364 * Converted maildir documentation to Docbook SGML
3365
3366 2001-12-07 Mr. Sam <mrsam@courier-mta.com>
3367
3368 * search.c (fill_search_header): Fix THREAD REFERENCES.
3369
3370 1.4.0
3371
3372 2001-12-04 Mr. Sam <mrsam@courier-mta.com>
3373
3374 * mailboxlist.c (do_mailbox_list): Get rid of an illegal free()
3375 triggered by LIST #allfolders.
3376
3377 2001-12-01 Mr. Sam <mrsam@courier-mta.com>
3378
3379 * imap: convert imapd documentation to Docbook SGML
3380
3381 2001-11-28 Bill Shupp <hostmaster@shupp.org>
3382
3383 * imaplogin.c (do_imap_command): Added AUTHSERVICE configuration
3384 setting.
3385
3386 2001-11-27 Mr. Sam <mrsam@courier-mta.com>
3387
3388 * authlib/authmod.c (authmod_success): Adjust error reporting after
3389 a failed exec().
3390
3391 2001-11-25 John Morrissey <jwm@horde.net>
3392
3393 * authlib/authldaplib.c: make user uid/gid optional, default to global
3394 uid/gid.
3395
3396 2001-11-24 Mr. Sam <mrsam@courier-mta.com>
3397
3398 * Begin conversion of man/html documentation to Docbook SGML.
3399 Created a docbook directory in CVS, and added it to all modules.
3400 This directory won't get packaged into tarballs, the tarballs will
3401 have just the compiled man and html documentation, and the docbook
3402 directory (module name 'docbook-scripts') will contain only the
3403 scripts to convert SGML to HTML and MAN.
3404
3405 * Converted authlib and userdb man/html pages to sgml.
3406
3407 2001-11-23 Mr. Sam <mrsam@courier-mta.com>
3408
3409 * msgenvelope.c (read_header): Suppress \r-s from ENVELOPE
3410 reply, because of Outlook.
3411
3412 2001-11-23 Brian Candler <B.Candler@pobox.com>
3413
3414 * pop3dserver.c: Reply with -ERR if maildir does not exist.
3415
3416 2001-11-18 Mr. Sam <mrsam@courier-mta.com>
3417
3418 * authlib/authldaplib.c (auth_ldap_do): Fix incorrect soft/hard
3419 error indication for a failure in ldap_search_st().
3420
3421 2001-11-17 Mr. Sam <mrsam@courier-mta.com>
3422
3423 * configure.in (all): use a different test for -lnsl and -lsocket
3424 that works on BSD/I.
3425
3426 2001-11-13 Mr. Sam <mrsam@courier-mta.com>
3427
3428 * imapd.c (append_flags): Use maildir flag D for Drafts
3429
3430 2001-11-13 "Oliver Blasnik" <oliver.blasnik@nextra.de>
3431
3432 * Partial support of the IMAP QUOTA extension.
3433
3434 1.3.12
3435
3436 2001-11-03 Jeff King <peff@peff.net>
3437
3438 * STATUS won't clear the \Recent flag.
3439
3440 2001-11-03 Abhijit Menon-Sen <ams@wiw.org>
3441
3442 * rfc2045/rfc2045.c (rfc2045_free): Plug a memory leak.
3443
3444 2001-11-01 Mr. Sam <mrsam@courier-mta.com>
3445
3446 * clean up rfc1035, md5, sha1, libhmac, configure scripts.
3447
3448 2001-10-14 Mr. Sam <mrsam@courier-mta.com>
3449
3450 * courier-imap.spec.in: sqwebmail.spec: stub out call to libtoolize in
3451 configure.in - messes up RH 7.1 builds
3452
3453 2001-10-07 Mr. Sam <mrsam@courier-mta.com>
3454
3455 * msgenvelope.c (msgappends): If we find illegal 8-bit header content,
3456 re-encode it using MIME encoding that specifies x-unknown charset.
3457
3458 2001-10-06 Vittorio Ballestra <vittorio.ballestra@infogestnet.it>
3459
3460 * Added experimental PostgreSQL authentication module.
3461
3462 2001-10-01 Mr. Sam <mrsam@courier-mta.com>
3463
3464 * Parser: allow [ and ] characters in search strings.
3465
3466 2001-09-27 Mr. Sam <mrsam@courier-mta.com>
3467
3468 * courier-imap: fix INSTALL_SCRIPT in the top level Makefile
3469
3470 2001-09-22 Mr. Sam <mrsam@courier-mta.com>
3471
3472 * storeinfo,c: return UID in FETCH response to a UID STORE. Problem
3473 noted by Nic Ferrier <nferrier@tf1.tapsellferrier.co.uk>
3474
3475 2001-09-18 Mr. Sam <mrsam@courier-mta.com>
3476
3477 * Enigma update - rebuild autoconf/automake.
3478
3479 1.3.11
3480
3481 2001-09-10 HIROSHI OOTA <oota@LSi.nec.co.jp>
3482
3483 * imapscanclient.c (fnamcmp): Explicitly sort maildir filenames
3484 by timestamp value first.
3485
3486 2001-09-05 Mr. Sam <mrsam@courier-mta.com>
3487
3488 * testsuitefix.pl: Sort expected LSUB output, in addition to LIST.
3489
3490 2001-08-30 Mr. Sam <mrsam@courier-mta.com>
3491
3492 * fetch.c (dofetchmsgbody): Correctly find message/rfc822 inside
3493 another message/rfc822.
3494
3495 2001-08-29 James Knight <jknight@fuhm.net>
3496
3497 * search.c (search_evaluate): Speed up searches by correcting an
3498 inefficient evaluation search order.
3499
3500 2001-08-26 Mr. Sam <mrsam@courier-mta.com>
3501
3502 * Added unicode mappings for windows-874/tis-620. Refresh to
3503 Unicode 3.1.1
3504
3505 2001-08-25 Lars Uffmann <lu@mediaways.net>
3506
3507 * imapd.c (do_imap_command): Rename entire folder hierarchy even if
3508 no trailing "."
3509
3510 1.3.10
3511
3512 2001-08-15 Mr. Sam <mrsam@courier-mta.com>
3513
3514 * authldap: Added experimental LDAP_TLS option.
3515
3516 * logger: use LOG_WARNING and LOG_ALERT for WARN: and ALERT: messages.
3517
3518 * couriertcpd: added -warn option - warn message logged when number
3519 of connections exceeded. Alert message logged when number of
3520 connections is at its maximum.
3521
3522 2001-08-12 Mr. Sam <mrsam@courier-mta.com>
3523
3524 * authlib/authldaplib.c (ldapopen): LDAP_OPT_DEREF is not available
3525 in openldap 1.0
3526
3527 2001-08-10 Mr. Sam <mrsam@courier-mta.com>
3528
3529 * tcpd/tcpd.c (run): Add perror() after a failed exec.
3530
3531 2001-08-07 Mr. Sam <mrsam@courier-mta.com>
3532
3533 * Fix --with-random configure.in option. Problem noted by William
3534 Hue <williamhue@telus.net>
3535
3536 1.3.9
3537
3538 2001-08-06 Mr. Sam <mrsam@courier-mta.com>
3539
3540 * maildir/maildirshared.c (maildir_shared_subscribe): Fix a bug in
3541 shared folder subscribe logic.
3542 Problem noted by Vojtech Karny <karny@datalite.cz>
3543
3544 * maildir/maildirmake.c (add): Explicitly fseek() to start of file,
3545 for system where fopen("a+") initially positions to EOF.
3546 Problem noted by Vojtech Karny <karny@datalite.cz>
3547
3548 2001-08-05 Mr. Sam <mrsam@courier-mta.com>
3549
3550 * Re-sync with the Courier tree (some gcc3 compilation fixes,
3551 authdaemon now always built by default).
3552
3553 2001-08-01 Mr. Sam <mrsam@courier-mta.com>
3554
3555 * authlib/authmysql.h: Drop mysql/ prefix from paths to mysql header
3556 files (should be included in mysql_config).
3557
3558 2001-07-29 Mr. Sam <mrsam@courier-mta.com>
3559
3560 * imapd.rc.in, pop3d.rc.in: - source the non-ssl config file after the
3561 ssl config file.
3562
3563 2001-07-25 inter7.com
3564
3565 * Update authvchkpw module.
3566
3567 2001-07-24 Mr. Sam <mrsam@courier-mta.com>
3568
3569 * imaplogin.c (do_imap_command): Generate an error message after
3570 a SASL authentication failure.
3571
3572 2001-07-24 Christophe Sollet <csollet@coleebris.com>
3573
3574 * authlib/authldaplib.c (authldap_read_config): Add LDAP_DEREF option
3575 to authldaprc that sets the LDAP_OPT_DEREF option.
3576
3577 2001-07-24 Mr. Sam <mrsam@courier-mta.com>
3578
3579 * maildir/maildirquota.c (qcalc): Prevent a division by 0 if
3580 someone specified a quota of 0.
3581
3582 2001-07-13 Mr. Sam <mrsam@courier-mta.com>
3583
3584 * imapd.dist.in (AUTHMODULES_ORIG): Fixed typo noted by
3585 kherron@newsguy.com
3586
3587 2001-07-07 Mr. Sam <mrsam@courier-mta.com>
3588
3589 * authlib/authdaemond.c (start): close stdin/stdout/stderr after
3590 becoming a background process.
3591
3592 2001-07-03 Mr. Sam <mrsam@courier-mta.com>
3593
3594 * imap, pop3, webmail, ldap, mysql: minor changes to the default
3595 settings in associated configuration files, to accomodate webadmin.
3596 Be sure to verify your system configuration after doing make
3597 install-configure
3598
3599 2001-07-01 Mr. Sam <mrsam@courier-mta.com>
3600
3601 * authlib/authldap.schema: Added - a sample LDAP schema.
3602
3603 2001-06-25 Mr. Sam <mrsam@courier-mta.com>
3604
3605 * Disable MSIE 6.0 smart tags in all html files
3606
3607 2001-06-23 Mr. Sam <mrsam@courier-mta.com>
3608
3609 * tcpd/tcpd.c (doit): Fix initialization of socklen_t.
3610
3611 2001-06-22 Mr. Sam <mrsam@courier-mta.com>
3612
3613 * imapd.c (do_imap_command): Add TRYCREATE response to APPEND
3614 (modified version of Olivier Girondel <ogirondel@isdnet.net>'s
3615 patch).
3616
3617 2001-06-22 Matthias Andree <ma@dt.e-technik.uni-dortmund.de>
3618
3619 * pop3login.c (main): Do not abort after a SASL failure.
3620
3621 2001-06-22 Mr. Sam <mrsam@courier-mta.com>
3622
3623 * configure.in: SCO needs -lsocket for inet_addr().
3624
3625 1.3.8.2
3626
3627 2001-06-13 "Sergei V. Rozinov" <rvs@monster.icc.ru>
3628
3629 * tcpd/tcpd.c (doit): Fix uninitialized arg to accept().
3630
3631 2001-06-06 Mr. Sam <mrsam@courier-mta.com>
3632
3633 * imapd.c (emptytrash): The IMAP_EMPTYTRASH setting can now
3634 be set to automatically purge multiple folders. Loosely based
3635 on a suggestion by John Morrissey <jwm@horde.net>.
3636
3637 * liblock/lockdaemon.c: fix several improper tests for failed fopen().
3638
3639 2001-05-20 "John A. Barbuto" <jbarbuto@bizland-inc.com>
3640
3641 * Add quota support to authmysql.
3642
3643 2001-05-12 Mr. Sam <mrsam@courier-mta.com>
3644
3645 * authlib/authlib.html.in: authldap and authmysql are now battle-
3646 tested, and are no longer marked "experimental".
3647
3648 *.dist.in: Document ability to listen on multiple ports. Bump
3649 the version tag of the PORT/SSLPORT setting, since it's not
3650 backwards/forwards compatible (and let sysconftool do its job).
3651
3652 2001-05-11 Mr. Sam <mrsam@courier-mta.com>
3653
3654 * couriertcpd: reworked code to create and accept connection on
3655 multiple sockets. If succeed in creating a wildcard IPv6 socket,
3656 try to create a wildcard IPv4 socket on the same port (xBSD's
3657 stack does not accept IPv4 connections on wildcard IPv6 sockets).
3658
3659 1.3.8.1
3660
3661 2001-05-10 Mr. Sam <mrsam@courier-mta.com>
3662
3663 * imapd.c (is_reserved): Remove INBOX.Drafts from list of reserved
3664 folders.
3665
3666 1.3.8
3667
3668 2001-04-24 "Roland Hänel" <rh@ginko.net>
3669
3670 * authlib/authmysql: applied patch to replace the remaining
3671 hardcoded mysql table field names with configurable values from
3672 authmysqlrc.
3673
3674 2001-04-19 Mr. Sam <mrsam@courier-mta.com>
3675
3676 * imapd.c (get_flagname): Fix spelling of the experimental \Draft
3677 flag.
3678
3679 * msgenvelope.c (doenva): Fix garbage ENVELOPE reply for certain
3680 corrupted mail headers.
3681
3682 2001-04-18 Mr. Sam <mrsam@courier-mta.com>
3683
3684 * authlib: added sha1 cipher, configured CRAM-SHA1 authentication.
3685
3686 * imapd-ssl.dist.in (TLS_STARTTLS_PROTOCOL): Created this setting
3687 that'll be used instead of TLS_PROTOCOL for the IMAP STARTTLS
3688 command. Ditto for POP3
3689
3690 2001-04-17 Mr. Sam <mrsam@courier-mta.com>
3691
3692 * tcpd/starttls.c (create_tls): Log an error if
3693 PEM_read_bio_DHparams() call fails.
3694
3695 * rfc822.c (rfc822t_alloc): Explicitly cast arg to (void *).
3696
3697 * authlib/configure.in (AUTHLDAP): Test for -lresolv before -lber.
3698
3699 2001-04-14 Mr. Sam <mrsam@courier-mta.com>
3700
3701 * authlib/authldap: minor fixes for OpenLDAP 2.0.7. Suppress a
3702 spurious ldap_get_values msg. Fail authentication completely if LDAP
3703 server is unreachable (installing of falling over to the next
3704 authentication mode). IMPORTANT: some people might be relying on
3705 this behavior to fail over to another authentication module. Make
3706 sure to note this in release notes.
3707
3708 2001-04-13 Mr. Sam <mrsam@courier-mta.com>
3709
3710 * couriertls: reformat information returned by -printx509. Break
3711 down X.509 subjects by field, also provide information on the
3712 negotiated cipher.
3713
3714 2001-04-12 Mr. Sam <mrsam@courier-mta.com>
3715
3716 * SSL simplification project: Replace TLS_PEERCERTDIR and TLS_OURCACERT
3717 with a single TLS_PEERCERTS setting.
3718
3719 * Cosmetic fixes. Replace // with /* */ comments in some .c files
3720 and replace return of void datatype with an explicit return.
3721 Other misc stuff too.
3722
3723 2001-04-11 Mr. Sam <mrsam@courier-mta.com>
3724
3725 * userdb/makeuserdb.html.in: Fix some documentation typos.
3726
3727 * authlib/authldaplib.c: refuse to authenticate if we end up running
3728 as uid 0 or gid 0, this indicates a config file problem.
3729
3730 * courier-imap.spec.in: update for RPM 4.0.2. Fix broken ldap and
3731 mysql subpackaging.
3732
3733 2001-04-10 Mr. Sam <mrsam@courier-mta.com>
3734
3735 * imapd.c (imapidle): Renamed idle() to imapidle(), to avoid clashing
3736 with libc5.
3737
3738 2001-04-08 Mr. Sam <mrsam@courier-mta.com>
3739
3740 * authlib/authmysqllib.c (auth_mysql_getuserinfo): Better error
3741 recovery when the mysql server goes down (from
3742 oliver.blasnik@nextra.de).
3743
3744 2001-04-07 Mr. Sam <mrsam@courier-mta.com>
3745
3746 * rfc2045/rfc2045.c (rfc2045_mimepos): Fix a long-time glitch where
3747 a garbled message with no body will have its headers logically placed
3748 in the body section, and the supposed headers will be NULL -- this was
3749 a benign artifact of the parsing logic.
3750
3751 * Dropped TLS_ALLOWSELFSIGNEDCERTS option from config files - not
3752 used by Courier-IMAP.
3753
3754 * Added /usr/local/bin to AC_PATH macros in all configure.in scripts.
3755
3756 2001-04-06 Alexei Batyr' <lehel@pcmag.ru>
3757
3758 * imapd.c (get_message_flags): Fix reporting of \Draft flag.
3759
3760 1.3.7
3761
3762 2001-04-01 Mr. Sam <mrsam@courier-mta.com>
3763
3764 * imapd.c (get_message_flags): Fix potential NULL ptr deref.
3765
3766 2001-03-26 Mr. Sam <mrsam@courier-mta.com>
3767
3768 * authlib/preauthvchkpw.c: add configure script probe for the
3769 existence of vlogauth()
3770
3771 1.3.6
3772
3773 2001-03-23 Mr. Sam <mrsam@courier-mta.com>
3774
3775 * Makefile.am: Fix RANDFILE in imapd.cnf and pop3d.cnf
3776
3777 * search.c (is_in_set): Bugfix: make search 1:* work correctly.
3778
3779 2001-03-16 Mr. Sam <mrsam@courier-mta.com>
3780
3781 * rfc1035.h: drop include of netinet6/in6.h
3782
3783 2001-03-13 Mr. Sam <mrsam@courier-mta.com>
3784
3785 * index.html: add a link to the article in SecurityFocus
3786
3787 2001-03-11 Mr. Sam <mrsam@courier-mta.com>
3788
3789 * pop3dserver.c (acctout): Fix POP3 LOGOUT going out to syslog as
3790 an error.
3791
3792 2001-02-28 Mr. Sam <mrsam@courier-mta.com>
3793
3794 * authlib/authmysqllib.c (doconnect): Applied a modified version
3795 of a patch by John Callaghan <jpc@msu.edu> that periodically
3796 checks for a dead MySQL connection, and resets it.
3797
3798 2001-02-28 Mark Anthony Lisher <markal@iname.com>
3799
3800 * tcpd/starttls.c (dossl): read CERTFILE.ipaddress if it exists, to
3801 allow multiple certs for multihomed SSL servers.
3802
3803 2001-02-28 Tommi Virtanen <tv-nospam-42b34d@hq.yok.utu.fi>
3804
3805 * imaptoken.c (do_readtoken): abort if client imap token was truncated
3806 due to excessive size.
3807
3808 1.3.5
3809
3810 2001-02-26 Tomas Fasth <tomas@euronetics.se>
3811 * mainloop.c (mainloop): cut off clients that keep sending
3812 junk, non-stop.
3813
3814 2001-02-21 Mr. Sam <mrsam@courier-mta.com>
3815
3816 * imapd.c (idle): Applied IDLE patch (Tomas Fasth), with some
3817 modifications.
3818
3819 2001-02-20 Mr. Sam <mrsam@courier-mta.com>
3820
3821 * fetch.c (rfc822): Additional FETCH attributes need to be included
3822 in transfer totals
3823
3824 1.3.4
3825
3826 2001-02-18 Mr. Sam <mrsam@courier-mta.com>
3827
3828 * maildir/deliverquota.c: replace snprintf with sprintf, for better
3829 compatibility.
3830
3831 2001-02-15 Mr. Sam <mrsam@courier-mta.com>
3832
3833 * unicode/utf8.c (unicode_utf8_tou): Fixed memory corruption in
3834 UTF8 module.
3835
3836 2001-02-11 Mr. Sam <mrsam@courier-mta.com>
3837
3838 * imapd.c (do_imap_command): log number of bytes transferred from
3839 headers and body (in LOGOUT and DISCONNECTED syslog messages).
3840
3841 * pop3dserver.c (main): log number of bytes transferred by TOP and
3842 RETR commands (in LOGOUT, DISCONNECTED, and TIMEOUT messages).
3843
3844 2001-02-09 Mr. Sam <mrsam@courier-mta.com>
3845
3846 * Patch: tobi@tobi.nu - replace --with-dyn-mysql with --with-mysql-libs
3847 and --with-mysql-includes
3848
3849 2001-02-08 Chris Seawood <cls@radiate.com>
3850
3851 * authlib: Added check for open_smtp_relay in -lvpopmail
3852
3853 2001-02-06 Mr. Sam <mrsam@courier-mta.com>
3854
3855 * Makefile.am: remove -MAKEFLAGS
3856
3857 2001-02-02 Mr. Sam <mrsam@courier-mta.com>
3858
3859 * authlib/authpam.c: update for Linux-PAM 0.74 (get rid of
3860 pam_set_item PAM_AUTHTOK).
3861
3862 * imap/configure.in: probe for existence of /etc/pam.d/system-auth,
3863 and use that instead of pam_pwdb.so
3864
3865 2001-01-25 Mr. Sam <mrsam@courier-mta.com>
3866
3867 * Added a hook for passing some additional flags to the
3868 RPM spec script, using --define 'xflags [flags]' option.
3869
3870 1.3.2
3871
3872 2001-01-25 Mr. Sam <mrsam@courier-mta.com>
3873
3874 * Fix big5/gb2312 conversion logic.
3875
3876 2001-01-19 Mr. Sam <mrsam@courier-mta.com>
3877
3878 * Fix authldap connection failure recovery (Brian Candler)
3879
3880 2001-01-16 Mr. Sam <mrsam@courier-mta.com>
3881
3882 * Update INSTALL to reflect new upgrade instructions.
3883
3884 1.3.1
3885
3886 2001-01-14 Mr. Sam <mrsam@courier-mta.com>
3887
3888 * imaprefs.c: updates for thread-06.txt
3889
3890 2001-01-13 Mr. Sam <mrsam@courier-mta.com>
3891
3892 * authlib/configure.in: added --with-dyn-mysql option to specify
3893 MySQL installation directory to dynamically link with vpopmail.
3894
3895 * imaptoken.h (IT_MAX_ATOM_SIZE): Set to 16384. Should be enough
3896 (UW-IMAP limits entire commands to 8192).
3897
3898 2001-01-01 Mr. Sam <mrsam@courier-mta.com>
3899
3900 * imapd.c (do_imap_command): Do not expunge upon CLOSE of a read-only
3901 mailbox.
3902
3903 * Makefile: tweak testsuite to sort LIST output (meant to do that
3904 a while ago).
3905
3906 2000-12-27 Mr. Sam <mrsam@courier-mta.com>
3907
3908 * tcpd.c: Fixed a compilation error in --without-tcpddns option.
3909
3910 2000-12-25 Mr. Sam <mrsam@courier-mta.com>
3911
3912 * deliverquota: optionally deliver a warning message to the maildir
3913 when quota is about to be exceeded.
3914
3915 1.3.0
3916
3917 2000-12-22 Mr. Sam <mrsam@courier-mta.com>
3918
3919 * reftest.c: fix dependency on qsort order.
3920
3921 2000-12-19 Mr. Sam <mrsam@courier-mta.com>
3922
3923 * courier-imap.spec.in: add -q flag to %setup to suppress lots of
3924 stuff we don't care for.
3925
3926 * unicode/README tells you how to go about adding code for additional
3927 character sets.
3928
3929 2000-12-16 Mr. Sam <mrsam@gwl.email-scan.com>
3930
3931 * rfc2045: boundary= in a non-multipart MIME section would screw
3932 things up.
3933
3934 2000-12-15 Mr. Sam <mrsam@courier-mta.com>
3935
3936 * unicode: add gb2312 encoding.
3937
3938 2000-12-12 Mr. Sam <mrsam@courier-mta.com>
3939
3940 * unicode: add big5 encoding.
3941
3942 2000-12-11 Mr. Sam <mrsam@courier-mta.com>
3943
3944 * imapd.c: Call setlocale() to make sure we use ASCII ctype
3945 conversions.
3946
3947 * thread/sort: some logic adjustments.
3948
3949 2000-12-10 Mr. Sam <mrsam@gwl.email-scan.com>
3950
3951 * Added sysconftool support.
3952
3953 2000-12-04 Mr. Sam <mrsam@courier-mta.com>
3954
3955 * authldaplib.c - fix check for openldap V2.
3956
3957 2000-11-30 Mr. Sam <mrsam@courier-mta.com>
3958
3959 * Make LDAP_DOMAIN optional.
3960
3961 2000-11-29 Mr. Sam <mrsam@courier-mta.com>
3962
3963 * pop3login.c (main): remove " " from terminating token for PASS.
3964
3965 * pop3dserver.c: Fix error handling of bad message numbers+others.
3966
3967 2000-11-27 Mr. Sam <mrsam@courier-mta.com>
3968
3969 * pop3dserver.c: Fix a bug in TOP command.
3970
3971 * imapd.c: Implement hierarchical folder rename.
3972
3973 2000-11-26 Mr. Sam <mrsam@courier-mta.com>
3974
3975 * Migrated rfc822t_alloc() with rfc822t_alloc_new().
3976
3977 2000-11-23 Mr. Sam <mrsam@courier-mta.com>
3978
3979 * authenticate_auth.c: missing read_eol() breaks multiresponse SASL
3980 methods.
3981
3982 2000-11-20 Mr. Sam <mrsam@courier-mta.com>
3983
3984 * preauthvchkpw.c update.
3985
3986 1.2.3
3987
3988 2000-11-15 Mr. Sam <mrsam@courier-mta.com>
3989
3990 * Plug a file descriptor leak in quota update code.
3991
3992 2000-11-14 Mr. Sam <mrsam@courier-mta.com>
3993
3994 * imapscanclient.c: patch to ignore write failures to the IMAP UID
3995 file.
3996
3997 * thread.c/testsuite*: updated to draft-ietf-imapext-thread-04
3998 (case-sensitive message-id comparison).
3999
4000 * ChangeLog: converted to emacs format.
4001
4002 Added support for SASL PLAIN authentication.
4003
4004 1.2.2
4005 Minor fixes -- bad stat in maildir_try_create, move chdir to homedir
4006 after setting uid/gid.
4007
4008 Fixed OpenLDAP memory leak.
4009
4010 1.2.1
4011
4012 Fixed typo in label of authvchkpw module.
4013
4014 Fixed ENVELOPE to properly handle legacy RFC-822 group list
4015 notation.
4016
4017 1.2
4018 Authentication overhaul. authdaemond split into alternate versions,
4019 one for each database back end. The original "authdaemond" replaced
4020 by a shell script that checks for the installed authdaemond
4021 alternates, and run whatever's installed. The idea is to allow
4022 LDAP and MySQL support to be separately packaged, and for LDAP and
4023 MySQL support to be added simply by installing the extra package
4024 (the base packaged for the garden variety and the LDAP/MySQL back
4025 end remains the same). See NEWS for more information, as well
4026 as "Alternative authdaemond modules" section in INSTALL.
4027
4028 "custom" authentication module - a stub for site-specific
4029 authentication code.
4030
4031 Bundled POP3 server from the main Courier package. The Courier-IMAP
4032 now includes a compatible POP3 server (by popular request).
4033
4034 POP3 over SSL support is included.
4035
4036 Added character sets windows-1250 through windows-1258.
4037
4038 Added character sets IBM437, IBM775, IBM850, IBM852, IBM855, IBM857,
4039 IBM860 through IBM866, and IBM869.
4040
4041 Optimized downloading of large attachments for Netscape Messenger.
4042
4043 1.1
4044
4045 Use mysql_real_connect(), if available.
4046
4047 Strip () from name of mail envelope sender that uses old-style header
4048 format, by calling rfc822_getname instead of rfc822_gettok.
4049
4050 Reengineer couriertcpd locking mechanism, that permits SO_REUSEADDR.
4051 New locking mechanism uses liblock's daemon functions. Removed
4052 --forcebind option, obsolete. Added --stop and --restart to couriertcpd.
4053
4054 standalone: new startup scripts. Must manually stop the server if
4055 upgrading.
4056
4057 Fix a minor interoperability issue with Linux, IMAP_MOVE_EXPUNGE_TO_TRASH,
4058 and sqwebmail (sqwebmail moves mail to trash by creating a hard link,
4059 when we expunge we attempt to rename the first link to the second one,
4060 in Linux rename() returns 0, but NOTHING happens).
4061
4062 Bug fix -- bad BODYSTRUCTURE response when a multipart content-type
4063 does not have any sections.
4064
4065 THREAD semantics updated to ietf-imapext-thread-03.
4066
4067 THREAD REFERENCES bug fixes.
4068
4069 Add unicode-based support for non-English character sets.
4070
4071 1.0 Performance tweaks.
4072
4073 Spec file tweaked to build under RH 7.x
4074
4075 IMAP_CHECK_ALL_FOLDERS option added.
4076
4077 Implement IMAP SUBSCRIBE/UNSUBSCRIBE for private folders.
4078
4079 More questions for the FAQ
4080
4081 Reorder authentication modules.
4082
4083 Subject stripping for THREAD and SORT updated to definition in
4084 draft-ietf-imapext-thread-02.txt ... Except for the broken part. Should
4085 be interesting to see if someone spots the obvious glaring error, there.
4086
4087 Experimental THREAD REFERENCES implementation.
4088
4089 Fixed a bug in THREAD ORDEREDSUBJECT which skipped over messages without
4090 a subject header.
4091
4092 Fixed a typo in IMAP_CAPABILITY -- should be THREAD= not THREAD-, oops.
4093
4094 0.99 SSL related bug fixes.
4095
4096 Option to use IMAP STARTTLS instead of IMAP over SSL.
4097
4098 Tweaks to the configuration for better detection of MySQL support.
4099
4100 0.36
4101 Berkeley DB 3 support.
4102
4103 Complete rewrite of authmysql. New authmysql module supports CRAM-MD5
4104 authentication.
4105
4106 CHILDREN extension. A compatibility switch for legacy behavior in order
4107 to keep Pine happy.
4108
4109 Creation of debug file is now controlled entirely by IMAPDEBUGFILE.
4110
4111 Replaced dependency on stunnel with couriertls.
4112
4113
4114 0.35
4115 Remove spurious space in LIST response.
4116
4117 IPv6 fixes.
4118
4119 Fix bug that can be used to crash authdaemon with malformed CRAM-MD5
4120 authentication requests.
4121
4122
4123 0.34
4124 Implemented THREAD and SORT extensions.
4125
4126 Set ulimit for the spawned processes.
4127
4128 0.33a
4129 Various minor bug fixes in authentication code. Many memory leaks
4130 plugged. CRAM-MD5 with LDAP now works correctly.
4131
4132 0.33 Added IMAP_MOVE_EXPUNGE_TO_TRASH.
4133
4134 Added IPv6 support.
4135
4136 Bug fixes.
4137
4138 IA-64 patches.
4139
4140 Slightly changed semantics of maildir file creation. Will abort on
4141 errors other than ENOENT. DJB is wrong - if you keep looping
4142 you'll get stuck in an infinite loop if, say, directory permissions
4143 are wrong. Don't loop on non-ENOENT errors. Abort instead.
4144
4145 0.32 Added the authdaemon module. Minor fixes for gnus and mutt related
4146 issues. Global shared folders.
4147
4148 0.31 Added SSL support, via stunnel (tested with stunnel 3.8).
4149 Added a FAQ.
4150 Found and fixed a potential crash caused by messages with corrupted
4151 MIME headers.
4152
4153 0.29-30 mysql patch applied. Fixed irrelevant typo in maildir_folderdir().
4154 authldap failed init bug fix.
4155
4156 Fixed a bug that sent an incorrect terminating character if a partial
4157 fetch ended precisely in the middle of a CRLF boundary.
4158
4159 Miscellaneous bug fixes in miscellaneous authentication modules.
4160
4161 Added workaround for Netscape crash if it receives an attachment
4162 with a filename that contains backslashes.
4163
4164 Added workaround for Pine's failure to quote userids and passwords
4165 that contain brackets.
4166
4167 0.28 Explicit check to block compilation as root. Compile Courier-IMAP as
4168 non-root, then su to root before running make install.
4169
4170 0.27 A new configure option: --enable-workarounds-for-imap-client-bugs
4171 This enables a couple of workarounds for a bunch of stupid bugs in
4172 several IMAP clients.
4173
4174 Nicholas Lee's vchkpw2userdb patch.
4175
4176 Modified RPM build script. authldap is not going to be explicitly
4177 suppressed. If you have OpenLDAP client libraries installed, authldap
4178 authentication is going to be built and installed. Remove authldap from
4179 imapd.config if you don't want it.
4180
4181 Shared folder support (weeeeeeeeeee...). Courier-IMAP will install a
4182 slightly modified maildirmake command, for that purpose, and a manual
4183 page. Read the manual page.
4184
4185 Added beta MySQL module.
4186
4187 Kill all current sessions when the listener process stops.
4188
4189 If the home directory has the sticky bit set, don't log in - maintenance
4190 lock.
4191
4192 0.26 Enhancements to authldap and authvchkpw - now links with the vpopmail
4193 library, so MySQL-based authentication is now supported!
4194
4195 0.25a More tweaks to authlib - Makefile + authvchkpw. Fix bogus failure in
4196 make check in certain timezones.
4197
4198 0.25 A minor bug fix release. Fixed a core dump in authldap. Fixed some
4199 spurious make check failures in gdbmobj/bdbobj. Other minor makefile
4200 and configure changes. Major editing of INSTALL and README that will
4201 hopefully make them easier to understand.
4202
4203 0.24 Fixed several userdb bugs introduced in 0.23. Oops.
4204
4205 0.23 Added experimental LDAP authentication support. Don't set \Seen on
4206 fetch of RFC822.HEADER
4207
4208 0.22 authvchkpw fix. Miscellaneous fixes for Outlook Express. Other minor
4209 bug fixes.
4210
4211 0.21 Trying to fix problems that I think are caused by some cranky glibc/libc
4212 stdio implementations (seek errors, and such). Refreshed userdb/authlib
4213 from RCS (changes fix bugs in code that Courier-IMAP never uses, but I
4214 like to keep things synced up). Twiddled some docs.
4215
4216 Added NAMESPACE capability. This removed several configuration steps.
4217
4218 0.20 Additional enhancements to the authentication library -- implementation
4219 of framework to support additional SASL forms of authentication.
4220 Completed implementation of FETCH parameters that were left in a TO DO
4221 state. Gave up, and made LIST=LSUB, for all intents and purposes.
4222
4223 0.19 Added CRAM-MD5 support. Changed location of some installed files, in
4224 order to better comply with common GNU standards. Take care when
4225 upgrading:
4226
4227 prefix/lib is pretty much now renamed as prefix/libexec
4228 most stuff in prefix/bin is moved to prefix/sbin
4229 imapd.config is now installed in prefix/etc, instead of prefix/lib
4230 authentication modules are installed in prefix/libexec/authlib
4231
4232 All the initialization and other scripts have been modified to look
4233 for files in new locations.
4234
4235 Several bug fixes.
4236
4237 0.18 Many bug fixes for problems experienced on some systems due to type
4238 mismatches.
4239 Do not expunge on LOGOUT.
4240 Changed Red Hat RPMS to default to automatically start imapd on
4241 system bootup (previously, you had to manually edit imapd.config and flip
4242 the switch)
4243
4244 0.17 Potential tiny array overflow in redhat-crypt-md5.c, causing a failure
4245 in md5test.c. Many configuration and portability changes.
4246 Intentionally omitted code that complained about some bad commands
4247 received from an IMAP client. Certain IMAP clients sometimes send
4248 malformed commands, which we reject with an error, causing the client
4249 to complain. Apparently some IMAP servers silently ignore this error.
4250 I may put this code back later.
4251
4252 0.16 Oops. Typo fixed in the userdb script.
4253
4254 0.15 Removed AC_LANGCPLUSPLUS from some configure.in's. They were giving
4255 some gccs some grief. Fixed authvchkpw so that it actually works as
4256 advertised.
4257
4258 0.14 Initial release