"Fossies" - the Fresh Open Source Software Archive 
Member "courier-1.2.2/ChangeLog" (17 Feb 2023, 232714 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 1.2.2
2
3 2023-02-15 Sam Varshavchik <mrsam@courier-mta.com>
4
5 * maildrop: remove unsafe SIGALRM handler.
6
7 2023-02-14 Sam Varshavchik <mrsam@courier-mta.com>
8
9 * imap: No longer accept a non-standard single
10 flag name instead of a parenthesized flag list to APPEND, due to
11 ambiguity with the UTF8 extension.
12
13 1.2.1
14
15 2022-12-17 Sam Varshavchik <mrsam@courier-mta.com>
16
17 * tcpd/libcouriertls.c (load_dh_params): OpenSSL 3 does not
18 report an error when PEM_read_bio_Parameters_ex does not find
19 any DH parameters, handle that.
20
21 1.2.0
22
23 2022-11-28 Sam Varshavchik <mrsam@courier-mta.com>
24
25 * Switch to libidn2.
26
27 * Debian/Ubuntu: update lintian overrides
28
29 2022-11-23 Sam Varshavchik <mrsam@courier-mta.com>
30
31 * make install: replace absolute links with relative links.
32
33 1.1.11
34
35 2022-11-12 Sam Varshavchik <mrsam@courier-mta.com>
36
37 * Add a MISC section in the esmtpd-ssl configuration file, for
38 stashing any custom config settings.
39
40 * Adjust deb packaging. Check /etc/lsb-release and include the
41 distribution release in the deb package version, to faciliate
42 updating to the same version of the package in an updated release.
43
44 Fix build dependencies.
45
46 * Update rpm packaging. Remove constructs for historical rpm-based
47 Linux distributions.
48
49
50 2022-11-06 Sam Varshavchik <mrsam@courier-mta.com>
51
52 * Courier: fix potential crash when multiple messages are cancelled
53 quickly.
54
55 1.1.10
56
57 2022-06-03 Sam Varshavchik <mrsam@courier-mta.com>
58
59 * courier/submit2.C (SubmitFile::trapsignals): Remove signal-unsafe
60 signal handling code.
61
62 * Update deliverquota man page.
63
64
65 1.1.9
66
67 2022-05-23 Sam Varshavchik <mrsam@courier-mta.com>
68
69 * openssl 3.0 updates.
70
71 2022-05-22 Sam Varshavchik <mrsam@courier-mta.com>
72
73 * gcc 12 and autotools update. Fix minor use after free bugs:
74 when showing links to decoded PGP attachments, and if the
75 calendar module is enabled, and the calendaring server runs out
76 of disk space; when updating the index file. Freed memory was
77 read before any additional allocations took place.
78
79 2022-04-17 Sam Varshavchik <mrsam@courier-mta.com>
80
81 * courier, courier-imap: remove the --disable-root-check configure
82 option, now that make check can deal with it.
83
84 2022-04-14 Sam Varshavchik <mrsam@courier-mta.com>
85
86 * Add scripts to create installable .deb packages, update
87 documentation.
88
89 2022-04-03 Sam Varshavchik <mrsam@courier-mta.com>
90
91 * courier: Webadmin refresh: convert the UI to UTF-8, integrate with
92 systemd. Replace the suid root cgi-bin binary with a sqwebmail-style
93 daemon that communicates with a non-privileged cgi-bin-invoked
94 binary over a filesystem socket. Update courier.sysvinit to start
95 webadmin accordingly.
96
97 Other makefile fixes.
98
99 2022-03-06 Sam Varshavchik <mrsam@courier-mta.com>
100
101 * Do not use hardcoded uids and gids that are established at
102 compile time, look up courier/mail uid/gid at runtime. Remove
103 --with-mailuid and --with-mailgid internal options, that are
104 used internally. They must always be set to the corresponding
105 user and groupname, and this is now looked up at runtime.
106
107 Based on a patch by Ondřej Surý <ondrej@sury.org>.
108
109 2022-03-03 Sam Varshavchik <mrsam@courier-mta.com>
110
111 * imap/authenticate_auth.c: Fix broken SASL authentication.
112
113 2022-01-22 Sam Varshavchik <mrsam@courier-mta.com>
114
115 * Fixes to Makefile to workaround test suite failures related to
116 permission checking when make check runs as root.
117
118 1.1.8
119
120 2022-01-16 Arjen de Korte <build+github@de-korte.org>
121
122 * Fix linking failure on some Linux distributions.
123
124 1.1.7
125
126 2022-01-16 Sam Varshavchik <mrsam@courier-mta.com>
127
128 * Fix linking failure on some Linux distributions.
129
130 1.1.6
131
132 2022-01-16 Sam Varshavchik <mrsam@courier-mta.com>
133
134 * imap, sqwebmail: fix minor memory leaks. If valgrind is installed,
135 "make check" will run it to check for memory leaks.
136
137 2022-01-15 Sam Varshavchik <mrsam@courier-mta.com>
138
139 * imap/pop3: use ALARM to kill couriertls if the server process
140 terminates but openssl hangs trying to shut down the socket.
141
142 2021-11-26 Sam Varshavchik <mrsam@courier-mta.com>
143
144 * maildrop: update to pcre2.
145
146 2021-11-11 Sam Varshavchik <mrsam@courier-mta.com>
147
148 * submit: do not reject null MX records when validing the
149 sending IP address against the sender's HELO/EHLO identifier.
150
151 2021-09-16 Sam Varshavchik <mrsam@courier-mta.com>
152
153 * courier/bofh.c (chkusersubdom): Fix bofh badfrom checking.
154
155 1.1.5
156
157 2021-08-01 Sam Varshavchik <mrsam@courier-mta.com>
158
159 * imapd.c (bye): Just call exit(), we may be in an inconstent state.
160
161 2021-06-15 Sam Varshavchik <mrsam@courier-mta.com>
162
163 * courier/module.esmtp/libesmtp.c (esmtp_mailfrom_cmd_idna): do not
164 indicate SMTPUTF8 for a non-UTF8 message.
165
166 * pop3login: use unbuffered reads, handle our own buffering.
167
168 2021-05-23 Milan Obuch <courier-users@dino.sk>
169
170 * configure in module.esmtp respects --with-certsdir
171
172 2021-05-21 Sam Varshavchik <mrsam@courier-mta.com>
173
174 * Minor code tweaks, make it compleable with -Wall -Werror.
175
176 1.1.4
177
178 2021-05-18 Sam Varshavchik <mrsam@courier-mta.com>
179
180 * Fix use after free in a rare situation when the system hostname
181 is intentionally set to "*.{domain}" for the hostname-dependent
182 configuration feature.
183
184 1.1.3
185
186 2021-04-01 Sam Varshavchik <mrsam@courier-mta.com>
187
188 * pop3: pro-forma POP3 LANG extension.
189
190 2021-03-28 Sam Varshavchik <mrsam@courier-mta.com>
191
192 * courier/module.esmtp/Makefile.am: Fix inconsistent permissions on
193 the symlink to the courieresmtpd binary.
194
195 * webadmin/webadmin.pl.in: Allow specific IP addresses specified
196 in unsecuredok.
197
198 * pop3d-ssl.dist.in (TLS_STARTTLS_PROTOCOL): Remove duplicate entry
199 in the pop3d-ssl configuration file.
200
201 * tcpd/tcpd.c (docheckblocklist): Fix DNSBL lookuup logic.
202 1.1.2
203
204 2021-03-25 Sam Varshavchik <mrsam@courier-mta.com>
205
206 * make*: Individual files that did not end in a newline were
207 not handled correctly.
208
209 * imap: adjust error message.
210
211 1.1.1
212
213 2021-03-20 Arjen de Korte <build+github@de-korte.org>
214
215 * Fix TLS_CACHEfile naming mismatch.
216
217 2021-03-20 Sam Varshavchik <mrsam@courier-mta.com>
218
219 * courier.spec.in: fix erroneous force of GnuTLS build.
220
221 1.1.0
222
223 2021-02-23 Sam Varshavchik <mrsam@courier-mta.com>
224
225 * Implement support for the TLS ALPN extension.
226
227 2021-02-18 Sam Varshavchik <mrsam@courier-mta.com>
228
229 * Replace FAM/Gamin with inotify.
230
231 * Install the maildirwatch tool.
232
233 * Remove the IMAP_ENHANCEDIDLE setting from the imapd configuration
234 file.
235
236 * Spec file: use triggers to restart courier after an upgrade, going
237 forward.
238
239 1.0.16
240
241 2021-03-01 Sam Varshavchik <mrsam@courier-mta.com>
242
243 * Fix handling of bad DNS queries.
244
245 1.0.15
246
247 2021-02-05 Sam Varshavchik <mrsam@courier-mta.com>
248
249 * spec file: explicitly add dependencies on gzip.
250
251 * maildir/maildircache.c (create_cache_name): Fix UTF-8 addresses.
252
253 2020-12-18 Sam Varshavchik <mrsam@courier-mta.com>
254
255 * Additional Unicode fixes. Implement hostname-dependent
256 configuration.
257
258 2020-12-15 Sam Varshavchik <mrsam@courier-mta.com>
259
260 * Fix RSET logic issues.
261
262 2020-12-06 Sam Varshavchik <mrsam@courier-mta.com>
263
264 * openssl: Add TLS_PROTOCOL setting to disable client-initiated
265 renegotiation.
266
267 2020-11-30 Sam Varshavchik <mrsam@courier-mta.com>
268
269 * imap: send corrupted Unicode alerts only for new messages.
270
271 2020-11-04 Sam Varshavchik <mrsam@courier-mta.com>
272
273 * spec file: add BuildRequires: %{__make} (will be required in F34).
274
275 * courier/courierd.C (courierbmain): Fix logical bug in handling
276 a submitdelay-ed message.
277
278 2020-10-27 Sam Varshavchik <mrsam@courier-mta.com>
279
280 * waitlib: fix testwait.c failure with LTO enabled on F33.
281
282 * pop3login.c: fflush before STARTLS.
283
284 * sqwebmail/webpgp: update for current gpg version.
285
286 1.0.14
287
288 2020-05-18 Sam Varshavchik <mrsam@courier-mta.com>
289
290 * courier-authlib API update.
291
292 2020-05-09 Sam Varshavchik <mrsam@courier-mta.com>
293
294 * tcpd/libcouriertls.c (nonsslerror): Spurious message when
295 if connection closed during handshake.
296
297 2020-05-07 Alessandro Vesely <vesely@tana.it>
298
299 * rfc1035/rfc1035search.c: More back-end support for simultaneous
300 DNS queries.
301
302 * Fix logic that converts domain names to lowercase.
303
304 * tcpd/tcpd.c: Use simultaneous DNS queries to query for A and TXT
305 records at the same time.
306
307 2020-04-26 Sam Varshavchik <mrsam@courier-mta.com>
308
309 * Fixed defaults in the mkesmtpdcert script.
310
311 1.0.13
312
313 2020-04-24 Sam Varshavchik <mrsam@courier-mta.com>
314
315 * configure.ac: Remove inadvertent debugging message.
316
317 1.0.12
318
319 2020-04-21 Alessandro Vesely <vesely@tana.it>
320
321 * Add back-end support for simultaneous DNS queries
322
323 2020-04-21 Sam Varshavchik <mrsam@courier-mta.com>
324
325 * Add AC_PROG_CC_C99 to configure
326
327 1.0.11
328
329 2020-04-20 Sam Varshavchik <mrsam@courier-mta.com>
330
331 * Fix TLS client connection bug regression in 1.0.10
332
333 1.0.10
334
335 2020-04-19 Sam Varshavchik <mrsam@courier-mta.com>
336
337 * Fix corruption of logged local mail addresses when using aliases.
338
339 2020-02-25 FlorianMickler <florian@mickler.org>
340
341 * tcpd/starttls.c (dossl): Start client after negotiating SSL,
342 in order to allow EXTERNAL client certificate authentication.
343
344 2019-12-05 Sam Varshavchik <mrsam@courier-mta.com>
345
346 * Fix virtual IP and hostname handling when using GnuTLS for SSL.
347
348 * Add -noidentlookup option to the default TCPDOPTS.
349
350 2019-11-10 Sam Varshavchik <mrsam@courier-mta.com>
351
352 * configure.ac: Update for Fedora 31 RPM.
353
354 2019-10-08 Sam Varshavchik <mrsam@courier-mta.com>
355
356 * tcpd/libcouriertls.c (verifypeer): Use openssl to verify
357 hostnames.
358
359 2019-10-02 Sam Varshavchik <mrsam@courier-mta.com>
360
361 * When making both IPv4 and IPv6 mx lookups, ignore one of them
362 SOFTFAILing if the other one succeeds.
363
364 2019-09-05 Sam Varshavchik <mrsam@courier-mta.com>
365
366 * smtp, imap, pop3: include remote port TCP port number together
367 with the IP address, in log messages.
368
369 1.0.9
370
371 2019-08-28 Sam Varshavchik <mrsam@courier-mta.com>
372
373 * Update documentation in the imapd and pop3d ssl config flies.
374
375 * Fix the RPM spec file for CentOS 7
376
377 2019-07-30 Sam Varshavchik <mrsam@courier-mta.com>
378
379 * courier/submit.C (my_spf_lookup): Convert hostnames and addresses
380 in the Received-SPF: header from UTF-8 to ACE.
381
382 * rfc1035/spf.c (get_macro): When expanding macros in SPF messages
383 convert UTF-8 domains to ACE.
384
385 2019-07-21 Sam Varshavchik <mrsam@courier-mta.com>
386
387 * courier/module.esmtp/esmtp.c (isindomaindb): use ualllower instead
388 of tolower.
389
390 1.0.8
391
392 2019-06-08 Sam Varshavchik <mrsam@courier-mta.com>
393
394 * sqwebmail.c (rename_sent_folder): Fix quoting of autorenamed
395 Sent folder.
396
397 2019-05-17 Sam Varshavchik <mrsam@courier-mta.com>
398
399 * cgi/cgidaemon.c (connect_err): Fix quoting in HTTP headers for
400 error messages.
401
402 1.0.7
403
404 2019-02-25 Sam Varshavchik <mrsam@courier-mta.com>
405
406 * courier/doc/testmxlookup.sgml: Minor editing to the testmxlookup
407 man page.
408
409 2019-02-24 Sam Varshavchik <mrsam@courier-mta.com>
410
411 * courier/libs/comsts.c (sts_download2): Specify --max-redirect 0
412 for STS policy downloads, as per STS spec.
413
414 * pop3dserver.c (do_retr): Use the new MIME_UNICODE_MESSAGE_TYPE
415 setting to set the type of the wrapped MIME attachment.
416
417 2019-02-05 Sam Varshavchik <mrsam@courier-mta.com>
418
419 * courier/libs/comsts.c (open_and_lock_cached_policy_file): Fix
420 errno getting clobbered by isatty().
421
422 * courier/filters/verifyfilter.c: -n option explicitly suppresses
423 stderr.
424
425 * courier/filters/verifysender: Pass the -n option to verifysmtp.
426
427 2019-02-03 Sam Varshavchik <mrsam@courier-mta.com>
428
429 * testmxlookup: implement the Strict Transport Security policy for
430 SMTP, as specified in RFC 8461. Add some diagnostic options to
431 testmxlookup.
432
433 2019-02-02 Sam Varshavchik <mrsam@courier-mta.com>
434
435 * courier/filters/verifyfilter.c: Remove the 'smtpfilter' symlink
436 to verifyfilter. Replace it with a shell script wrapper that loads
437 the environment variables and invokes verifyfilter.
438
439 * tcpd/libcouriertls.c: Add support for verifying certificate
440 subject alternative names.
441
442 * tcpd/tlsclient.c: Implement the override_vars parameter.
443
444 1.0.6
445
446 2019-01-30 Sam Varshavchik <mrsam@courier-mta.com>
447
448 * pop3dserver.c: Fix parsing of pop3d file cache, on some
449 architectures.
450
451 2019-01-08 Sam Varshavchik <mrsam@courier-mta.com>
452
453 * tcpd/libcouriertls.c: Ignore unreadable cert files.
454
455 1.0.5
456
457 2018-12-09 Sam Varshavchik <mrsam@courier-mta.com>
458
459 * imap: Send an alert about a Unicode messages to a non-Unicode
460 client at most once per IMAP session.
461 1.0.4
462
463 2018-11-28 Hideki SAKAMOTO <hsakamt@tsnr.com>
464
465 * imap/pop3dserver.c: Deal with MS Outlook's broken implementation of
466 RFC 6856.
467
468 1.0.3
469
470 2018-11-17 Sam Varshavchik <mrsam@courier-mta.com>
471
472 * pop3dserver.c (calcsize): Fix spurious flagging of non-UTF8
473 messages as UTF-8.
474
475 To fix existing mailboxes with erroneously-flagged messages. In
476 each mailbox, if its existing courierpop3dsizelist file starts with
477
478 /3 [followed by additional data]
479
480 Only if the first line in courierpop3dsizelist starts with /3, then
481 execute:
482
483 perl -p -i -e 's/:\d+$/:0/' courierpop3dsizelist
484
485 2018-11-16 Sam Varshavchik <mrsam@courier-mta.com>
486
487 * pop3dserver.c (readpop3dlist): Be able to update
488 courierpop3dsizelist from version 2 to 3 in place.
489 (do_retr): Instead of returning an ERR to a non-Unicode client,
490 handle Unicode messages by wrapping them as an attachment.
491
492 1.0.2
493
494 2018-10-27 Sam Varshavchik <mrsam@courier-mta.com>
495
496 * imap: Additional changes to how Unicode messages are
497 handled with non-Unicode clients: disclaim all warranties, still
498 report an error, but provide the raw message content, as is.
499
500 1.0.1
501
502 2018-09-24 Sam Varshavchik <mrsam@courier-mta.com>
503
504 * couriertls: additional fixes.
505
506 2018-09-24 Yoshinari Takaoka <mumumu@mumumu.org>
507
508 * couriertls: option to use a separate file for the SSL certificate's
509 private key, as an alternative to the combined keyfile+certificate.
510
511 1.0
512
513 2018-08-23 Sam Varshavchik <mrsam@courier-mta.com>
514
515 * Fix substitution typoes in imapd and pop3d startup scripts.
516
517 2018-08-11 Sam Varshavchik <mrsam@courier-mta.com>
518
519 * courier/libs/comtrack.c (track_find_record): Don't stop after
520 finding the E-mail address in the current tracking file, continue
521 reading the remaining tracking files.
522
523 2018-07-31 Sam Varshavchik <mrsam@courier-mta.com>
524
525 * couriermlm: Implement smtp prefiltering. Implement blocking of
526 Unicode messages and E-mail addresses, by default.
527
528 * rfc2045/reformime: parse utf-8 address types in DSNs.
529
530 2018-07-29 Sam Varshavchik <mrsam@courier-mta.com>
531
532 * courier: implement "utf-8" address type in delivery status
533 notifications.
534
535 * mailbot: generate message/global, message/global-delivery-status,
536 and message/global-headers, when needed, when formatting autoreplies.
537
538 * reformime: -m option uses message/global instead of message/rfc822
539 for UTF8 messages.
540
541 * sqwebmail: recognize message/global and message/rfc822 attachments.
542 Update very old login error message that references a long gone-by
543 era.
544
545 2018-07-28 Sam Varshavchik <mrsam@courier-mta.com>
546
547 * courier: implement the SMTPUTF8 extension.
548
549 * dotforward: parse for Delivered-To: only in the header portion
550 of the message.
551
552 2018-07-21 Sam Varshavchik <mrsam@courier-mta.com>
553
554 * courier-imap: update Courier-IMAP to support UTF8 POP3. Update
555 version of the courierpop3dsizelist cache file.
556
557 2018-07-17 Sam Varshavchik <mrsam@courier-mta.com>
558
559 * courier-imap, sqwebmail: update Courier-IMAP to support UTF8 IMAP.
560 Convert maildir folders to use UTF-8 for folder names. Add
561 --checkutf8 and --convutf8 options to maildirmake to convert
562 pre-UTF8 maildirs to UTF8 maildirs, a mandatory upgrade procedure.
563
564 2018-07-08 Sam Varshavchik <mrsam@courier-mta.com>
565
566 * waitlib/configure.ac: Fix typo.
567
568 2018-06-28 Sam Varshavchik <mrsam@courier-mta.com>
569
570 * libs/tcpd/starttls.c (main): Add -user option. Additional fixes
571 to imap/pop3 startup scripts to have couriertls drop root privileges.
572
573 2018-06-25 Sam Varshavchik <mrsam@courier-mta.com>
574
575 * rfc2045/reformime.c (main2): fix crash if -x or -X is specified
576 without the corresponding -s option.
577
578 2018-06-21 Sam Varshavchik <mrsam@courier-mta.com>
579
580 * libs/tcpd/tlsclient.h: add username option, used in couriertls_start
581 to set the child process's uid and gid.
582
583 * libs/imap/imaplogin.c (starttls): Set username option for couriertls
584
585 * libs/imap/pop3login.c (starttls): Set username option for couriertls
586
587 * imapd-ssl.dist, pop3d-ssl.dist: Use separate imap and pop3 session
588 cache files. Startup script: remove/set ownership and permsission
589 on the imap and pop3 session cache files.
590
591 2018-06-10 Sam Varshavchik <mrsam@courier-mta.com>
592
593 * courier/filters/libfilter/libfilter.c: Use argv[0] to determine
594 socket name. ratefilter, verifyfilter, dupfilter, and perlfilter
595 provide their argv[0] to lf_init().
596
597 2018-05-22 Sam Varshavchik <mrsam@courier-mta.com>
598
599 * libs/makedat/makedat.in (cidr): Fix smtpaccess syntax parsing
600 for IPv6 address ranges.
601
602 2018-04-26 Sam Varshavchik <mrsam@courier-mta.com>
603
604 * Update for Fedora 28 RPM.
605
606 2018-04-19 Sam Varshavchik <mrsam@courier-mta.com>
607
608 * courier/submit.C: Reformat the Received: header to comply with
609 RFC 5322.
610
611 2018-02-16 Sam Varshavchik <mrsam@courier-mta.com>
612
613 * libs/maildrop/search.C: ":H" pattern matching option, matching
614 only the main message headers.
615
616 2018-02-13 Sam Varshavchik <mrsam@courier-mta.com>
617
618 * libs/tcpd/libcouriergnutls.c: Remove usage of deprecated OpenPGP
619 API. Tag the "Unexpected SSL connection shutdown" with the "DEBUG"
620 label just like the OpenSSL version does.
621
622 * libs/tcpd/starttls.c: If TCPREMOTEIP is set, prepend it to error
623 messages.
624
625 2017-12-26 Sam Varshavchik <mrsam@courier-mta.com>
626
627 * libs/maildir/maildirmake.c (main): maildirmake's -q option
628 will create the maildir if it does not exist.
629
630 * libs/rfc2045/reformime.c (main2): Added -rU option, and a new
631 internal RFC2045_RW_8BIT_ALWAYS conversion option.
632
633 * libs/rfc2045/reformime.c (main2): Fix crash when the -s option
634 is not valid.
635
636 0.78.2
637
638 2017-11-27 Sam Varshavchik <mrsam@courier-mta.com>
639
640 * Use libtool to build libfilter and waitlib modules. Fixes perlfilter
641 link failure on Fedora 27.
642
643 * gettext update.
644
645 * rpm packaging fixes.
646
647 2017-11-26 Sam Varshavchik <mrsam@courier-mta.com>
648
649 * libs/sqwebmail/pcp.c (sqpcp_eventstart): Fix null pointer dereference.
650
651 2017-11-26 Sam Varshavchik <mrsam@courier-mta.com>
652
653 * libs/rfc2045/rfc2045reply.c (mkreply): Fix null pointer
654 dereferences.
655
656 0.78.1
657
658 2017-10-03 Sam Varshavchik <mrsam@courier-mta.com>
659
660 * maildrop/reformail.C (add_from_filter): Fix use after free.
661
662 2017-09-27 Giovanni Bechis <giovanni@paclan.it>
663
664 * Fix to configure.ac
665
666 2017-09-19 Sam Varshavchik <mrsam@courier-mta.com>
667
668 * courier: switch default header encoding to UTF-8.
669
670 2017-09-08 Sam Varshavchik <mrsam@courier-mta.com>
671
672 * courier/cmlm.C (savemsg): Exit with EX_SOFTWARE when rejecting
673 messages from non-subscribers, to avoid triggerring backscatter
674 suppression for the mailing list.
675
676 0.78.0
677
678 2017-07-24 Sam Varshavchik <mrsam@courier-mta.com>
679
680 * libs/tcpd: openssl 1.1.0 update, remove the TLS_PROTOCOL setting
681 from all configuration files.
682
683 * courier/filters/verifyfilter.c: New verifyfilter module/verifysender
684 tool.
685
686 * libs/maildrop: Implement the "system" command.
687
688 * courier/filters/courierfilter: Move courierfilter from sbindir to
689 libexecdir. Replace courierfilter is a shell script wrapper that
690 resets the environment before running the real courierfilter.
691
692 * courier/module.esmtp/libesmtp.c: Carve out ESMTP sending logic
693 from esmtpclient.c
694
695 2017-07-06 Sam Varshavchik <mrsam@courier-mta.com>
696
697 * courier/submit.C (getrcpts): Only remove the Bcc header when
698 reading addresses from the headers. Keep it if the recipient
699 addresses were explicitly specified.
700
701 0.77.0
702
703 2017-06-17 Sam Varshavchik <mrsam@courier-mta.com>
704
705 * libs/maildir/maildirquota.c (docheckquota): Skip DT_LNK.
706
707 2017-04-20 Sam Varshavchik <mrsam@courier-mta.com>
708
709 * courier/module.esmtp/esmtpclient.c (sendesmtp): Fix failure
710 to report connection errors.
711
712 2017-03-15 Sam Varshavchik <mrsam@courier-mta.com>
713
714 * rfc1035: fix TLS hostname verification problem caused by CNAME
715 records.
716
717 2017-03-11 Sam Varshavchik <mrsam@courier-mta.com>
718
719 * couriertcpd: do not issue ANY queries for DNSBL lookups.
720
721 * courier-unicode library API update.
722
723 2017-02-07 Sam Varshavchik <mrsam@courier-mta.com>
724
725 * libs/tcpd/libcouriertls.c: OpenSSL API update.
726
727 2017-01-27 "Stefan Hornburg (Racke)" <racke@linuxia.de>
728
729 * Merge several Debian patches:
730
731 0001-Include-cstdio-in-afx.h.patch
732 0005-Ignore-and-.dpkg-a-z-files.patch
733 0007-Fix-bashisms.patch
734 0009-Fix-linking-in-upstream-Makefiles.patch
735 0012-Define-and-use-PEMFILE-in-mkesmtpdcert.patch
736 (*) with some changes.
737 0013-Add-P-to-ghostscript-invocation.patch
738 0014-Improve-error-reporting-in-preline.c.patch
739 0017-Fix-formatting-errors-in-syslog-calls.patch
740 0020-Add-perl-stanza-to-perlfilter-scripts.patch
741
742 2017-01-27 Gordon Messmer <gordon.messmer@gmail.com>
743
744 * courier/perms.sh.in, courier/submit2.C (MessageEnd): Patches
745 from FreeBSD.
746
747 0.76.4
748
749 2017-01-13 Sam Varshavchik <mrsam@courier-mta.com>
750
751 * Fix misc compilation errors.
752
753 2016-11-27 Sam Varshavchik <mrsam@courier-mta.com>
754
755 * Improve compatibility with gnupg 2.
756
757 2016-09-20 "Hanno Böck" <hanno@hboeck.de>
758
759 * libs/maildrop/maildir.C (MaildirSave): Fix new/delete mismatch.
760 * libs/sqwebmail/gpg.c: Fix external linkage.
761
762 0.76.3
763
764 2016-09-12 Sam Varshavchik <mrsam@courier-mta.com>
765
766 * courier/module.esmtp/courieresmtpd.c (main): Allow NOOP before
767 authentication takes place if authentication is required.
768
769 0.76.2
770
771 2016-08-03 Sam Varshavchik <mrsam@courier-mta.com>
772
773 * reformime: do not abort due to invalid encoding of the "name"
774 attributes.
775
776 * imapd.c (do_folder_delete): Fix check for DELETE INBOX.
777
778 2016-07-14 Sam Varshavchik <mrsam@courier-mta.com>
779
780 * courier/cmlm.C (savemsg): Have NOBOZOS only look for commands on
781 the first line of the message.
782
783 2016-06-18 Sam Varshavchik <mrsam@courier-mta.com>
784
785 * courier/doc/local.html: Remove incorrect documentation for the
786 sticky bit, and reformat the document.
787
788 2016-06-10 Sam Varshavchik <mrsam@courier-mta.com>
789
790 * courier/libs/lcrewrite.c (rw_syntaxchk): Allow consecutive ! and %
791 characters in email addresses.
792
793 0.76.1
794 * Fix OpenSSL TLS SNI support.
795
796 * couriertls: remove debugging message.
797
798 * Update default TLS settings in courierd and esmtpd config files,
799 mostly removing obsoleted settings.
800
801 0.76.0
802
803 2016-04-23 Sam Varshavchik <mrsam@courier-mta.com>
804
805 * Stop using SSL2 and SSL3 openssl configuration methods.
806
807 2016-03-06 Sam Varshavchik <mrsam@courier-mta.com>
808
809 * libs/rfc1035/spf.c: "mx" keyword a no-op MX-less domains, rather
810 than returning "error".
811
812 2016-03-03 Sam Varshavchik <mrsam@courier-mta.com>
813
814 * libs/tcpd/libcouriertls.c: Add support for TLS SNI.
815
816 2015-12-20 Sam Varshavchik <mrsam@courier-mta.com>
817
818 * maildrop: implement the FLAGS variable.
819
820 2015-12-16 Andreas Kinzler <ml-ak@posteo.de>
821
822 * maildrop: fix maildrop not searching last line of text.
823
824 2015-07-19 Sam Varshavchik <mrsam@courier-mta.com>
825
826 * Add procps-ng to BuildRequires.
827
828 * maildrop: fix parsing of a message without a body.
829
830 * courier/submit.C: Write SPF-Received lines before the first
831 Received header. Fix bug that prevented HELO's SPF-Received line
832 from being written.
833
834 0.75.0
835
836 2015-06-27 "Hanno Böck" <hanno@hboeck.de>
837
838 * libs/maildrop/mailbot.c: Fix bad malloc for --feedback-* command
839 line parameters.
840
841 2015-06-16 Sam Varshavchik <mrsam@courier-mta.com>
842
843 * ESMTP_PREFER_IPV6_MX: new setting.
844
845 2015-06-09 Sam Varshavchik <mrsam@courier-mta.com>
846
847 * AUTH_MKHOMEDIR_SKEL setting: autocreate home directory.
848
849 2015-05-22 Sam Varshavchik <mrsam@courier-mta.com>
850
851 * Drop SSLv3 from TLS_CIPHER_LIST.
852
853 2015-05-09 "Jö Fahlke" <jorrit@jorrit.de>
854
855 * maildrop: Don't include matched subpatterns in foreach.
856
857 0.74.2
858
859 2015-04-25 Giovanni Bechis <giovanni@openbsd.org>
860
861 * maildircache.c: fix use after free.
862
863 * mkdhparams: make compatible with libressl
864
865 2015-03-04 Sam Varshavchik <mrsam@courier-mta.com>
866
867 * imap: Handle 01-Jan-1970 for date-based searches.
868
869 2015-02-28 Sam Varshavchik <mrsam@courier-mta.com>
870
871 * Update to courier-unicode 1.2.
872
873 2015-02-24 Sam Varshavchik <mrsam@courier-mta.com>
874
875 * Add the makeimapaccess script.
876
877 2015-02-16 "Hanno Böck" <hanno@hboeck.de>
878
879 * Fix compilation warning, testsuite.
880
881 0.74.0
882
883 2014-12-13 Sam Varshavchik <mrsam@courier-mta.com>
884
885 * Update autotools
886
887 2014-11-05 Sam Varshavchik <mrsam@courier-mta.com>
888
889 * rfc1035: add support for SPF records with multiple strings.
890
891 2014-10-21 Bernard Quatermass <bqcourier@quatermass.co.uk>
892
893 * tcpd/libcouriertls.c: add parsing options for different protocol
894 combination.
895
896 2014-10-21 坂元 英紀 <hs@on-sky.net>
897
898 * Update comments in *ssl config files.
899
900 2014-10-15 Rob Austein <sra@hactrn.net>
901
902 * libs/tcpd/libcouriertls.c (tls_create): Set SSL_OP_NOSSLv3 flag,
903 to disable SSL3 support.
904
905 2014-10-11 Sam Varshavchik <mrsam@courier-mta.com>
906
907 * mkdhparams: TLS_DHPARAMS environmnt variable overrides default
908 DH parameter file location.
909
910 * courier.spec.in: generate the default DH parameter file and
911 package it into the rpm, instead of generating one on the first
912 start.
913
914 2014-10-09 Sam Varshavchik <mrsam@courier-mta.com>
915
916 * libs/maildir/maildirinfo.c (maildir_info_imapmunge): Fix
917 UTF-8 charset name.
918
919 2014-09-21 Sam Varshavchik <mrsam@courier-mta.com>
920
921 * tcpd/libcouriertls.c (tls_create): Initialize temporary ecdh
922 parameters.
923
924 2014-09-19 Sam Varshavchik <mrsam@courier-mta.com>
925
926 * mkesmtpdcert: do not put DH parameters in the test cert. DH
927 parameters are now in DH_PARAMS
928
929 * mkdhparams: default to 2048 DH params for OpenSSL.
930
931 * courier.service: bump up startup timeout, initial service start
932 may take several minutes to generate DH parameters for the first
933 time.
934
935 * imap: try to print a message on stderr if the alarm() call, that
936 detects FAM library breakage, goes off.
937
938 2014-09-11 Sam Varshavchik <mrsam@courier-mta.com>
939
940 * libs/rfc1035 - fix SPF lookup bug.
941
942 0.73.2
943
944 2014-09-01 Sam Varshavchik <mrsam@courier-mta.com>
945
946 * tcpd/libcouriergnutls.c: remove any slashes from the server
947 hostname.
948
949 2014-07-21 Sam Varshavchik <mrsam@courier-mta.com>
950
951 * gpglib, rfc2045: fix makefiles.
952
953 * maildrop: fix parsing of headers added by the -A option.
954
955 2014-07-13 Sam Varshavchik <mrsam@courier-mta.com>
956
957 * liblock, couriertls: fix compilation for OpenBSD -- based on a
958 patch from Giovanni Bechis <giovanni@paclan.it>.
959
960 2014-06-23 Sam Varshavchik <mrsam@courier-mta.com>
961
962 * libs/gpglib/Makefile.am: Fix -lunicode linkage.
963
964 * libs/rfc2045/Makefile.am: Fix -lunicode linkage.
965
966 * libs/rfc2045/rfc2045decodemsgtoutf8.c (rfc2045_decodemsgtoutf8):
967 recognize "message" MIME content type, in addition to "text".
968
969 0.73.1
970
971 2014-05-24 Sam Varshavchik <mrsam@courier-mta.com>
972
973 * courier/webmlmd.H (webmlmd): Compilation portability fix.
974
975 2014-05-06 Sam Varshavchik <mrsam@courier-mta.com>
976
977 * pop3login.c (login_callback): Log logins when running in proxy mode.
978
979 * imaplogin.c (login_callback): Log logins when running in proxy mode.
980
981 2014-04-27 Sam Varshavchik <mrsam@courier-mta.com>
982
983 * courier.spec.in: Update to use systemd macros.
984
985 2014-04-10 Sam Varshavchik <mrsam@courier-mta.com>
986
987 * courier/module.esmtp/courieresmtpd.c (main): Use the SYSLOGNAME
988 environment variable to open syslog.
989
990 2014-02-24 Sam Varshavchik <mrsam@courier-mta.com>
991
992 * courier/filters/courierfilter.c (main): Set sysconfdir environment
993 variable for processes start by courierfilter.
994
995 * courier/filters/perlfilter/perlfilter.c (perlfilter): Fix logging
996 of error messages.
997
998 * courier/libs/comctlfile.h (COMCTLFILE_ENVVAR): New record type.
999
1000 * courier/submit2.C (closectl): Write RELAYCLIENT and TCPREMOTEIP
1001 in control files.
1002
1003 * courier/filters/perlfilter/perlfilter-ratelimit.pl: Rate limiting
1004 filter.
1005
1006 2014-02-15 "Alexei Batyr'" <lehel@pcmag.ru>
1007
1008 * Fix wrong path in libs/sqwebmail/Makefile.
1009
1010 2014-01-15 Sam Varshavchik <mrsam@courier-mta.com>
1011
1012 * libs/maildrop/search.C (search_cb): Fix logged patterns getting
1013 garbled, in log output.
1014
1015 2014-01-12 Sam Varshavchik <mrsam@courier-mta.com>
1016
1017 * Factored out the unicode library into a separate package.
1018
1019 2013-12-29 Sam Varshavchik <mrsam@courier-mta.com>
1020
1021 * libunicode: Updated unicode word, grapheme, and linebreaking rules
1022 * to the Unicode 6.3.0 standard.
1023
1024 0.73
1025
1026 2013-11-25 Sam Varshavchik <mrsam@courier-mta.com>
1027
1028 * libs/imap/pop3login.c (starttls): Clear input buffer after STARTTLS.
1029
1030 * libs/imap/imaplogin.c (starttls): Clear input buffer after STARTTLS.
1031
1032 * Fix various compiler warnings about unchecked results from setuid
1033 and setgid calls.
1034
1035 2013-11-10 Sam Varshavchik <mrsam@courier-mta.com>
1036
1037 * libs/tcpd/libcouriergnutls.c, libs/tcpd/libcouriertls.c: remove the
1038 TLS_DHCERTFILE setting, and use TLS_CERTFILE for all functionality.
1039 Read DH parameters from TLS_CERTFILE, or from the new TLS_DHPARAMS
1040 environment variable.
1041
1042 * mkdhparams: New script that generates DH parameters into a standalone
1043 file.
1044
1045 * Remove TLS_DHCERTFILE setting from imapd-ssl, pop3d-ssl, esmtpd and
1046 esmtpd-ssl. Add TLS_DHPARAMS, and read the DH parameters from the
1047 separate file. If the separate file doesn't exist, read it from
1048 TLS_CERTFILE, to allow for some existing configuration to continue to
1049 work.
1050
1051 * Update imapd.cnf.openssl, pop3d.cnf.openssl, esmtpd.cnf.openssl,
1052 set default number of bits for RSA keys to 4096.
1053
1054 * courier.spec.in: Drop %attr for symlinks, to silence rpm warnings.
1055 Install a link in cron.weekly to run mkdhparams weekly.
1056
1057 * courier.sysvinit: Run mkdhparams from the startup script.
1058
1059 2013-10-14 Sam Varshavchik <mrsam@courier-mta.com>
1060
1061 * libs/tcpd/libcouriertls.c (tls_create): Add TLSv1_1_method() and
1062 TLSv1_2 method(), based on patch by Rob Austein <sra@hactrn.net>.
1063
1064 * courier/module.esmtp/esmtpd.dist.in,
1065 courier/module.esmtp/esmtpd-ssl.dist.in,
1066 courier/courierd.dist.in,
1067 libs/imap/pop3d-ssl.dist.in,
1068 libs/imap/imapd-ssl.dist.in: Fix up differences in the
1069 documentation of TLS options in various config files.
1070
1071 0.72
1072
1073 2013-08-28 Sam Varshavchik <mrsam@courier-mta.com>
1074
1075 * maildrop: pattern searches are now specified in UTF-8. maildrop
1076 MIME-decodes the search pattern, and transcodes it to the UTF-8
1077 character set, for searching purposes.
1078
1079 * sqwebmail: update its maildrop rule generator to support UTF-8-able
1080 maildrop.
1081
1082 2013-07-04 Sam Varshavchik <mrsam@courier-mta.com>
1083
1084 * maildir/maildirmake.c (main): Add -F option to maildirmake,
1085 specify new folder name using system locale's character set.
1086
1087 * Autotool chain update.
1088
1089 * imapd.c (mddelete): Reject DELETE folder if the maildir is a symlink.
1090
1091 2013-04-27 Rolf Eike Beer <dakon@users.sf.net>
1092
1093 * imapd.c (doId): Implement the IMAP ID EXTENSION.
1094
1095 0.71
1096
1097 2013-03-30 Sam Varshavchik <mrsam@courier-mta.com>
1098
1099 * courier/submit2.C (MessageEnd): Fix compilation error with the
1100 --with-dirsync config option.
1101
1102 * courier/module.esmtp/smtproutes.c (smtproutes): Removed /SECURITY=NONE
1103 flag, replaced with /SECURITY=REQUIRED.
1104
1105 * courier/module.esmtp/esmtpclient.c (sendesmtp): Fix minor bugs
1106 in error reporting, should get rid of spurious "No such file or
1107 directory message" in mail logs.
1108 (sendesmtp): New error message "/SECURITY=REQUIRED set, but TLS
1109 is not available".
1110 (starttls): Removed ROUTE_NOSECURITY flag, and the TLS_ERROR_REPORT
1111 and TLS_ERROR_HANDLE environment variables. When STARTTLS fails either
1112 by the remote server disconnecting in response to a STARTTLS, or
1113 returning an error message, log the mail server's address in the track
1114 log file. When making a connection attempt to a mail server, if it
1115 exists in the track log file, ignore it's STARTTLS capability.
1116
1117 * courier/libs/comtrack.c: Updated track file API to also support
1118 logging of remote mail servers with broken STARTTLS.
1119
1120 2013-03-16 Sam Varshavchik <mrsam@courier-mta.com>
1121
1122 * courier/cmlmmoderate.C (cmdmoderate): Convert entire moderation
1123 message to UTF-8, before parsing it.
1124
1125 2013-03-09 Sam Varshavchik <mrsam@courier-mta.com>
1126
1127 * courier/cmlmmoderate.C (cmdmoderate): Return an immediate fail
1128 exit code, if unable to parse a moderation message.
1129
1130 2013-03-05 Sam Varshavchik <mrsam@courier-mta.com>
1131
1132 * courier/module.esmtp/esmtpclient.c (sendesmtp): Implement
1133 SMTPS in the ESMTP client.
1134
1135 2013-03-03 Sam Varshavchik <mrsam@courier-mta.com>
1136
1137 * courier/submit.C (a_r_from_env): Fix quoting in
1138 Authentication-Results: header.
1139
1140 * tcpd/tcpd.c (check_blocklist): DNSBL lookup for IPv6 addresses.
1141
1142 2013-02-24 Sam Varshavchik <mrsam@courier-mta.com>
1143
1144 * Updated documentation. Added mkdir -p to explicitly create piddir,
1145 in various startup scripts.
1146
1147 2013-02-20 Sam Varshavchik <mrsam@courier-mta.com>
1148
1149 * rfc822: workaround for invalid utf-8 input making libidn go off the
1150 rails.
1151
1152 2013-02-16 Sam Varshavchik <mrsam@courier-mta.com>
1153
1154 * courier/submit.C: Change the quoting rules for -allow content,
1155 implement ALLOW_EXCLUSIVE.
1156
1157 2013-02-16 Alessandro Vesely <vesely@tana.it>
1158
1159 * courier/submit.C: create Authentication-Results: header from the
1160 results of -allow lookups.
1161
1162 2013-02-04 Sam Varshavchik <mrsam@courier-mta.com>
1163
1164 * tcpd/couriertcpd.sgml: Documentation update.
1165
1166 2013-02-04 Alessandro Vesely <vesely@tana.it>
1167
1168 * tcpd/tcpd.c: Additional changes to the -allow option.
1169
1170 2013-02-02 Sam Varshavchik <mrsam@courier-mta.com>
1171
1172 * tcpd/tcpd.c: Refactor -block, add -allow option with similar
1173 semantics. Update man page with the description of the updated
1174 behavior of these options.
1175
1176 0.70
1177
1178 2013-01-12 Sam Varshavchik <mrsam@courier-mta.com>
1179
1180 * courier/submit.C (cppmain): Set a 36 hour fixed timeout for
1181 submit().
1182
1183 2013-01-12 Gordon Messmer <yinyang@eburg.com>
1184
1185 * tcpd/libcouriergnutls.c (get_server_cert): Fix size of malloced
1186 buffer.
1187
1188 2012-12-20 Sam Varshavchik <mrsam@courier-mta.com>
1189
1190 * imap/configure.in: Fix typo in configure check for setvbuf().
1191
1192 2012-12-17 Alessandro Vesely <vesely@tana.it>
1193
1194 * submit.C: Typo, make environment variable NOADDDATE match the
1195 document name/example. Add NOADDRREWRITE.
1196
1197 2012-12-04 Alessandro Vesely <vesely@tana.it>
1198
1199 * rfc2045/makemime.c (openfile_or_pipe): Do not dup stdin filedesc,
1200 sometimes the stdin buffer already gets filled.
1201
1202 0.69.1
1203
1204 2012-11-15 Sam Varshavchik <mrsam@courier-mta.com>
1205
1206 * module.local/localmail.c: close the control file explicitly. It gets
1207 closed anyway upon exit(), cleanup
1208
1209 * courier/submit.C: Remove dangling reference to BOFHBADMIME.
1210
1211 * Fix a typo in the rpm spec file.
1212
1213 0.69
1214
1215 2012-09-05 Sam Varshavchik <mrsam@courier-mta.com>
1216
1217 * cgi/cgi.c (cgi_set_cookie_url): Fix wrong call to free(). Not
1218 currently used.
1219
1220 * maildir/maildiraclt.c (maildir_acl_delete): Fix double-free on error
1221 path of an ENOMEM.
1222
1223 2012-06-24 "Hanno Böck" <hanno@hboeck.de>
1224
1225 * Replace "-w /etc" with `id -u` = 0 in various installation scripts.
1226 With fixes.
1227
1228 2012-06-22 Sam Varshavchik <mrsam@courier-mta.com>
1229
1230 * courier.spec.in: Fix the RPM spec to work around /bin symlink
1231 breakage in F17.
1232
1233 * tcpd/tcpd.c: Update libgnutls API, replace obsoleted functions
1234 with current API. Obsoletes most TLS_* variables that set protocol
1235 priorities, replaced with Gnutls-specific single TLS_PRIORITY
1236 setting (existing TLS_* variables are still used by the OpenSSL
1237 alternative). Updated *-ssl configuration files accordingly.
1238
1239 2012-06-21 Eray Aslan <eray.aslan@caf.com.tr>
1240
1241 * tcpd: Compilation changes for gnutls 3
1242
1243 2012-06-18 Sam Varshavchik <mrsam@courier-mta.com>
1244
1245 * maildrop: make a mention of reformail -D's locking in the manual
1246 pages.
1247
1248 2012-06-17 Osamu Aoki <osamu@debian.org>
1249
1250 * maildrop/formatmbox.C (GetLineBuffer): Do not skip whitespaces
1251 looking for From: and Subject: headers, to log.
1252
1253 0.68.2
1254
1255 2012-06-15 Sam Varshavchik <mrsam@courier-mta.com>
1256
1257 * courier/libs/lcrewrite.c (rw_rewrite_chksyn_at_ok_print): aliasexp
1258 needs to accept leading @s in addresses.
1259
1260 2012-06-13 Sam Varshavchik <mrsam@courier-mta.com>
1261
1262 * couriermlm: Change the exit code OS_ERR in a number of error
1263 conditions, to avoid triggering backscatter suppression in Courier.
1264
1265 * courier/libs/comconfig.c: retrybeta and retrymaxdelta weren't being
1266 read from sysconfdir.
1267
1268 2012-05-27 Sam Varshavchik <mrsam@courier-mta.com>
1269
1270 * webmail/attachments.c (attach_upload): When attaching PGP keys, add
1271 name="pgpkeys.txt" parameter to the Content-Type: header; add
1272 Content-Disposition: attachment header.
1273
1274 * gpglib/gpg.c: Make the MIME boundary delimiter shorter.
1275
1276 * rfc2045/rfc2045mkboundary.c (rfc2045_mk_boundary): truncate
1277 the hostname portion of the boundary to 30 chars.
1278
1279 2012-05-13 Sam Varshavchik <mrsam@courier-mta.com>
1280
1281 * courier/doc/status.html: Added link to the new github contrib repo.
1282
1283 2012-05-09 "Stefan Hornburg (Racke)" <racke@linuxia.de>
1284
1285 * courier/module.esmtp/esmtpd.cnf.openssl.in: Use .rand extension for
1286 the random seed file.
1287
1288 0.68.1
1289
1290 2012-05-05 Sam Varshavchik <mrsam@courier-mta.com>
1291
1292 * rfc2045mkboundary.c was broken in 0.68.1
1293
1294 0.68
1295
1296 2012-05-05 Sam Varshavchik <mrsam@courier-mta.com>
1297
1298 * rfc2045/rfc2045mkboundary.c (rfc2045_mk_boundary): truncate
1299 the hostname portion of the boundary to 30 chars.
1300
1301 2012-04-25 Sam Varshavchik <mrsam@courier-mta.com>
1302
1303 * courier/doc/courier.sgml: Remove descriptions of some configuration
1304 files that were moved to the courier-authlib package a while ago.
1305 They don't belong here any more.
1306
1307 * courier/submit.C: Use the authenticated address, instead of the
1308 return address, for domain-based virtual configuration.
1309
1310 2012-04-23 Sam Varshavchik <mrsam@courier-mta.com>
1311
1312 * courier/libs/cfilename.c (config_has_vhost): Checks whether
1313 vhost.[ip] exists.
1314
1315 * courier/module.esmtp/courieresmtpd.c (main): Only set a message's
1316 virtual host if vhost.[ip] exists.
1317
1318 * courier/module.esmtp/esmtpclient.c (get_sourceaddr): Make sure the
1319 input buffer is null-terminated.
1320
1321 * courier/submit.C (getrcpts): If there's no vhost setting from the
1322 sender's IP address (this includes local mail!) if vhost.domain exists,
1323 use [domain] as the virtual host.
1324
1325 2012-04-22 Sam Varshavchik <mrsam@courier-mta.com>
1326
1327 * Remove config_search(), which simply called config_localfilename().
1328 Change all current callers to call config_localfilename().
1329
1330 * courier/libs/cfilename.c (config_set_local_vhost): saves a string
1331 that gets appended as a suffix, by config_localfilename(), and if that
1332 filename exists, that's returned as the filename, otherwise it's the
1333 original string without the suffix. config_get_local_vhost() returns
1334 the suffix string.
1335
1336 * courier/module.esmtp/courieresmtpd.c (main): get TCPLOCALIP, use it
1337 to config_set_local_vhost().
1338
1339 * courier/libs/comsubmitclient.c (submit_fork): If
1340 config_get_local_vhost(), add a -vhost parameter to submit().
1341
1342 * courier/submit.C (cppmain): -vhost sets config_set_local_vhost().
1343
1344 * courier/submit2.C (closectl): New COMCTLFILE_VHOST parameter in the
1345 config file, taken from the vhost setting.
1346
1347 * courier/libs/comctlfile.c (ctlfile_setvhost): If COMCTLFILE_VHOST is
1348 set, call ctlfile_setvhost(), return an indication if the vhost has
1349 changed. Absence of a COMCTLFILE_VHOST treated as a discrete "(null)"
1350 setting.
1351
1352 * courier/module.esmtp/esmtpclient.c (esmtpchild): If ctlfile_setvhost()
1353 then disconnect the current socket, if one is open.
1354
1355 * courier/module.esmtp/esmtpclient.c (get_sourceaddr): The IP address
1356 specified in ipout or ip6out overrides SOURCE_ADDRESS and
1357 SOURCE_ADDRESS_IPV6 environment variable.
1358
1359 * courier/module.local/localmail.c (main): Call ctlfile_setvhost().
1360
1361 * courier/module.uucp/uucp.c (uux): Call ctlfile_setvhost().
1362
1363 * courier/module.dsn/dsn.c (main): Call ctlfile_setvhost().
1364
1365 * liblock/mail.c (dotlock_exists): Quell a compiler warning.
1366
1367 * courier/courierd.dist.in SOURCE_ADDRESS: Add a note that this setting
1368 is deprecated.
1369
1370 2012-03-02 Sam Varshavchik <mrsam@courier-mta.com>
1371
1372 * webmail/msg2html.c (msg2html_download): Fix decoding of attachment
1373 filenames.
1374
1375 2012-02-23 Osamu Aoki <osamu@debian.org>
1376
1377 * Miscellaneous spelling fixes.
1378
1379 2012-01-17 Sam Varshavchik <mrsam@courier-mta.com>
1380
1381 * courier/libs/lcrewrite.c (rw_syntaxchk): Disallow @ at the
1382 beginning of an email address.
1383
1384 2011-12-30 Sam Varshavchik <mrsam@courier-mta.com>
1385
1386 * courier.spec.in: Put back sysvinit bits.
1387
1388 0.67
1389
1390 2011-11-25 Sam Varshavchik <mrsam@courier-mta.com>
1391
1392 * rfc2045/rfc2045reply.c (mkreply): Fix copying of the contents of the
1393 original message.
1394
1395 2011-11-18 Sam Varshavchik <mrsam@courier-mta.com>
1396
1397 * courier/doc/testmxlookup.sgml: Update documentation.
1398
1399 * courier/testmxlookup.c (main): Clarify error messages. Use --
1400 for long option names.
1401
1402 2011-11-16 Sam Varshavchik <mrsam@courier-mta.com>
1403
1404 * cgi/cgi.c (cgiformdecode): rfc2231_udecodeDisposition() failure
1405 is not fatal.
1406
1407 * pcp/pcp.c (list_msg_mime): Ditto.
1408
1409 * rfc2045/reformime.c (do_print_info): Ditto.
1410
1411 * rfc2045/reformime.c (get_suitable_filename): Ditto.
1412
1413 * webmail/msg2html.c (msg2html_download): rfc2231_udecodeDisposition()
1414 failure is not fatal.
1415
1416 2011-11-13 Sam Varshavchik <mrsam@courier-mta.com>
1417
1418 * imapd.c (main): Open IMAPDEBUGFILE only if it exists already.
1419 (do_expunge): Optionally log deletions. Based on a patch by
1420 William Yodlowsky <wyodlows@andromeda.rutgers.edu>.
1421
1422 * pop3dserver.c (cleanup): Optionally log deletions. Based on a patch by
1423 William Yodlowsky <wyodlows@andromeda.rutgers.edu>.
1424
1425 * imapd.dist.in (IMAP_MOVE_EXPUNGE_TO_TRASH): Officially document how
1426 IMAPDEBUGFILE works.
1427
1428 2011-11-10 Sam Varshavchik <mrsam@courier-mta.com>
1429
1430 * Major update to the internal DNS resolver. Add support for DNSSEC;
1431 this doesn't really do anything right now, but makes the support
1432 available, if needed in the future. Remove the global
1433 rfc1035_default_resolver instance, make all users explicitly
1434 instantiate and destroy the class instance, using the initializer and
1435 destructor functions. Clean up the API. Remove the options parameter,
1436 that carries the recursive flag, from many API methods. Store the
1437 recursion flag in the rfc1035_default_resolver object, together with
1438 the DNSSEC enabling flag, and other metadata.
1439
1440 2011-11-06 Sam Varshavchik <mrsam@courier-mta.com>
1441
1442 * courier/courierd.dist.in (TLS_ERROR_HANDLE): New setting.
1443
1444 * courier/module.esmtp/esmtpclient.c (report_broken_starttls): Run
1445 TLS_ERROR_REPORT, if set, in response to a STARTTLS fail.
1446
1447 * courier/doc/sendmail.sgml: Some minor editing.
1448
1449 * courier/courierd.dist.in (TLS_ERROR_HANDLE): New setting, defaulting
1450 to "ignore".
1451
1452 * courier/module.esmtp/esmtpclient.c (connect_error1): Use a custom
1453 error message for ECONNRESET, putting the blame squarely on the other
1454 side.
1455 (readline): Treat EOF on the socket connection as ECONNRESET.
1456 (starttls): TLS_ERROR_HANDLE: just return upon error if it's "ignore",
1457 and hope for the best. If TLS_ERROR_HANDLE is "soft", treat any SMTP
1458 error as a 4xx.
1459 (starttls): SECURITY STARTTLS error message should looks like an
1460 SMTP error message.
1461
1462 2011-10-28 Sam Varshavchik <mrsam@courier-mta.com>
1463
1464 * imapscanclient.c: Postpone Y2038K for a while, for uid validities.
1465
1466 2011-10-22 Sam Varshavchik <mrsam@courier-mta.com>
1467
1468 * liblock/mail.c (dotlock_exists): Handle getting here because of a
1469 recycled pid.
1470
1471 * unicode/unicode.c (init_default_chset): Handle NULL from setlocale().
1472
1473 2011-09-06 Sam Varshavchik <mrsam@courier-mta.com>
1474
1475 * rfc2045/reformime.c (main2): Fixed segfault on some arches from an
1476 initial null given to strtok.
1477
1478 2011-08-31 Sam Varshavchik <mrsam@courier-mta.com>
1479
1480 * mailbot: add "feedback" and "replyfeedback" formats, generating
1481 RFC 5965-formatted feedback report. -a option attaches the entire
1482 original message, instead of only its headers, for "replydsn",
1483 "feedback", and "replyfeedback" formats.
1484
1485
1486 2011-08-14 Sam Varshavchik <mrsam@courier-mta.com>
1487
1488 * rfc2045/reformime.c (main2): On ia64 and arm, argv is in readonly
1489 memory.
1490
1491 2011-08-04 Michiel Boland <michiel@boland.org>
1492
1493 * pop3dserver.c (openpop3dlist): Try a few times to reopen pop3dsizelist
1494 if it fails with ESTALE.
1495
1496 2011-07-22 Sam Varshavchik <mrsam@courier-mta.com>
1497
1498 * webmail/showmsg2html.c (error): Provide a definition for error().
1499
1500 2011-07-11 Sam Varshavchik <mrsam@courier-mta.com>
1501
1502 * imap/pop3d.dist.in: Add AUTHSERVICE settings. They've been supported
1503 all along.
1504
1505 2011-07-05 Sam Varshavchik <mrsam@courier-mta.com>
1506
1507 * courier.spec.in: Fix rpmlint warnings
1508
1509 2011-06-19 Sam Varshavchik <mrsam@courier-mta.com>
1510
1511 * Fix gcc 4.6 warnings
1512
1513 * courier.spec.in: switch to systemd. Remove script used when
1514 upgrading from ancient pre-sysconftool versions.
1515
1516
1517 2011-06-14 Sam Varshavchik <mrsam@courier-mta.com>
1518
1519 * courier/smtpaccess.config: Set RELAYCLIENT for IPv6 localhost address.
1520 After upgrading makesmtpaccess will fail if it's already present in a
1521 different smtpaccess file, and must be removed.
1522
1523 2011-05-25 Sam Varshavchik <mrsam@courier-mta.com>
1524
1525 * Fix autoconf warnings.
1526
1527 0.66.3
1528
1529 2011-05-22 Sam Varshavchik <mrsam@courier-mta.com>
1530
1531 * imap/msgenvelope.c (msgappends): Fix a fatal error upon encountering
1532 8-bit header content. Heuristically try to interpret it as UTF-8, and
1533 just ignore invalid UTF-8 sequences.
1534
1535 0.66.2
1536
1537 2011-05-17 Sam Varshavchik <mrsam@courier-mta.com>
1538
1539 * rfc2045/rfc2045cdecode.c: Tolerate lowercase hexadecimal characters
1540 in quoted-printable-encoded content.
1541
1542 2011-05-06 Thomas Jacob <jacob@internet24.de>
1543
1544 * unicode/unicode.c: Compilation fixes.
1545
1546 0.66.1
1547
1548 2011-04-13 Sam Varshavchik <mrsam@courier-mta.com>
1549
1550 * msg2html.c (showmsgrfc2369_header): Fix memory corruption.
1551
1552 2011-04-11 Sam Varshavchik <mrsam@courier-mta.com>
1553
1554 * tcpd/libcouriertls.c (tls_create): Remove SSLv2_method().
1555 (tls_create): Remove "!SSLv2" from the default TLS_CIPHER_LIST.
1556
1557 2011-04-07 Sam Varshavchik <mrsam@courier-mta.com>
1558
1559 * imap/mkimapdcert.in (prefix): Create imapd.pem with 600 perms.
1560
1561 * imap/mkpop3dcert.in (prefix): Create pop3d.pem with 600 perms.
1562
1563 2011-04-07 "Stefan Hornburg \(Racke\)" <racke@linuxia.de>
1564
1565 * courier/module.esmtp/mkesmtpdcert.in: Create esmtp.pem with 600
1566 perms.
1567
1568 0.66.0
1569
1570 2011-04-02 Sam Varshavchik <mrsam@courier-mta.com>
1571
1572 * rfc2045/rfc3676parser.c: Detect content produced by broken mail
1573 software (I'm looking at you, Apple Mail), that spews out an entire
1574 paragraph as a single physical line of text. When an excessively long
1575 line is detected, it gets rewrapped manually.
1576
1577 2011-03-31 Sam Varshavchik <mrsam@courier-mta.com>
1578
1579 * unicode/unicode_linebreak.c: Replace manually-maintained buffer
1580 with unicode_buf.
1581
1582 * unicode/unicodebuf.c: Factored out unicode buffer utilities from
1583 webmail/html.c
1584
1585 * webmail/html.c (search_tags): Receive a ubuf ptr for the key. Remove
1586 ubuf_append_0().
1587
1588 * rfc2045/rfc3676parser.c (count_quote_level): Revert previous
1589 patch. Do not parse > indentation in non-flowed text.
1590
1591 * rfc2045/rfc2045reply.c (reply_contents): Remove extra space after
1592 > prefix was reformatting non-flowed text.
1593
1594 2011-03-30 Sam Varshavchik <mrsam@courier-mta.com>
1595
1596 * webmail/html.c (open_element): Fix accounting of discardable elements.
1597
1598 2011-03-29 Sam Varshavchik <mrsam@courier-mta.com>
1599
1600 * webmail/filter.c: Remove lots of dead code. Fix force-wrapping.
1601
1602 2011-03-28 Sam Varshavchik <mrsam@courier-mta.com>
1603
1604 * html.c (seen_attrname): Permit '-' characters in attribute names
1605 (HTTP-EQUIV).
1606
1607 2011-03-27 Sam Varshavchik <mrsam@courier-mta.com>
1608
1609 * html.c (seen_closing_elem): Allow : character in closing element
1610 name.
1611 (seen_opening_elem): Allow : character in opening element name.
1612 (seen_attrname): Allow : character in attribute name.
1613
1614 * msg2html.c (do_text_line_contents): Fix memory corruption.
1615
1616 * folder.c (get_textlink): Memory leak.
1617
1618 * msg2html.c (showmsgrfc2369_header): Fix memory corruption/leak.
1619
1620 2011-03-26 Sam Varshavchik <mrsam@courier-mta.com>
1621
1622 * rfc2045/rfc3676parser.c (count_quote_level): Parse > indentation
1623 even in non-flowed text.
1624
1625 * html.c: Complete rewrite of the HTML filter.
1626
1627 * maildir.c (opencache): Plug a memory leak.
1628
1629 2011-03-26 Sam Varshavchik <mrsam@courier-mta.com>
1630
1631 * unicode/unicode_htmlent.c: unicode_html40ent_lookup() -- lookup
1632 HTML 4.0 entities.
1633
1634 2011-03-19 Sam Varshavchik <mrsam@courier-mta.com>
1635
1636 * rfc2045/rfc2045reply.c (mkforward): Handle PGP-signed messages.
1637
1638 * images/sqwebmail.css: added white-space: nowrap to several tables
1639 in order to avoid ugly wrapping during real estate shortages.
1640
1641 * newmsg_create.c (newmsg_createdraft_do): Fix signature separator.
1642
1643 * unicode/unicode.h: Added unicode_isspace().
1644
1645 * unicode/unicode_wordbreak.c: Implementation of tr29.
1646
1647 * unicode/unicode.h: unicode_lb_set_opts(), plus derivatives: set
1648 artbirary linebreaking options. Two options that tailor the unicode
1649 linebreaking algorithm.
1650
1651 2011-03-16 Sam Varshavchik <mrsam@courier-mta.com>
1652
1653 * rfc2045/rfc2045reply.c (mkforward): Rewrite from scratch.
1654
1655 * rfc2045/rfc2045replyunicode.c: Remove rfc2045_makereply_unicode(),
1656 superceded by rfc2045_makereply().
1657
1658 * maildrop/testsuite.in (LANG): Additional test suites.
1659
1660 * maildrop/mailbot.c (usage): Some options were missing from the
1661 usage message.
1662
1663 2011-03-13 Sam Varshavchik <mrsam@courier-mta.com>
1664
1665 * webmail/images/sqwebmail.css: Adjust styles for quoted content.
1666
1667 * webmail/msg2html.c (text_set_quote_level): Omit our own classes from
1668 generated HTML mail that's going to be sent to someone.
1669
1670 * webmail/html.c (filtered_tag): Automatically add a class to BLOCKQUOTE
1671 TYPE=CITE elements. Add a nested DIV to all BLOCKQUOTE elements.
1672
1673 2011-03-12 Sam Varshavchik <mrsam@courier-mta.com>
1674
1675 * rfc2045/Makefile.am: Removed all obsoleted rfc2646 code, now that
1676 all its users are gone.
1677
1678 * webmail/autoresponse.c: Remove obsolete rfc2646 code, use common code
1679 shared with newmsg.c for reading and saving autoreply text.
1680
1681 * webmail/rfc2646html.[ch]: Removed.
1682
1683 * courier/doc/install.html: Document the webmail footer file. Always
1684 documented in the sqwebmail tree, now document it here too.
1685
1686 * webmail/pref.c: Signature files now always get saved in UTF-8.
1687
1688 * webmail/newmsg.c: Any sender's signature, and custom site footer,
1689 are shown when previewing the message, but get omitted from the edit
1690 text area. Signatures won't automatically appear in the editable text
1691 box when creating a new message, but will be automatically added when
1692 previewing the message and subsequently sending it.
1693
1694 Custom site footer files must now be explicitly coded in UTF-8, and
1695 follow the format=flowed, delsp=yes plain text format.
1696
1697 * webmail/folder.c: Update draft message formatting, to work with the
1698 new msg2html layer.
1699
1700 * webmail/newmsg.c: msg2html layer cleanup.
1701
1702 2011-03-06 Sam Varshavchik <mrsam@courier-mta.com>
1703
1704 * images/sqwebmail.css: Replace message-text-plain default style
1705 with sans serif font.
1706
1707 * unicode/unicode.c (convert_flush_iconv): Save errno in case it
1708 gets clobbered by the callback function.
1709
1710 * webmail/sqispell.c (show_part): filter() now takes a unicode stream.
1711
1712 * webmail/newmsg_create.c (newmsg_createdraft_do): filter() now takes
1713 a unicode stream.
1714
1715 * webmail/msg2html.c: Rewrite plain/flowed text formatted to use new
1716 rfc3676 functions.
1717
1718 * webmail/filter.c: Input to the filter object is now unicode.
1719
1720 2011-03-02 Sam Varshavchik <mrsam@courier-mta.com>
1721
1722 * courier/doc/courier.sgml: Clarify defaultdomain requirements.
1723
1724 2011-02-27 Sam Varshavchik <mrsam@courier-mta.com>
1725
1726 * unicode/mkcommon.pm: Reduce unicode table block size to 256,
1727 trading in larger table size for faster lookups in the hot code path.
1728
1729 2011-02-26 Sam Varshavchik <mrsam@courier-mta.com>
1730
1731 * unicode/unicode.h (mail): Added iterator-based conversion functions
1732 to/from unicode chars.
1733
1734 2011-02-24 Sam Varshavchik <mrsam@courier-mta.com>
1735
1736 * unicode/unicode.c (save_unicode): Optimize buffering of
1737 unicode characters.
1738
1739 2011-02-17 Sam Varshavchik <mrsam@courier-mta.com>
1740
1741 * webmail/folder.c (truncate_at): Only break characters at grapheme
1742 breaks.
1743
1744 * unicode/unicode.h: Adjust unicode_wcwidth() to return 0 for BK, CR,
1745 LF, CM, NL, WJ, ZW characters.
1746
1747 2011-02-16 Sam Varshavchik <mrsam@courier-mta.com>
1748
1749 * unicode/unicode.h: Internal implementation if tr14, linebreaking
1750 rules.
1751
1752 2011-02-12 Sam Varshavchik <mrsam@courier-mta.com>
1753
1754 * unicode/unicode_graphemebreak.c: unicode_grapheme_break() is an
1755 implementation of TR29.
1756
1757 * rfc822/rfc2047.c (do_encode_words_method): Avoid splitting RFC
1758 2047-encoded works in a middle of a grapheme.
1759
1760 2011-02-10 Sam Varshavchik <mrsam@courier-mta.com>
1761
1762 * gpglib/gpg.c (copyfp): Strip CRs from verified/decrypted content.
1763
1764 * webmail/html.c (replacelink): Fix URL washing.
1765
1766 2011-01-24 Sam Varshavchik <mrsam@courier-mta.com>
1767
1768 * rfc822/rfc2047.c (rfc2047_encode_callback): Rewrite broken logic.
1769
1770 * unicode/unicode.c (deinit_iconv): Incomplete multibyte character
1771 remaining at the end of conversion was falsely being reported as
1772 a callback failure, rather than a conversion failure.
1773
1774 2011-01-22 Sam Varshavchik <mrsam@courier-mta.com>
1775
1776 * Check if -liconv is needed to get iconv.
1777
1778 * Clean up leftover unicode-related crud in configure scripts.
1779
1780 2011-01-22 Gordon Messmer <yinyang@eburg.com>
1781
1782 * rfc1035/rfc1035mksocket.c (rfc1035_mksocket): Set IPV6_V6ONLY
1783 socket option to OFF for IPv6 sockets, if the system default is on.
1784
1785 2011-01-22 Sam Varshavchik <mrsam@courier-mta.com>
1786
1787 * Removed the last remains of the old unicode mapping code.
1788
1789 * unicode/unicode.c (init_default_chset): Import additional logic
1790 from the cone tree: CHARSET and MM_CHARSET environment variables
1791 override locale's charset indication. If unable to determine locale,
1792 parse lang.codeset@modifier string in LANG.
1793
1794 * courier/sendmail.c (main): Reset CHARSET, MM_CHARSET, and LANG.
1795
1796 * pcp/pcp.c (usage): Unicode API update.
1797
1798 * rfc822/rfc2047.c (rfc2047_encode_str): Removed
1799 rfc2047_encode_callback_base64, invoked from rfc2047_encode_str().
1800 Rewrite rfc2047_encode_str() to use the new unicode API.
1801
1802 2011-01-22 Sam Varshavchik <mrsam@courier-mta.com>
1803
1804 * rfc822/rfc2047u.c: Unicode API updates.
1805
1806 * courier/cmlm2.C (cmdset): Unicode API update.
1807
1808 * mailbot: Unicode API update.
1809
1810 * unicode/unicode.h: Replace unicode_x_imap_modutf7 with a #define.
1811 Eliminted unicode_x_smap_modutf7, replaced with
1812 unicode_x_imap_modutf7, a space, and blacklisted chars.
1813
1814 * unicode/unicodecpp.C (convert_tocase): C++ binding for
1815 libmail_u_convert_tocase().
1816
1817 * unicode/unicode.c (init_default_chset): Map GNU libc nl_langinfo()
1818 return of "ANSI_X3.4*" to "US-ASCII".
1819
1820 2011-01-17 Sam Varshavchik <mrsam@courier-mta.com>
1821
1822 * unicode/unicode_ultcase.c (unicode_tc): Convert test character
1823 to lowercase first, before converting to titlecase -- UnicodeData
1824 does not specify an uppercase char's titlecase, directly.
1825
1826 * maildir/maildirsearch.h (mail): New C++ binding method -
1827 getSearchLen().
1828
1829 2011-01-16 Sam Varshavchik <mrsam@courier-mta.com>
1830
1831 * unicode/unicode.h: Define C++ binding for libmail_u_convert(),
1832 mail::iconvert.
1833
1834 * maildir/maildirsearch.h (mail): Convert the C++ binding to use
1835 the unicode-aware, case-insensitive, whitespace-collapsing algorithm.
1836
1837 2011-01-15 Sam Varshavchik <mrsam@courier-mta.com>
1838
1839 * webmail/strftime.c (strftime_unicode): Use libmail_u_convert_tobuf()
1840 instead of the obsoleted unicode functions.
1841
1842 * webmail/msg2html.h: Renamed the character_set_follows callback as the
1843 charset_warning callback.
1844
1845 * webmail/msg2html.c (showtexthtml): Invoke the charset_warning
1846 callback, after generating the formatted message contents, and only if
1847 the updated rfc2045_decodetextmimesection() function returned
1848 an indication of a charset conversion failure
1849 (showtextplain): Ditto.
1850
1851 * webmail/maildir.c (execute_maildir_search): Use
1852 libmail_u_convert_toutf8() instead of the obsoleted unicode functions.
1853 (folder_toutf7): Use libmail_u_convert_tobuf() instead of the
1854 obsoleted unicode functions.
1855 (folder_fromutf7): Use libmail_u_convert_tobuf() instead of the
1856 obsoleted unicode functions.
1857
1858 * webmail/ldaplist.c (getfilter): Use libmail_u_convert_toutf8() instead
1859 of the obsoleted unicode functions.
1860
1861 * webmail/folder.c (show_msg_match_str): Use
1862 libmail_u_convert_fromutf8() instead of the obsoleted unicode functions.
1863 (truncate_at): Use libmail_u_convert_tou_init() and
1864 libmail_u_convert_fromu_init() instead of the
1865 obsoleted unicode functions.
1866
1867 * webmail/auth.c (login_fromhdr): Use libmail_u_convert_toutf8()
1868 instead of the obsoleted unicode functions.
1869
1870 * webmail/attachments.c (attachments_head): Remove code that used
1871 obsolete unicode functions.
1872
1873 * webmail/addressbook.c (ab_add): Use libmail_u_convert_toutf8()
1874 instead of the obsolete unicode functions.
1875 (ab_listselect_fp): Use libmail_u_convert_fromutf8() instead of the
1876 obsolete unicode functions.
1877 (ab_show_utf8): Ditto.
1878 (addressbook): Ditto.
1879
1880 * webmail/acl.c: Use libmail_u_convert_toutf8() and
1881 libmail_u_convert_fromutf8() instead of the obsolete unicode functions.
1882
1883 * unicode/unicode.c (unicode_default_chset): New function calculates
1884 the default system unicode charset based on the global locale.
1885 (libmail_u_convert_init): Support a phony character set used to
1886 encode unicode folder names for IMAP (and SMAP). Passing the
1887 phony character set name to libmail_u_convert_init() encodes or
1888 decodes to the phony character set. For converting to the phony
1889 character set, libmail_u_convert_init() sets up an iconv conversion to
1890 UCS-2, then wraps it into a module that converts UCS-2 to the phony
1891 character set. For converting from the phony character set,
1892 libmail_u_convert_init() sets up an iconv conversion from UCS-2, then
1893 wraps it into a module that converts the phony character set to UCS-2.
1894 (libmail_u_convert_tocbuf_init): A wrapper to libmail_u_convert_init()
1895 that converts to native UCS-4, and saves it into a malloc-ed
1896 unicode_char array.
1897 (libmail_u_convert_tocbuf_toutf8_init): Convenience wrapper for
1898 converting to UTF-8.
1899 (libmail_u_convert_tocbuf_fromutf8_init): Convenience wrapper for
1900 converting from UTF-8.
1901 (libmail_u_convert_toutf8): Convenience wrapper that converts
1902 a text string to UTF-8 and returns a malloced buffer with the
1903 converted string.
1904 (libmail_u_convert_fromutf8): Convenience wrapper that converts
1905 a UTF-8 string to another charset, and returns a malloced buffer with
1906 the converted string.
1907 (libmail_u_convert_tobuf): Convenience wrapper that converts a
1908 character string and returns the converted string in a malloced
1909 buffer.
1910 (libmail_u_convert_fromu_init): Convenience wrapper that sets up
1911 a conversion of text to native unicode_chars.
1912 (libmail_u_convert_uc): Convenience wrapper for passing unicode chars
1913 through libmail_u_convert().
1914
1915 * rfc2045/rfc2646create.c (rfc2646create_alloc): Replace unicode
1916 struct pointer argument with a character set string name.
1917 Use libmail_u_convert_fromu_init() and libmail_u_convert_tou_init()
1918 instead of the obsolete unicode functions.
1919
1920 * rfc2045/rfc2231.c: Replace the unicode struct pointer argument with
1921 a character set string. Use libmail_u_convert_tobuf() instead of the
1922 obsolete unicode functions.
1923
1924 * rfc2045/rfc2045decodemimesectionu.c (rfc2045_decodetextmimesection):
1925 Add a return value indication of a failed conversion to the requested
1926 character set.
1927
1928 * maildir/maildirinfo.c: Use libmail_u_convert_tobuf() instead of the
1929 obsoleted unicode functions.
1930
1931 * gpglib/list.c (definit): Replace the charset field in gpg_list_info,
1932 a unicode struct ptr, with a character string.
1933 (dolist_callback): Use libmail_u_convert_fromutf8() instead of the
1934 obsolete unicode functions.
1935
1936 * gpglib/genkey.c (libmail_gpg_genkey): libmail_gpg_genkey() takes
1937 a charset name instead of a unicode struct ptr. Use
1938 libmail_u_convert_toutf8() instead of the obsoleted unicode functions.
1939
1940 2011-01-09 Sam Varshavchik <mrsam@courier-mta.com>
1941
1942 * imap: Replace all usage of internal unicode tables with iconv.
1943 Courier-IMAP now supports searching text given in any character set
1944 that's supported by iconv. The internal unicode library is still used
1945 for converting unicode to/from lower/uppercase, for functionality
1946 not directly available in iconv. Pretty much a rewrite of the entire
1947 search/sort/thread implementation.
1948
1949 * rfc822/rfc822_parsedt.c: Eliminate the dependency on ctype, replaced
1950 them with macros.
1951
1952 2011-01-08 Sam Varshavchik <mrsam@courier-mta.com>
1953
1954 * rfc822/rfc822hdr.c (rfc822hdr_namecmp): Factor out rfc822hdr_namecmp
1955 from rfc822hdr_is_addr, and make it usable, generically.
1956
1957 * all: Major rewrite of rfc2045 parsing functions, adding an abstraction
1958 layer for reading the contents of the parsed rfc 2045 message, rather
1959 than reading from a plain file descriptor.
1960
1961 * courier/libs/comrwmsg7bit.c (rw_rewrite_msg_7bit): New rfc2045src
1962 abstraction layer API update.
1963
1964 * gpglib/gpg.c (dosignencode): Ditto.
1965
1966 * imap/smap.c: New rfc2045src abstraction layer API update.
1967
1968 * maildrop/mailbot.c (main): New rfc2045src abstraction layer API
1969 update.
1970
1971 * pcp.c (list_msg_textplain): New rfc2045src abstraction layer API
1972 update.
1973
1974 * rfc822/rfc822hdr.c (rfc822hdr_namecmp): Factor out rfc822hdr_namecmp
1975 from rfc822hdr_is_addr, and make it usable, generically.
1976
1977 * webmail/msg2html.c (showtexthtml, showtextplain): New rfc2045src
1978 abstraction layer API update.
1979
1980 * courier/submit2.C (MessageEnd): Drop checks for 8 bit content
1981 in message headers (utf-8 is coming). Removed rfcerrheader.txt,
1982 rfcerr2045.txt, rfcerr2046.txt, rfcerr2047.txt.
1983
1984 * courier/doc/courier.sgml: Removed the documentation for BOFHBADMIME,
1985 accordingly.
1986
1987 * pcp/pcpd.c (readnewevent): Fix uninitialized memory usage breaking
1988 pcpd.
1989
1990 * pcp/pcp.c (list_msg_textplain): New rfc2045src abstraction layer API
1991 update.
1992
1993 * webmail/msg2html.c (showtexthtml, showtextplain): New rfc2045src
1994 abstraction layer API update.
1995
1996 * webmail/newmsg_newdraft.c (newmsg_newdraft): New rfc2045src
1997 abstraction layer API update.
1998
1999 * webmail/newmsg.c (newmsg_showfp): New rfc2045src abstraction layer API
2000 update.
2001
2002 2011-01-04 Sam Varshavchik <mrsam@courier-mta.com>
2003
2004 * rfc2045/rfc2045reply.c (mkreply): When copying a message's original
2005 headers into a DSN-formatted mailbot-generated reply, preserve the case
2006 of the original headers' names.
2007
2008 2011-01-03 Sam Varshavchik <mrsam@courier-mta.com>
2009
2010 * rfc2045/rfc2045decodemsgtoutf8.c, rfc2045/rfc2045.h: Replace
2011 function arg and passthrough arg to rfc2045_decodemsgtoutf8() with
2012 a pointer to a structure that gives callback info. The function that
2013 receives the decoded content now takes a character string+count,
2014 instead of a single character.
2015
2016 * rfc2045/reformime.c (doconvtoutf8_stdout): Corresponding changes.
2017
2018 * webmail/maildir.c (do_maildir_search): Corresponding changes.
2019
2020 * maildrop/maildropfilter.sgml: Clarify wording.
2021
2022 * maildir/maildirsearch.c (maildir_search_start_unicode): Search was
2023 broken, how did I miss this?
2024
2025 * folder.c (folder_initnextprev): Fix bug when displaying a message
2026 NOT after search results.
2027
2028 * maildir.c (do_search_utf8): Search was broken for non-Latin charsets.
2029
2030 2011-01-02 Sam Varshavchik <mrsam@courier-mta.com>
2031
2032 * rfc2045/rfc2045decodemsgtoutf8.c: Propagate all non-0 exit codes
2033 from the callback function, don't force to a negative value.
2034
2035 * rfc2045/rfc2045decodemimesectionu.c: Add descriptive comments.
2036
2037 * rfc2045/testsuite (Content-Type): Add additional test for proper
2038 iconv-based decoding implementation.
2039
2040 2011-01-01 Alessandro Vesely <vesely@tana.it>
2041
2042 * courier/module.dsn/dsn.c: Adjust indentation to avoid parts of DSNs
2043 unintentionally interpreted as quoted content.
2044
2045 2010-12-30 Sam Varshavchik <mrsam@courier-mta.com>
2046
2047 * courier.spec.in (Requires): Require /etc/cron.hourly, rather than
2048 cronie or vixie-cron, so that it'll work with both.
2049
2050 2010-12-18 Sam Varshavchik <mrsam@courier-mta.com>
2051
2052 * courier/module.esmtp/courieresmtpd.c: An AUTH error logs "AUTH" as
2053 the failed command in syslog, rather than the last command sent from
2054 the client, which may be the password.
2055
2056 2010-12-12 Sam Varshavchik <mrsam@courier-mta.com>
2057
2058 * unicode/Makefile.am: Updated source link to big5-iso.txt. Updated
2059 eastasianwidth.h.
2060
2061 * maildir/maildirsearch.h: maildir_searchengine uses unicode chars
2062 internally. Replace maildir_search_start with
2063 maildir_search_start_unicode() and provide a replacement
2064 maildir_search_start_str() that widens a narrow char string to unicode
2065 char size.
2066
2067 * rfc2045/rfc2045decodemsgtoutf8.c (rfc2045_decodemsgtoutf8): Add a
2068 pass-through opaque pointer, closure.
2069
2070 * rfc2045/rfc2045decodemimesectionu.c (rfc2045_decodetextmimesection):
2071 Total rewrite that uses iconv, rather the built-in libunicode.
2072
2073 * webmail/images/sqwebmail.css: Additional style sheets for search
2074 results context.
2075
2076 * webmail/html/en-us/folder.html: Repurpose the folder list page as the
2077 search results page.
2078
2079 * webmail/maildir.c (maildir_purgesearch): New function - remove search
2080 results file from the tmp directory.
2081 (maildir_search): Implement searching, save search results in a
2082 ":search:" file in the tmp directory.
2083
2084 * webmail/folder.c (folder_delmsgs): Preserve search context in a
2085 redirect after deleting or moving a message.
2086 (show_msg): Display matched contexts if showing messages after a
2087 search.
2088 (folder_initnextprev): Preserve search contexts in links from the
2089 message navigation bar. When showing messages from a search results
2090 page, navigate to next/prev matched message, instead of the next/prev
2091 message in the folder.
2092 (folder_delmsg): Preserve search context in the delete/move message
2093 form.
2094
2095 * webmail/maildir.c (maildir_loadsearch): Save which message was the
2096 last one searched, and show it on the search results page.
2097
2098 2010-12-11 Sam Varshavchik <mrsam@courier-mta.com>
2099
2100 * webmail/folder.h (struct): New msgnum field in the MSGINFO structure.
2101
2102 * webmail/maildir.c (maildir_read): Initialize the new msgnum field in
2103 the MSGINFO structure.
2104
2105 * webmail/maildir.c (maildir_search): Skeleton alternative for
2106 maildir_read() that searches the maildir. Does everything but the
2107 actual search, returns the first <pagesize> messages from the maildir,
2108 as if all of them match the search string.
2109
2110 * webmail/folder.c (folder_contents): If the 'search' form parameter is
2111 present, call the new maildir_search() function instead of
2112 maildir_read(). Move the code that formats a single message line into
2113 a separate function, for readability. Instead of using
2114 (first message shown + row number) as the message number, use the
2115 msgnum parameter in the MSGINFO structure.
2116 (folder_navigate): Rename as do_folder_navigate(), folder_navigate()
2117 wrapper invokes do_folder_navigate() only if the 'search' form
2118 parameter is not present, otherwise it replaces it with
2119 "Return to folder" link.
2120
2121 * webmail/html/en-us/folder.html - the search box.
2122
2123 2010-12-09 Sam Varshavchik <mrsam@courier-mta.com>
2124
2125 * rfc2045/rfc2045decodemsgtoutf8.c: new function:
2126 rfc2045_decodemsgtoutf8().
2127
2128 2010-11-27 Alessandro Vesely <vesely@tana.it>
2129
2130 * html.c: Try to fix up sanitization of ugly HTML
2131
2132 0.65.3
2133
2134 2011-02-10 Sam Varshavchik <mrsam@courier-mta.com>
2135
2136 * courier/module.esmtp/esmtpiov.h: iovreset() flushes input buffer
2137 after STARTTLS (pushed into 0.65.3).
2138
2139 0.65.2
2140
2141 2010-11-06 Mr. Sam <mrsam@courier-mta.com>
2142
2143 * gpglib/configure.in: Use "gpg2" if "gpg" is not found.
2144
2145 * courier.spec.in: Use gnugp2 as a requirement if gnupg is not
2146 installed. Update vixie-cron -> cronie.
2147
2148 2010-10-22 Sam Varshavchik <mrsam@courier-mta.com>
2149
2150 * maildrop/maildropex.sgml: Fix formatting problem with man page
2151 stylesheet.
2152
2153 2010-10-11 Alessandro Vesely <vesely@tana.it>
2154
2155 * courier/submit.C: -rfc3848 - specify an RFC 3848-format WITH
2156 clause in the Received: header.
2157
2158 * courier/module.esmtp/courieresmtpd.c: pass -rfc3848 to submit,
2159 trim trailing spaces from received SMTP commands.
2160
2161 0.65.1
2162
2163 2010-10-04 Sam Varshavchik <mrsam@courier-mta.com>
2164
2165 * attachments.c (attach_upload): Always specify client's character
2166 set as the upload content's character set.
2167
2168 * rfc2045/makemime.c (createsimplemime): Use charset specified in the
2169 MIME autoresponse text.
2170
2171 2010-09-21 Sam Varshavchik <mrsam@courier-mta.com>
2172
2173 * maildrop/mailbot.c: Sanity check on the contents of a MIME-formatted
2174 autoreply template: it must specify text/plain content type, and its
2175 charset gets used as the charset of the formatted autoreply.
2176 Drop the existing C-T-E header, and document the requirement that it
2177 cannot be a quoted-printable formatted MIME autoreply.
2178
2179 2010-08-21 Sam Varshavchik <mrsam@courier-mta.com>
2180
2181 * Makefile.am (imapd.cnf): Compatibility fixes.
2182
2183 2010-08-16 Sam Varshavchik <mrsam@courier-mta.com>
2184
2185 * courier/module.esmtp/esmtpclient.c (get_sourceaddr): Fix macro typo.
2186
2187 2010-08-15 Sam Varshavchik <mrsam@courier-mta.com>
2188
2189 * webmail/mailfilter.c (clrfields): Added the "noquote" option to the
2190 filter screen that sets the donotquote autoreply option.
2191
2192 * rfc2045/rfc2045reply.c: added donotquote option, to suppress autoreply
2193 text.
2194
2195 * maildrop/mailbot.c (main): Add the -N option to mailbot, to set the
2196 donotquote option.
2197
2198 * maildir/maildirfilter.c: "noquote" autoreply option adds the -N
2199 option to the mailbot command line.
2200
2201 * maildir/maildirwatch.c (maildirwatch_alloc): Use alarm() to kill
2202 the process if FAMOpen() takes more than 15 seconds to return.
2203 Should prevent a hung process if FAM/Gamin is fubared.
2204
2205 2010-07-11 Sam Varshavchik <mrsam@courier-mta.com>
2206
2207 * pop3dserver.c: Make printed() and putchar() macros.
2208
2209 2010-07-01 Sam Varshavchik <mrsam@courier-mta.com>
2210
2211 * esmtpd.cnf imapd.cnf pop3d.cnf (default_md): added default_md = sha1
2212
2213 2010-06-28 Sam Varshavchik <mrsam@courier-mta.com>
2214
2215 * --with-certsdir specifies the directory where SSL cert files are
2216 installed. Based on a patch by "Elan Ruusamäe" <glen@delfi.ee>.
2217
2218 * rfc822/rfc822.c (rfc822_print_common_nameaddr): Prevent segfault if
2219 address decode fails.
2220
2221 * Fix make check failure when libidn is not available.
2222
2223 2010-06-25 Sam Varshavchik <mrsam@courier-mta.com>
2224
2225 * courier/module.esmtp/esmtpclient.c (get_sourceaddr): Check
2226 SOURCE_ADDRESS_IPV6 if the destination is an IPv6 address, and
2227 SOURCE_ADDRESS will be used only for IPv4 destinations.
2228
2229 2010-06-01 Mr. Sam <mrsam@courier-mta.com>
2230
2231 * courier/module.fax/application-postscript.filter.in: Pass the -P
2232 option to ghostscript.
2233
2234 * courier/module.fax/application-pdf.filter.in: Ditto.
2235
2236 2010-05-31 Sam Varshavchik <mrsam@courier-mta.com>
2237
2238 * Rebuilt man pages with updated stylesheets.
2239
2240 0.65
2241
2242 2010-05-30 Mr. Sam <mrsam@courier-mta.com>
2243
2244 * gpglib/list.c: Handle GnuPG 2 --with-colons output format changes.
2245
2246 * gpglib/mimegpgfork.c: GnuPG 2 wants --batch when specifying
2247 passphrase-fd.
2248
2249 * tcpd/configure.in: Check if explicit linking with libgpg-error is
2250 required.
2251
2252 2010-05-01 Mr. Sam <mrsam@courier-mta.com>
2253
2254 * tcpd/libcouriergnutls.c (tls_connect): Fix bad call to
2255 gnutls_server_name_set(). Affects Courier compiled with GnuTLS
2256 support.
2257
2258 2010-04-26 Sam Varshavchik <mrsam@courier-mta.com>
2259
2260 * maildrop/mailbot.c (main): Set close-on-exec bit on opened files.
2261
2262 2010-04-17 Sam Varshavchik <mrsam@courier-mta.com>
2263
2264 * courier/doc/courier.sgml: Move the SPF section to a separate refsect2
2265 to work around misformatting by the manpage stylesheet.
2266
2267 2010-04-15 Sam Varshavchik <mrsam@courier-mta.com>
2268
2269 * rfc2045/rfc2045reply.c (mkreply): Fix sender's name in the
2270 reply salutation.
2271
2272 * html/en-us/newmsg.html: Ditto.
2273 2010-04-10 Sam Varshavchik <mrsam@courier-mta.com>
2274
2275 * rfc2045/reformime.sgml: Document the -c option to reformime.
2276
2277 2010-03-20 "Stefan Hornburg (Racke)" <racke@linuxia.de>
2278
2279 * imapd.c (main): Fix typo in alert message.
2280
2281 2010-03-18 Hugo Monteiro <hugo.monteiro@fct.unl.pt>
2282
2283 * Big quota patch (with some changes).
2284
2285 0.64.2
2286
2287 2010-03-16 Alessandro Vesely <vesely@tana.it>
2288
2289 * courier/module.local/local.c (rw_local_filter): Fix crash if
2290 a local mail filter produces more than bufsiz-1 bytes.
2291
2292 2010-03-12 Sam Varshavchik <mrsam@courier-mta.com>
2293
2294 * imapd.c (main): Dummy FAM/Gamin initialization, report an error
2295 during login, upon a failure.
2296
2297 2010-03-10 Sam Varshavchik <mrsam@courier-mta.com>
2298
2299 * imap/imapd.c (imapenhancedidle): Make FAM error more meaningful.
2300
2301 2010-02-25 Bernard Quatermass <bernard@quatermass.co.uk>
2302
2303 * pop3dserver.c (main): "disableinsecurepop3" account option disables
2304 non-SSL logins.
2305
2306 * imapd.c (chkdisabled): "disableinsecureimap" account option disables
2307 non-SSL logins.
2308
2309 0.64.1
2310
2311 2010-02-24 Sam Varshavchik <mrsam@courier-mta.com>
2312
2313 * maildrop/mailbot.c (main): Fix memory corruption if the -c option
2314 was passed to mailbot.
2315
2316 2010-02-02 "Hanno Böck" <hanno@hboeck.de>
2317
2318 * courier/module.esmtp/courieresmtpd.c: Option to disable tarpitting.
2319
2320 2010-01-14 Josip Rodin <joy@debbugs.entuzijast.net>
2321
2322 * maildrop/main.C (run): When using system authentication on
2323 platforms where the mail directory does not use the sticky bit,
2324 use groupid set by the set-group-id bit on the binary executable,
2325 if any.
2326
2327 2010-01-12 Sam Varshavchik <mrsam@courier-mta.com>
2328
2329 * courier/module.local/deliver.c (docommand): Do not invoke an external
2330 mail handler with a completely empty environment. Courier startup
2331 script already reset the environment, and initialized it with the
2332 default system locale, which we want the child process to inherit.
2333
2334 * maildrop/main.C (run): In delivery mode, preserve LANG, LANGUAGE,
2335 and LC_* environment variables from the parent.
2336
2337 2010-01-09 Klaus Heinz <k.heinz@janzehn.kh-22.de>
2338
2339 * courier/configure.in: Fix typo
2340
2341 0.64.0
2342
2343 2009-12-18 Sam Varshavchik <mrsam@courier-mta.com>
2344
2345 * courier/ldapaliasd.c (search_maildrop): Escape mail address in
2346 alias lookups.
2347
2348 2009-11-22 Sam Varshavchik <mrsam@courier-mta.com>
2349
2350 * rfc822/rfc822.c: Removed rfc822_praddr().
2351
2352 * rfc822/rfc822_getaddr.c (rfc822_getaddr): Implement rfc822_getaddr()
2353 by calling rfc822_display_addr_tobuf(), instead of rfc822_praddr().
2354
2355 * rfc822/testsuite.c (doaddr): Remove rfc822_addrlist() and
2356 rfc822_namelist().
2357
2358 * rfc822/rfc822.c: remove rfc822_addrlist() and
2359 rfc822_namelist()
2360
2361 * courier/module.local/deliver.c (dodel): Replace usage of
2362 rfc822_addrlist() with rfc822_display_addr_tobuf.
2363
2364 * maildrop/reformail.C (add_from_filter): Replace usage of
2365 rfc822_addrlist() with rfc822_display_addr_tobuf.
2366
2367 * maildrop/recipenode.C (rfc822getaddr): Replace usage of
2368 rfc822_addrlist() with rfc822_display_addr_tobuf.
2369
2370 * maildrop/reformail.C (main): Removed the -r, -p, -P, -t, -k options,
2371 replaced by new mailbot options.
2372
2373 * maildrop/mailbot.c (main): New options that set the corresponding
2374 parameters to rfc2045_makereply_unicode(): -e, -T, -F -S
2375
2376 * rfc2045/rfc2045replyunicode.c (rfc2045_makereply_unicode): Added
2377 replytoenvelope setting. Added sophisticated formatting for
2378 replysalut.
2379
2380 2009-11-21 Sam Varshavchik <mrsam@courier-mta.com>
2381
2382 * rfc822/rfc822_getaddr.c: Remove rfc822_prname() and
2383 rfc822_prname_orlist(), replaced by rfc822_display_name() with a NULL
2384 character set.
2385
2386 * rfc822/rfc2047u.c (rfc822_display_name): Semantical change --
2387 without an explicit name, display the address as the name. If the
2388 requested character set is NULL, do not decode RFC2047-encoded content,
2389 return it as is.
2390
2391 * webmail/addressbook.c (addressbook): Replace rfc822_getname() by
2392 rfc822_display_name() with the character set specified as NULL.
2393
2394 * imap/msgenvelope.c (doenva): Replace rfc822_getname() by
2395 rfc822_display_name_tobuf() with a NULL character set.
2396
2397 2009-11-17 Sam Varshavchik <mrsam@courier-mta.com>
2398
2399 * rfc822/rfc2047u.c (rfc2047_print_unicodeaddr): Fix several formatting
2400 issues with deprecated RFC 822 distribution lists: spurious comma
2401 adter the last address, pass the space after the ':' as a separator
2402 character.
2403
2404 * rfc822/rfc2047.c (counts2/save): Fix line-wrapping of encoded
2405 addresses.
2406
2407 * rfc822/rfc2047u.c (rfc822_display_addr_tobuf): New function.
2408
2409 * webmail/maildir.c (maildir_ngetinfo): Fix logic for locating the
2410 name used for salutation.
2411
2412 * rfc2045/rfc2045reply.c (mkreply): Fix logic for locating the
2413 name used for salutation.
2414
2415 2009-11-14 Sam Varshavchik <mrsam@courier-mta.com>
2416
2417 * webmail/folder.c: In the folder cache file, always store senders and
2418 subjects encoded using UTF-8. After upgrading, the folder index may
2419 not properly show non-Latin characters until the next message is added
2420 to the folder, and the folder cache gets rebuilt.
2421
2422 * webmail/addressbook.c: Always use UTF-8 for local sqwebmail address
2423 books. After upgrading, it might be necessary to do a one-time
2424 conversion of the address book file to UTF-8 encoding.
2425
2426 * rfc822/rfc822.c (rfc822_print_common): Rewrite.
2427
2428 * rfc822/rfc2047u.c (rfc822_display_name_int): Fixed various rules for
2429 encoding names to be more MIME compliant.
2430 (rfc822_display_addr_str): Renamed from rfc822_display_addr(), for a
2431 consistent API.
2432 (rfc822_display_addr): New function, decode the wire format of a single
2433 address. Names are MIME decoded, addresses are IDN-decoded.
2434 (rfc2047_print_unicodeaddr): Do not output a dummy name for an
2435 address without one.
2436 (rfc822_display_addr_str_tobuf): New function, version of
2437 rfc822_display_addr_str() that collects the output into a buffer.
2438
2439 * rfc822/rfc2047.c (rfc822_encode_domain): New function -- IDN-encode
2440 a domain, with an optional "user@".
2441 (rfc2047_encode_header_addr): Renamed rfc2047_encode_header(), for a
2442 consistent API.
2443 (rfc2047_encode_header_tobuf): New function, encode a header from
2444 displayed format to wire format. Names are encoded using RFC 2047,
2445 addresses using IDN.
2446
2447 2009-11-12 Sam Varshavchik <mrsam@courier-mta.com>
2448
2449 * maildrop/maildropfilter.sgml: Typo fix.
2450
2451 2009-11-08 Sam Varshavchik <mrsam@courier-mta.com>
2452
2453 * pcp/pcpdir.c (retrevent): Fix memory leak.
2454
2455 * pcp/pcp.c (list): MIME-decode the subjects in the output of the list
2456 command.
2457 (list_msg_rfc822): Fix MIME-decoding of headers in the output of the
2458 retrieve command.
2459 (main): Use the default system locale character set.
2460
2461 * rfc822/rfc2047.h: Expose raw RFC 2047 decoding function,
2462 rfc2047_decoder().
2463
2464 * rfc822/rfc822hdr.c (rfc822hdr_is_addr): New function.
2465
2466 * rfc822/rfc822.c (tokenize): Tweak the logic for collecting RFC 2047
2467 atoms.
2468
2469 * rfc822/rfc2047u.c (rfc822_display_name): New function,
2470 replaces rfc2047_print().
2471 (rfc822_display_name_tobuf): New function,
2472 replaces rfc2047_print().
2473 (rfc822_display_namelist): New function,
2474 replaces rfc822_namelist().
2475 (rfc822_display_addr): New function, replaces rfc2047_print().
2476 (rfc2047_print_unicodeaddr): Renamed from rfc2047_print_unicode().
2477 (rfc822_display_hdrvalue): New function, replaces rfc2047_decode(),
2478 rfc2047_decode_simple(), rfc2047_decode_enhanced().
2479 (rfc822_display_hdrvalue_tobuf): New function, ditto.
2480
2481 * rfc822/rfc2047.c: Removed rfc2047_decode(), rfc2047_decode_simple(),
2482 rfc2047_decode_enhanced(), rfc2047_print().
2483
2484 * rfc822/Makefile.am: Link against GNU IDN library.
2485
2486 * rfc2045/rfc2045.h: Added "replydsn" option to rfc2045_makereply(),
2487 incorporates the MIME bounce format generated by mailbot.
2488 Added "subject" -- override subject of the reply.
2489 Added "dsnfrom" -- for the replydsn option.
2490 Added two callbacks used by the replydsn option.
2491 Remove rfc2045_makereply(), leaving just rfc2045_makereply_unicode().
2492
2493 * rfc2045/reformime.c (do_print_info): MIME-decode the content
2494 description.
2495 (main2): New -H option.
2496
2497 * pcp/pcpdir.c (retrevent): Fix memory leak.
2498
2499 * pcp/pcp.c (list): MIME-decode the subjects in the output of the list
2500 command.
2501 (list_msg_rfc822): Fix MIME-decoding of headers in the output of the
2502 retrieve command.
2503 (main): Use the default system locale character set.
2504
2505 * maildrop/mailbot.c (main): Use the default character set from the
2506 system locale.
2507 (usage): Added the -n option, for debugging purposes.
2508 (opensendmail): Pass the autoreply to sendmail in a file descriptor
2509 for a temporary file on stdin, instead of piping the resulting
2510 message to sendmail, running as a child process.
2511 (savemessage): Save the input message in a temporary file, and
2512 RFC2045-parse it.
2513 (main): Use rfc2045_makereply_unicode() to prepare the autoreply
2514 message. Clarify mailbot man page as to the slightly changed
2515 requirements for the autoreply text that must be given to mailbot.
2516
2517 * imap/thread.c (thread_ref_callback): SUBJECT for THREAD REFERENCES
2518 wasn't getting converted to UTF-8 at the right point, moved it up into
2519 search.c
2520
2521 * imap/search.c (fill_search_header): SUBJECT search key was being
2522 MIME-decoded twice.
2523
2524 * courier/cmlmfetch.C (doindex): Use returnaddr() to compute return
2525 address for responses to the "index" request.
2526
2527 * courier/cmlm.C (main): Run cmlm in the default system locale.
2528
2529 2009-11-02 Sam Varshavchik <mrsam@courier-mta.com>
2530
2531 * courier/courierd.dist: New setting: SYSLOCALE -- load default system
2532 locale. Remove the forced LC_ALL=C setting.
2533
2534 * pcp/pcp.c: Default output charset taken from the default locale,
2535 rather than the fixed iso-8859-1.
2536
2537 * maildrop/mailbot.c: Ditto.
2538
2539 0.63.0
2540
2541 2009-09-05 Gordon Messmer <yinyang@eburg.com>
2542
2543 * outbox.c (imapd_sendmsg): Renamed sendmsg() to avoid library name
2544 clash.
2545
2546 2009-08-28 Sam Varshavchik <mrsam@courier-mta.com>
2547
2548 * courier.sysvinit.in: Fix typo in init file.
2549
2550 2009-08-12 "Hanno Böck" <hanno@hboeck.de>
2551
2552 * tls: change the default OpenSSL configuration to disable anonymous
2553 authentication ciphers.
2554
2555 2009-07-29 Sam Varshavchik <mrsam@courier-mta.com>
2556
2557 * tcpd/tcpd.c (check_drop): -drop option -- drop connections from
2558 blacklisted IP addresses.
2559
2560 * courier/module.esmtp/esmtpd.dist.in (DROP): Added DROP variable
2561 to hold the -drop option.
2562
2563 * courier/webadmin/admin-30esmtp.html: Added interface to set the
2564 DROP setting, dropped obsolete DNSBLs.
2565
2566 0.62.2
2567
2568 2009-07-13 Sam Varshavchik <mrsam@courier-mta.com>
2569
2570 * courier/module.esmtp/courieresmtpd.c: Fix null ptr deref.
2571
2572 0.62.1
2573
2574 2009-06-13 Sam Varshavchik <mrsam@courier-mta.com>
2575
2576 * Various portability fixes for gcc 4.4 and newer libtool.
2577
2578 2009-06-01 Sam Varshavchik <mrsam@courier-mta.com>
2579
2580 * courier/module.esmtp/esmtpd.dist.in (ESMTPAUTH): Clarify the
2581 description of the ESMTPAUTH option.
2582
2583 0.62.0
2584
2585 2009-05-09 Sam Varshavchik <mrsam@courier-mta.com>
2586
2587 * Documentation refresh.
2588
2589 2009-05-02 Sam Varshavchik <mrsam@courier-mta.com>
2590
2591 * courier/module.esmtp/courieresmtpd.c (iov_logerror): Do not log
2592 connection errors reported for the QUIT command.
2593
2594 * courier/cdmsgq.C: Include authentication credentials in "newmsg"
2595 syslog entries of messages that were submitted using authenticated
2596 SMTP. Note that this changes the format of "newmsg" syslog entries.
2597
2598 2009-03-23 Fernando Gozalo <fgozalo@csi.uned.es>
2599
2600 * pop3dserver.c: s/POP3_STLS/POP3_TLS/, for correct logging.
2601
2602 0.61.2
2603
2604 2009-03-04 Mr. Sam <mrsam@courier-mta.com>
2605
2606 * tcpd/libcouriergnutls.c (gen_encryption_desc): Fix off-by-1.
2607
2608 * courier/module.local/localmail.c (save_submit_errmsg): Fix NULL ptr
2609 deref.
2610
2611 2009-02-22 Sam Varshavchik <mrsam@courier-mta.com>
2612
2613 * courier/doc/Makefile.am (man1): dotforward.1 was listed twice.
2614
2615 2009-02-22 "Jürgen Walch" <jwalch@plumsoft.de>
2616
2617 * courier/submit.C (getrcpts): Renamed any existing Received-SPF to
2618 Old-Received-SPF headers only if SPF is actually enabled.
2619
2620 0.61.1
2621
2622 2009-02-05 Sam Varshavchik <mrsam@courier-mta.com>
2623
2624 * webmail/html.c: Fix handing of broken HTML email
2625
2626 2009-02-04 Mr. Sam <mrsam@courier-mta.com>
2627
2628 * pcp/intl/plural.c: Fix broken version that made it into the tarball.
2629
2630 0.61
2631
2632 2009-01-27 Sam Varshavchik <mrsam@courier-mta.com>
2633
2634 * webadmin: updated LDAP configuration screens.
2635
2636 2009-01-27 Sam Varshavchik <mrsam@courier-mta.com>
2637
2638 * tcpd/libcouriergnutls.c (struct ssl_handle_t): Drop an unused
2639 variable.
2640 (set_cert): Fix cleanup upon X.509 cert import failure.
2641
2642 2009-01-26 Mr. Sam <mrsam@courier-mta.com>
2643
2644 * rfc2646html.c (rfc2646_getpfix): Fix invalid parameter to callback
2645 function.
2646
2647 2008-12-02 Sam Varshavchik <mrsam@courier-mta.com>
2648
2649 * imaprefs.c (dorefcreate): Clean up usage of rfc822_threadsearchmsg().
2650 A malloc() failure wasn't checked correctly.
2651
2652 2008-11-25 Sam Varshavchik <mrsam@courier-mta.com>
2653
2654 * maildir/maildirfilter.c (maildir_filter_saverules): Use EX_SOFTWARE
2655 when bouncing mail from sqwebmail-generated filters.
2656
2657 * courier/module.local/deliver.c (docommand): Do not convert EX_SOFTWARE
2658 to EX_NOPERM exit codes. Use existing localmail code that suppresses
2659 backscatter blacklisting for EX_SOFTWARE-generated failures.
2660
2661 * courier/cmlmstartmail.C (StartMail::Send): Ignore mail submission
2662 errors.
2663
2664 2008-11-02 Sam Varshavchik <mrsam@courier-mta.com>
2665
2666 * courier/cmlmsubunsub.C (docmdsub): Make sure subscription detail
2667 record is not empty.
2668
2669 2008-10-15 Sam Varshavchik <mrsam@courier-mta.com>
2670
2671 * courier/cdmsgq.C (msgq::queuescan3): Use a backup mx relay only
2672 for messages that should be delivered via esmtp.
2673
2674 * courier/doc/courier.sgml: More backup MX relay documentation.
2675
2676 2008-10-11 Dmitry Osipov <ffar@mail.ru>
2677
2678 * rfc2045/rfc2045_fromfd.c: Optimize header parsing.
2679
2680 2008-09-20 Sam Varshavchik <mrsam@courier-mta.com>
2681
2682 * maildrop/testsuite.in: Fix a build error.
2683
2684 2008-09-20 Sam Varshavchik <mrsam@courier-mta.com>
2685
2686 * search.c: Empty MIME entities would always match any SEARCH. Reported
2687 by Dmitry Osipov.
2688
2689 2008-09-18 Federico Cuello <fedux@lugmen.org.ar>
2690
2691 * tcpd/configure.in: --without-gnutls forces suppression of GnuTLS when
2692 OpenSSL is not present.
2693
2694 2008-09-13 Sam Varshavchik <mrsam@octopus.email-scan.com>
2695
2696 * Documentation: add links to list archives on markmail.org
2697
2698 2008-08-26 Alessandro Vesely <vesely@tana.it>
2699
2700 * tcpd/libcouriergnutls.c (tls_connect): Fix client certificate request
2701 settings.
2702
2703 2008-08-24 Mr. Sam <mrsam@courier-mta.com>
2704
2705 * tcpd/libcouriergnutls.c (set_cert): Add support for certificates
2706 signed by an intermediate CA.
2707
2708 2008-08-07 Jonathan Kamens <jonathan.kamens@tamalesoftware.com>
2709
2710 * courier.spec.in (BuildPreReq): Add the --without-fam option
2711
2712 2008-07-26 Mr. Sam <mrsam@courier-mta.com>
2713
2714 * maildrop/testsuite: Put additional stuff into testsuite
2715
2716 * maildrop/reformail.C (add_messageid): Make generated Message-ID:
2717 field longer.
2718
2719 * maildrop/deliver.C (delivery): If child process did not fully
2720 consume stdin, but terminated with a zero exit status, ignore SIGPIPE.
2721
2722 * maildrop/reformail.C (extract_headers): If stdin is seekable,
2723 don't waste time on discarding stdin's content.
2724
2725 2008-07-23 Mr. Sam <mrsam@courier-mta.com>
2726
2727 * courier/submit.C (getrcpts): Clarify 534 error message text.
2728
2729 2008-07-22 Mr. Sam <mrsam@courier-mta.com>
2730
2731 * courier/module.esmtp/esmtpd.dist.in (TLS_TRUSTCERTS): Remove
2732 TLS_PEERCERTDIR -- obsolete, replaced by TLS_TRUSTCERTS.
2733
2734 2008-07-21 Gordon Messmer <yinyang@eburg.com>
2735
2736 * courier/cdfilters.C (dofilter_err): Log which filter is down.
2737
2738 2008-07-20 Mr. Sam <mrsam@courier-mta.com>
2739
2740 * webmail: Make flowed-text formatting unicode-aware.
2741
2742 * webmail: Update to the current version of gettext.
2743
2744 * unicode/unicode_wcwidth.c (unicode_wcwidth): New function -- fixed
2745 lookup of EastAsianWidth unicode table. Return 2 as the width of
2746 unicodes marked "F" or "W", 1 for all others.
2747
2748 2008-07-19 Mr. Sam <mrsam@courier-mta.com>
2749
2750 * webmail: Drop all the #if SQWEBMAIL_UNICODE -- unicode is now always
2751 turned on.
2752
2753 0.60
2754
2755 2008-07-12 Mr. Sam <mrsam@courier-mta.com>
2756
2757 * Remove the root certificate bundle. The configure script checks for
2758 known locations of root certificate bundles installed on different
2759 platforms, and sets TLS_TRUSTCERTS accordingly. After upgrading,
2760 review all config files and adjust TLS_TRUSTCERTS accordingly.
2761
2762 * courier/configure.in (EXTRACMDLIB): Drop some cruft.
2763
2764 * courier/courierd.dist.in (TLS_TRUSTCERTS): Clarify descriptions
2765 of several settings.
2766
2767 2008-07-11 Mr. Sam <mrsam@courier-mta.com>
2768
2769 * courier/module.esmtp/esmtpclient.c: Various bits needed to implement
2770 EXTERNAL auth.
2771
2772 * maildir/maildirquota.sgml: Update descriptions of maildir quotas.
2773
2774 2008-07-07 Mr. Sam <mrsam@courier-mta.com>
2775
2776 * courier/webmlmdsublist.C: Subscriber list navigation was broken :-(
2777
2778 2008-07-04 Mr. Sam <mrsam@courier-mta.com>
2779
2780 * maildir/maildirfilter.c: Forward mail with a null return address.
2781 The lesser of three evils. All other choices may result in looping
2782 mail. Improve quoting of some strings.
2783
2784 2008-06-29 Mr. Sam <mrsam@courier-mta.com>
2785
2786 * courier/module.esmtp/courieresmtpd.c (smtp_externalauth): Check
2787 the environment variables for subject fields set by couriertls.
2788 Advertise the AUTH EXTERNAL capability, if they are set.
2789 (ehlo): Turn off the AUTH= response, nobody should need it, anymore.
2790 (main): SASL authentication did not correctly handle the special case
2791 of "=" passed as the initial response to indicate an empty initial
2792 response. Switch to the new auth_sasl_ex() API.
2793
2794 * imap/pop3login.c (starttls): Use the couriertls library to invoke
2795 couriertls, instead of doing it ourselves. SASL authentication did
2796 not correctly handle the special case of "=" passed as the initial
2797 response to indicate an empty initial response. Switch to the new
2798 auth_sasl_ex() API.
2799
2800 * imap/pop3dcapa.c (pop3_externalauth): Check the environment variables
2801 for subject fields set by couriertls. Advertise the AUTH EXTERNAL
2802 capability, if they are set.
2803
2804 * imap/imaplogin.c (starttls): Use the couriertls library to invoke
2805 couriertls, instead of doing it ourselves.
2806
2807 * imap/capability.c (imap_externalauth): Check the environment variables
2808 for subject fields set by couriertls. Advertise the AUTH=EXTERNAL
2809 capability, if they are set.
2810
2811 * imap/authenticate_auth.c (authenticate): SASL authentication did not
2812 correctly handle the special case of "=" passed as the initial response
2813 to indicate an empty initial response. Switch to the new auth_sasl_ex()
2814 API.
2815
2816 * tcpd/libcouriergnutls.c (oid_name_list): Rename "email" to
2817 "emailAddress", for compatibility with OpenSSL.
2818
2819 * tcpd/libcouriergnutls.c (verify_client): Check for the required
2820 certificate occured in the wrong spot.
2821
2822 * tcpd/libcouriergnutls.c (tls_connect): Add call to
2823 gnutls_certificate_set_subject() to actually request the client cert.
2824
2825 * tcpd/libcouriergnutls.c (tls_certificate_verified): Return an
2826 indication if the peer's certificate is good.
2827
2828 * tcpd/libcouriertls.c (tls_certificate_verified): Ditto. Minor bug
2829 fixes.
2830
2831 * tcpd/starttls.c (dump_to_fp): Parse Subject: header dumped by
2832 couriertls, export it in environment variables.
2833
2834 * tcpd/tlsclient.c (couriertls_get_subject): Retrieve individual
2835 Subject: fields.
2836
2837 * tcpd/tlsclient.c (couriertls_export_subject_environment): Export
2838 parsed Subject: fields to the environment.
2839
2840 2008-06-21 Mr. Sam <mrsam@courier-mta.com>
2841
2842 * Optimize IMAP keyword implementation. Faster results in exchange
2843 for a concurrency tradeoff if two concurrent sessions attempt to
2844 update keywords for the same message at the same time -- only one will
2845 win.
2846
2847 2008-06-13 Mr. Sam <mrsam@courier-mta.com>
2848
2849 * rfc822_getaddr.c: Backslashed special characters in address names
2850 weren't being dequoted correctly by rfc822_getname() and
2851 rfc822_getname_orlist().
2852
2853 2008-05-23 Mr. Sam <sam@email-scan.com>
2854
2855 * courier/doc/draf*.txt - drop canned I-D verbiage from SMTP protocol
2856 extension documentation.
2857
2858 2008-05-18 Peter Avalos <pavalos@theshell.com>
2859 * rootcerts/configure.in: Do not override REHASH from the environment.
2860
2861 2008-05-17 Mr. Sam <mrsam@courier-mta.com>
2862
2863 * Multiple: fix several compiler warnings
2864
2865 2008-05-11 Mr. Sam <mrsam@courier-mta.com>
2866
2867 * pop3login.c (main): Add a timeout to the POP3 login stage
2868
2869 2008-05-10 Mr. Sam <mrsam@courier-mta.com>
2870
2871 * pcp/Makefile.am: include the m4 subdirectory in the tarball
2872
2873 2008-05-08 Bernd Wurst <bernd@bwurst.org>
2874
2875 * gdbmobj/Makefile.am (libgdbmobj_la_LIBADD): Fix makefile
2876
2877 2008-05-08 Mr. Sam <mrsam@courier-mta.com>
2878
2879 * bdbobj/Makefile.am: same patch. Also, clean up the rest of the
2880 makefiles.
2881
2882 2008-04-09 Mr. Sam <mrsam@courier-mta.com>
2883
2884 * tcpd/libcouriertls.c (cache_get): Fix TLS session caching.
2885
2886 2008-04-03 Mr. Sam <sam@email-scan.com>
2887
2888 * courier/module.esmtp/esmtpd.dist.in: Remove the overlooked explicit
2889 setting of TLS_PROTOCOL.
2890
2891 0.59
2892
2893 2008-03-12 Gordon Messmer <yinyang@eburg.com>
2894
2895 * tcpd/libcouriertls.c (tls_create): Default TLS_PROTOCOL=SSL23,
2896 TLS_CIPHER_LIST=SSLv3:TLSv1:!SSLv2:HIGH:!LOW:!MEDIUM:!EXP:!NULL@STRENGTH
2897
2898 2008-03-09 Brian Candler <B.Candler@pobox.com>
2899
2900 * imapd.c (is_smap): Compilation failure fix.
2901
2902 2008-03-07 Bernd Wurst <bernd@bwurst.org>
2903
2904 * many: update description of SSL/TLS-related settings in several
2905 configuration files.
2906
2907 2008-02-03 "Paweł Tęcza" <ptecza@uw.edu.pl>
2908
2909 * pref.c: autorenaming of the Sent folder can now be set in Preferences.
2910
2911 2008-01-29 "Stefan Hornburg \(Racke\)" <racke@linuxia.de>
2912
2913 * More portability fixes.
2914
2915 2008-01-28 Alessandro Vesely
2916
2917 * rfc1035/spf.c (transform): Fix %{ir} macro
2918
2919 2008-01-26 Mr. Sam <mrsam@courier-mta.com>
2920
2921 * imapd.c (main): New setting in the IMAP config file,
2922 IMAP_MAILBOX_SANITY_CHECK -- disable sanity check on the homedir
2923 and maildir ownership.
2924
2925 2008-01-24 Mr. Sam <mrsam@courier-mta.com>
2926
2927 * courier/submit.C (getrcpts): Strip any trailing periods in sender
2928 or receipient addresses.
2929
2930 2008-01-04 Mr. Sam <mrsam@courier-mta.com>
2931
2932 * all: Explicitly make stderr line-buffered.
2933
2934 2007-12-17 Mr. Sam <sam@email-scan.com>
2935
2936 * courier/doc/webmlmd.sgml: Fix couriermlm usage.
2937
2938 2007-12-17 Stefan Hornburg (Racke) <racke@linuxia.de>
2939
2940 * courier: More missing #include-s.
2941
2942 2007-12-15 Mr. Sam <sam@email-scan.com>
2943
2944 * courier/courierd.dist.in: Clarify some settings.
2945
2946 2007-12-13 Mr. Sam <mrsam@courier-mta.com>
2947
2948 * courier/libs/comaliases2.C: Was missing a #include <string.h>
2949
2950 2007-12-08 "Stefan Hornburg (Racke)" <racke@linuxia.de>
2951
2952 * imapd.c (main): Suppress spurious error message
2953
2954 0.58
2955
2956 2007-11-21 Mr. Sam <mrsam@courier-mta.com>
2957
2958 * tcpd/libcouriergnutls.c (tls_connect): TLS_MIN_DH_BITS setting,
2959 invokes gnutls_dh_set_prime_bits(). Fix some bugs.
2960
2961 2007-11-18 Mr. Sam <mrsam@courier-mta.com>
2962
2963 * tcpd/libcouriergnutls.c (tls_transfer): Fix some bugs.
2964
2965 2007-11-18 Mr. Sam <mrsam@courier-mta.com>
2966
2967 * tcpd/libcouriergnutls.c: Fix SSL session caching bug.
2968
2969 2007-11-07 Mr. Sam <sam@email-scan.com>
2970
2971 * courier.spec.in (BuildPreReq): Drop obsolete build requirement on
2972 xpdf.
2973
2974 2007-11-04 Mr. Sam <sam@email-scan.com>
2975
2976 * Added support for GnuTLS.
2977
2978 2007-10-23 Mr. Sam <mrsam@courier-mta.com>
2979
2980 * couriertls: code cleanup.
2981
2982 2007-10-16 Mr. Sam <mrsam@courier-mta.com>
2983
2984 * courier/module.local/local.c (rw_del_local): Fix a memory stomp.
2985
2986 2007-10-14 Mr. Sam <mrsam@courier-mta.com>
2987
2988 * courier/sendmail.c: Get rid of the hard 30 minute timeout.
2989
2990 * courier/submit.h (class SubmitFile): Keep track of all files
2991 (control and data) that were opened.
2992
2993 * courier/submit.C (class Input): Rewrite input processing to use
2994 non-blocking I/O to read standard input. When the message source is
2995 local (or dsn), get rid of the hard 30 minute timeout, and poll stdin
2996 with a 5 minute poll() timeout, at which point the timestamps on all
2997 open control and data files are pinged, to keep courierd from purging
2998 them based on their old timestamp. Continue to use a hard timeout for
2999 all non-local mail.
3000
3001 0.57.1
3002
3003 2007-10-09 Mr. Sam <mrsam@courier-mta.com>
3004
3005 * imap/imapscanclient.c (do_imapscan_maildir2): Avoid a double-fclose()
3006 in marginal situations.
3007
3008 2007-10-07 Mr. Sam <mrsam@courier-mta.com>
3009
3010 * courier/module.local/local.c (rw_del_local): "User unknown" reports
3011 complete local address, including extensions.
3012
3013 2007-10-06 Mr. Sam <mrsam@courier-mta.com>
3014
3015 * courier/submit2.C (SubmitFile::MessageEnd): Invoke run_filter()
3016 after all control files are closed.
3017
3018 * courier/submit.C: opt BOFHHEADERLIMIT replaces hardcoded limit
3019 of 100,000 bytes of headers per message.
3020
3021 2007-10-06 Jonathan Kamens <jik@kamens.brookline.ma.us>
3022
3023 * courier.spec.in: Clean up without_fax option.
3024
3025 2007-10-06 Mr. Sam <mrsam@courier-mta.com>
3026
3027 * tcpd/starttls.c (main): Prime the OpenSSL entropy pool on platforms
3028 that don't have a ready source available.
3029
3030 2007-10-02 Mr. Sam <sam@email-scan.com>
3031
3032 * courier/Makefile.am (webmlmd_DEPENDENCIES): webmlm and webmlmd
3033 need to be linked with @NETLIBS@
3034
3035 0.57
3036
3037 2007-09-25 "Johnny C. Lam" <jlam-courier@buildlink.org>
3038
3039 * liblock/lockdaemon.c (OPEN_MAX): Use OPEN_MAX, instead of hardcoded
3040 99
3041
3042 2007-09-25 Mr. Sam <mrsam@courier-mta.com>
3043
3044 * liblock/lockdaemon.c (OPEN_MAX): Even better, use
3045 sysconf(_SC_OPEN_MAX), where available.
3046
3047 2007-09-23 Anton Dobkin <anton@viansib.ru>
3048
3049 * folder.c (do_sharedhierlist): Missing </table>.
3050
3051 2007-09-21 Mr. Sam <mrsam@courier-mta.com>
3052
3053 * imap/imapd.c (chk_clock_skew): Try to autodetect clock skew.
3054
3055 2007-09-20 Adam Hasselbalch Hansen <ahh@one.com>
3056
3057 * Include remote port number in IMAP and POP3 logs.
3058
3059 2007-09-13 Mr. Sam <mrsam@courier-mta.com>
3060
3061 * courier/submit.C (getrcpts): Reject <@domain.com> for a recipient's
3062 address.
3063
3064 2007-09-03 Mr. Sam <mrsam@courier-mta.com>
3065
3066 * folder.c (redirect_hash): Use SQWEBMAIL_RANDSEED if it's set,
3067 instead of sendit.sh's inode.
3068
3069 2007-09-03 Pawel Tecza <ptecza@uw.edu.pl>
3070
3071 * sqwebmail.c: Remove hardcoded reference to TIMEOUTHARD
3072
3073 2007-09-02 Mr. Sam <mrsam@courier-mta.com>
3074
3075 * webmail/newmsg_create.c: Global footer wasn't being added correctly
3076 do HTML-formatted mail.
3077
3078 2007-08-29 Mr. Sam <mrsam@courier-mta.com>
3079
3080 * tcpd/tcpd.c (doit): Ignore SIGPIPE errors in couriertcpd, preventing
3081 couriertcpd from being terminated if the stderr logger crashes.
3082
3083 2007-08-23 Mr. Sam <mrsam@courier-mta.com>
3084
3085 * rfc1035/spf.c (lookup): Looping SPF query should abort with
3086 SPF UNKNOWN, as per specs.
3087
3088 2007-07-29 Mr. Sam <mrsam@courier-mta.com>
3089
3090 * Major code cleanup.
3091
3092 2007-07-26 Mr. Sam <sam@email-scan.com>
3093
3094 * COPYING: GPL 3
3095
3096 * imap/mailboxlist.c (folder_entry): Optimization: skip over folders
3097 not in the current scope, avoiding unnecessary overhead of checking
3098 their ACLs.
3099
3100 2007-07-20 Mr. Sam <mrsam@courier-mta.com>
3101
3102 * courier/cdfilters.C (dofilter): Tolerate newline-less responses from
3103 the filter.
3104
3105 * courier/doc/dot-courier.sgml: Document that sysexit 100 from
3106 .courier is a permanent failure.
3107
3108 2007-07-10 Mr. Sam <mrsam@courier-mta.com>
3109
3110 * webmail/rfc2646html.c (fmtwikiline): Fixes to inferred HTML
3111 formatting.
3112
3113 2007-07-04 Mr. Sam <mrsam@courier-mta.com>
3114
3115 * courier/webmlmd.C: fix compiler errors on some platforms.
3116
3117 2007-07-01 Mr. Sam <mrsam@courier-mta.com>
3118
3119 * gpglib/gpg.c: Fix signing of multipart messages that contain
3120 8 bit content.
3121
3122 * courier: Updated PAM config files for Fedora 7
3123
3124 * courier/courier.c: "courier show all" and "courier clear all"
3125 commands.
3126
3127 2007-06-30 Mr. Sam <sam@email-scan.com>
3128
3129 * courier/webmaild.in (datarootdir): Fixes for automake 1.10
3130
3131 2007-06-30 Mr. Sam <mrsam@courier-mta.com>
3132
3133 * Makefile.am: Drop the automake.fix hack -- gotten too much.
3134
3135 2007-06-29 Mr. Sam <mrsam@courier-mta.com>
3136
3137 * courier/webmlmdcmlm.H: Rename stdin() and stdout() member functions
3138 to something else, to avoid problems on platforms where stdin and
3139 stdout are stdio.h macros.
3140
3141 * tcpd/libcouriertls.c (tls_create): "SSL23" selects SSLv23_method().
3142
3143 * Cleanup of courierfilter code.
3144
3145 2007-06-28 Mr. Sam <mrsam@courier-mta.com>
3146
3147 * folder.c (folder_delmsgs): Portability fix.
3148
3149 2007-06-27 Mr. Sam <mrsam@courier-mta.com>
3150
3151 * cgi/cgidaemond.c: Added #include <sys/uio.h>
3152
3153 * alias handling: code cleanup.
3154
3155 2007-06-25 Mr. Sam <mrsam@courier-mta.com>
3156
3157 * courier/cmlm2.C: Add missing include of langinfo.h
3158
3159 2007-06-24 Mr. Sam <mrsam@courier-mta.com>
3160
3161 * couriermlm: use std::istream.good() instead of std::istream.eof()
3162
3163 0.56
3164
3165 2007-06-18 Mr. Sam <mrsam@courier-mta.com>
3166
3167 * courier/module.esmtp/esmtpd.dist.in (ULIMIT): Make default ulimit
3168 larger.
3169
3170 2007-06-16 Mr. Sam <mrsam@courier-mta.com>
3171
3172 * courier/webadmin/admin-20aliases.pl: Remove check that prevents
3173 multiple virtual domains to be aliased to the same account.
3174
3175 2007-06-15 Mr. Sam <mrsam@courier-mta.com>
3176
3177 * courier/webmlmdsublist.C (show_list_address): Added link to
3178 a popup that shows the subscription log.
3179
3180 2007-05-27 Mr. Sam <mrsam@courier-mta.com>
3181
3182 * tcpd/libcouriertls.c (tls_create): Setting protocol to SSL3 will
3183 disable SSL2.
3184
3185 2007-05-19 Mr. Sam <mrsam@courier-mta.com>
3186
3187 * courier/webmlmdmod.C: Implemented webmlmd-based moderation.
3188
3189 * courier/cmlmmoderate.C (cmdmoderate): Changed moderation response
3190 templates to use "CUT HERE" to demarcate moderator's response.
3191
3192 2007-05-05 Mr. Sam <mrsam@courier-mta.com>
3193
3194 * courier/webmlmdsublist.C: Implement admin unsubscribe.
3195
3196 2007-05-04 Mr. Sam <mrsam@courier-mta.com>
3197
3198 * courier/filters/courierfilter.c (start): Fix wrong argument
3199 to ll_daemon_start().
3200
3201 * liblock/lockdaemon.c (start1): Move lock file to filedescriptor 99,
3202 to avoid interference with courierfilter.
3203
3204 2007-04-29 Mr. Sam <mrsam@courier-mta.com>
3205
3206 * courier/filters/perlfilter/perlfilter.c (reap_child): Fix potential
3207 race condition when shutting down perlfilter
3208
3209 2007-04-26 Mr. Sam <mrsam@courier-mta.com>
3210
3211 * courier/cmlmcmdmisc.C: --lang parameter to couriermlm create
3212
3213 0.55.1
3214
3215 2007-04-22 Aidas Kasparas <a.kasparas@gmc.lt>
3216
3217 * tcpd/couriertcpd.sgml: Update IPv6 examples.
3218
3219 2007-04-16 Mr. Sam <mrsam@courier-mta.com>
3220
3221 * maildir/maildirkeywords2.c (maildir_kwImport): Properly clean up
3222 after a malloc failure.
3223
3224 * maildir/maildirshared.c (do_maildir_shared_sync): Plug a leak
3225 when syncing old-style shared folders.
3226
3227 2007-04-15 Mr. Sam <mrsam@courier-mta.com>
3228
3229 * unicode/eucjp.c (c2u): Check for malloc failure.
3230 (u2c): Ditto.
3231
3232 * unicode/shiftjis.c (c2u): Ditto.
3233
3234 * unicode/shiftjis.c (u2c): Ditto.
3235
3236 * unicode/ksx1001.c (c2u_euckr_doconv): Ditto.
3237
3238 * unicode/ksx1001.c (u2c_euckr_doconv): Ditto.
3239
3240 * maildir/maildirnewshared2.c (maildir_shared_cache_read): Clarify
3241 calling convention, and check for invalid arguments to this function.
3242
3243 * maildir/maildirkeywords2.c (doReadKeywords2): Eliminate dead code.
3244
3245 2007-04-08 Mr. Sam <mrsam@courier-mta.com>
3246
3247 * courier/webmlmd.C: Supply a missing definition of error()
3248
3249 0.55
3250
3251 2007-04-05 Mr. Sam <mrsam@courier-mta.com>
3252
3253 * Update man pages and documentation to Docbook XML V4.4
3254
3255 2007-03-11 Mr. Sam <mrsam@courier-mta.com>
3256
3257 * couriermlm/webmlmd: Final commit, it's ready.
3258
3259 2007-03-10 Mr. Sam <mrsam@courier-mta.com>
3260
3261 * couriermlm: added the update command. Also updated documentation.
3262 NOTE: see "INSTALL" for update instructions.
3263
3264 2007-03-07 Mr. Sam <mrsam@courier-mta.com>
3265
3266 * courier/module.esmtp/esmtpclient.c (authclient): Use domain name,
3267 not MX hostname, for looking up authenticated SMTP passwords in
3268 esmtpauthclient
3269
3270 2007-03-05 Mr. Sam <mrsam@courier-mta.com>
3271
3272 * webmlmd man page.
3273
3274 * tcpd/starttls.c (smtp_proto): Send a dummy EHLO before STARTTLS
3275 (gmail wants it).
3276
3277 2007-03-04 Mr. Sam <mrsam@courier-mta.com>
3278
3279 * Added webmlm/webmlmd (documentation TODO).
3280
3281 * All unicode mapping tables are now included by default. Dropped
3282 --enable-unicode and --disable-folder-utf7-encoding options.
3283
3284 * courier/cmlmcmdmisc.C (cmdset): Only NAME= gets encoded to RFC 2047
3285 format, all other variables get transcoded to UTF-8.
3286
3287 2007-02-26 Mr. Sam <mrsam@courier-mta.com>
3288
3289 + couriermlm cleanup/rewrite
3290
3291 * courier/idxheaderhtml.tmpl: mailing list index now uses UTF-8
3292
3293 * courier/idxheadertxt.tmpl: Ditto. **NOTE** must fix idxheaderhtml
3294 and idxheadertxt files in existing mailing lists!
3295
3296 * courier/cmlmfetch.C (getmsginfo): RFC 2047 decode subjects and
3297 senders in mailing list archive index
3298
3299 * courier/cmlmcmdmisc.C (cmdexport): Import/export now preserves
3300 write-only aliases (export file format change)
3301
3302 * courier/cmlmcmdmisc.C (cmdset): List settings RFC 2047-encode
3303 non-Latin parameter values (specifically, NAME).
3304
3305 * rfc822.c (parseaddr): rfc822a_alloc() would corrupt and misparse
3306 RFC2047-encoded atoms. Fix it.
3307
3308 2007-02-25 Mr. Sam <mrsam@courier-mta.com>
3309
3310 * More configure script cleanup
3311
3312 2007-02-25 Kurt Roeckx <kurt@roeckx.be>
3313
3314 * Clean up configure scripts
3315
3316 2007-02-25 Mr. Sam <mrsam@courier-mta.com>
3317
3318 * rfc822/rfc822.c (parseaddr): rfc822a_alloc() would corrupt and
3319 misparse RFC2047-encoded atoms.
3320
3321 2007-02-24 Mr. Sam <mrsam@courier-mta.com>
3322
3323 * cgi/cgidaemon.c: Factored out sqwebmail's prefork daemon logic
3324 into a standalone module.
3325
3326 2007-02-20 Pawel Tecza <ptecza@uw.edu.pl>
3327
3328 * webmail/folder.c (do_folderlist): More cleanup.
3329
3330 * webmail/html/en-us/newmsg.html: New setting HDRMAXLEN - maximum
3331 header size.
3332
3333 2007-02-19 Mr. Sam <mrsam@courier-mta.com>
3334
3335 * courier/doc/couriermlm.sgml: Fix typo.
3336
3337 2007-02-18 Mr. Sam <mrsam@courier-mta.com>
3338
3339 * courier/cmlmsublist.C (openalias): Fix couriermlm lalias command.
3340
3341 2007-02-09 Mr. Sam <mrsam@courier-mta.com>
3342
3343 * folder.c (folder_nextprev): Use one row for navigation icons, if
3344 images are being used. Suggested by Pawel.
3345
3346 2007-02-09 Pawel Tecza <ptecza@uw.edu.pl>
3347
3348 * folder.c (do_folderlist): Cleanup.
3349
3350 2007-02-09 "Jérôme Blion" <jerome.blion@free.fr>
3351
3352 * mailq: Added -batch option.
3353
3354 2007-02-03 Mr. Sam <mrsam@courier-mta.com>
3355
3356 * threadlib/pthread.c: Fix error checking of return calls from pthread
3357
3358 2007-02-02 Mr. Sam <mrsam@courier-mta.com>
3359
3360 * webmail/newmsg.c (dosendmsg): -N failure, not fail.
3361
3362 2007-01-18 Mr. Sam <mrsam@courier-mta.com>
3363
3364 * maildrop/mailbot.c (check_dsn): Also check for precedence: list and
3365 list-id: headers.
3366
3367 0.54.2
3368
3369 2007-01-13 Lloyd Zusman <ljz@asfast.com>
3370
3371 * courier/cdfilters.C (filter_cmp): Fix sorting of active courier
3372 filters.
3373
3374 0.54.1
3375
3376 2007-01-08 Peter Bieringer <pb@bieringer.de>
3377
3378 * html/en-us/autoresponder.html: Fix typo.
3379
3380 2007-01-05 Mr. Sam <mrsam@courier-mta.com>
3381
3382 * all: rename rw_init() to rw_init_courier(), to avoid a name clash.
3383
3384 0.54
3385
3386 2006-12-30 Flavio Stanchina <flavio.stanchina@ies.it>
3387
3388 * courier/doc/couriermlm.sgml: Added NODSN option in couriermlm.
3389
3390 2006-12-30 Mr. Sam <mrsam@courier-mta.com>
3391
3392 * courier/module.esmtp/esmtpclient.c (authclient): Fix crash caused
3393 by an empty line in esmtpauthclient.
3394
3395 2006-12-29 Mr. Sam <mrsam@courier-mta.com>
3396
3397 * cgi/cgi.c (cgiformdecode): Stop converting 0xA0 to 0x20 bytes in form
3398 posts. Messes up UTF-8 text. Hope that the original reason I did this
3399 is no longer needed.
3400
3401 2006-12-27 Mr. Sam <mrsam@courier-mta.com>
3402
3403 * webmail/html/en-us/autoresponder.html: Fix typo.
3404
3405 2006-11-12 Alessandro Vesely <vesely@tana.it>
3406
3407 * sqwebmail/auth.c: use address returned from authlib as return
3408 address of sent messages.
3409
3410 2006-11-04 Mr. Sam <mrsam@courier-mta.com>
3411
3412 * rfc2045/rfc2045rewrite.c (rfc2045_rewrite_common): Make sure
3413 rewritten message always terminates with a trailing newline.
3414
3415 2006-11-04 Sergiy Zhuk <serge@yahoo-inc.com>
3416
3417 * tcpd/tcpd.c: set max # of connections on a per-IP address basis
3418
3419 2006-11-04 Pawel Tecza <ptecza@uw.edu.pl>
3420
3421 * courier/module.dsn/dsn.c: Coding style fixes
3422
3423 * doc/links.html: fix link to the sqwebmail list
3424
3425 2006-10-28 Mr. Sam <mrsam@courier-mta.com>
3426
3427 * Ported the code to gcc 4.1.1 and openldap 2.3.
3428
3429 2006-10-09 Aidas Kasparas <a.kasparas@gmc.lt>
3430
3431 * rfc1035/rfc1035mxlist.c (domxlistcreate): Correctly handle
3432 partially recovered MX lists.
3433
3434 2006-10-01 Marcin Semeniuk <m.semeniuk@net.icm.edu.pl>
3435
3436 * courier/module.dsn/dsn.c (print_header): Redesign how DSNs are
3437 formatted, to make them more customizable.
3438
3439 2006-10-01 Josip Rodin <joy@entuzijast.net>
3440
3441 * maildrop: configure option to make courier-authlib authentication
3442 optional; -a option to maildrop.
3443
3444 2006-09-19 Josip Rodin <joy@entuzijast.net>
3445
3446 * maildirmake: Clarify some error messages.
3447
3448 * maildir/maildirmake.sgml: Documentation fixup.
3449
3450 * maildrop/maildropex.sgml: Documentation fixup.
3451
3452 2006-09-19 Mr. Sam <mrsam@courier-mta.com>
3453
3454 * liblock/lockmail.c (main): Save the hide of some knucklehead who
3455 changed the ownership and permissions of how lockmail gets installed
3456 by my Makefile. Max Vozeler <max@decl.org> via Debian's maildrop
3457 maintainer.
3458
3459 2006-09-17 Mr. Sam <mrsam@courier-mta.com>
3460
3461 * maildrop/main.C (run): -f ""? I really mean it.
3462
3463 2006-09-05 Mr. Sam <mrsam@courier-mta.com>
3464
3465 * folder.c (folder_list): Forbit rename folder if new folder name
3466 contains a dot.
3467
3468 * mailfilter.c (mailfilter_submit): Quietly prune trailing ':' from
3469 the tail end of a header name.
3470
3471 2006-09-05 Pawel Tecza <p.tecza@net.icm.edu.pl>
3472
3473 * webmail: Trim whitespace from login username, and new folder names.
3474
3475 2006-09-05 Josip Rodin <joy@debian.org>
3476
3477 * maildrop/dotlock.C (attemptlock): Clean up some error messages.
3478
3479 2006-09-05 Mr. Sam <mrsam@courier-mta.com>
3480
3481 * deliverquota: messages created by deliverquota will use the umask
3482 setting.
3483
3484 * imap: message files created by the IMAP server will use the umask
3485 setting.
3486
3487 0.53.3
3488
3489 2006-08-11 Alessandro Vesely <vesely@tana.it>
3490
3491 * courier/libs/comtrack.c: minor bug in track_save
3492
3493 * courier/module.local/local.c (rw_local_filter): minor bug in rw_local_filter
3494
3495 2006-07-30 Pawel Tecza <p.tecza@net.icm.edu.pl>
3496
3497 * newmsg.c (newmsg_init): Remove redundant blank lines in new msgs.
3498
3499 * newmsg.c (newmsg_header_rfc822): Read-only From: header shown when
3500 wbnochangingfrom=1, From: header entirely suppressed when >1.
3501
3502 2006-07-24 Pawel Tecza <p.tecza@net.icm.edu.pl>
3503
3504 * sqwebmail.c: Add optional class name to dynamically-generated
3505 <select> tag.
3506
3507 2006-07-22 Mr. Sam <mrsam@courier-mta.com>
3508
3509 * courier.spec: Improved RH/Fedora initscript
3510
3511 2006-07-22 Pawel Tecza <p.tecza@net.icm.edu.pl>
3512
3513 * Cosmetic "Create Message" improvements
3514
3515 * Cosmetic "Attachments" improvements
3516
3517 * Cosmetic "Spell Checking" improvements
3518
3519 * Fix attribute in an input tag. Other XHTML fixes.
3520
3521 2006-07-21 Pawel Tecza <p.tecza@net.icm.edu.pl>
3522
3523 * html/en-us/autoresponder.html: Small template improvements.
3524
3525 2006-07-21 Marcin Semeniuk <m.semeniuk@net.icm.edu.pl>
3526
3527 * "Purge All" button.
3528
3529 2006-07-15 Pawel Tecza <p.tecza@net.icm.edu.pl>
3530
3531 * addressbook.c: Address book XHTML fix.
3532
3533 2006-07-11 Pawel Tecza <p.tecza@net.icm.edu.pl>
3534
3535 * newmsg.c (newmsg_init): XHTML fixes.
3536
3537 2006-07-09 Mr. Sam <mrsam@courier-mta.com>
3538
3539 * images/sqwebmail.css: tweak background colors of quoted text.
3540
3541 2006-07-07 Peter Bieringer <pb@bieringer.de>
3542
3543 * images/sqwebmail.css: some stylsheet tweaks, and other fixes.
3544
3545 2006-07-07 Marcin Semeniuk <m.semeniuk@net.icm.edu.pl>
3546
3547 * webmail: Move some HTML snippets from code to the template file
3548 (textarea for mailing lists and signature fields)
3549
3550 2006-07-07 Pawel Tecza <p.tecza@net.icm.edu.pl>
3551
3552 * webmail: Multiple XHTML fixes.
3553
3554 2006-07-07 Bill Schindler <billsch@epackage.net>
3555
3556 * courier/module.esmtp/courieresmtpd.c: Put HELO and authenticated
3557 sender information in ESMTPHELO and SENDERAUTH environment variables.
3558
3559 2006-07-05 Pawel Tecza <p.tecza@net.icm.edu.pl>
3560
3561 * folder.c: Fix XHTML.
3562
3563 2006-07-05 Marcin Semeniuk <m.semeniuk@net.icm.edu.pl>
3564
3565 * folder.c (disposition_attachment): Explicitly send
3566 "Content-Disposition: inline; attachment=filename" when displaying
3567 inline attachments.
3568
3569 2006-07-02 Mr. Sam <mrsam@courier-mta.com>
3570
3571 * folder.c (folder_contents): Javascript-based visual feedback when
3572 selecting and deselecting messages.
3573
3574 2006-06-30 Marcin Semeniuk <m.semeniuk@net.icm.edu.pl>
3575
3576 * webmail/mailfilter: Reject duplicate mail filter names
3577
3578 2006-06-30 Pawel Tecza <p.tecza@net.icm.edu.pl>
3579
3580 * webmail/folder.c (showunknown): Do not show display/download links in
3581 message preview mode.
3582
3583 2006-06-23 Peter Bieringer <pb@bieringer.de>
3584
3585 * imap/mainloop.c (sigexit): Try to log bandwidth usage before getting
3586 killed by a signal.
3587
3588 2006-06-22 Mr. Sam <mrsam@courier-mta.com>
3589
3590 * courier/module.esmtp/esmtpclient.c (doflush): Fix misleading
3591 error message.
3592
3593 * webmail/html/en-us/loginform.inc.html: Remove 8-bit Amaya breakage.
3594
3595 2006-06-06 Marcin Semeniuk <m.semeniuk@net.icm.edu.pl>
3596
3597 * newmsg.c (sendmsg_done): Display a confirmation message after
3598 sending a message.
3599
3600 * html/en-us/filter.html: Fix error message typo.
3601
3602 2006-06-06 Pawel Tecza <p.tecza@net.icm.edu.pl>
3603
3604 * newmsg.c (newmsg_init): Change how the attachments button gets
3605 shown.
3606
3607 2006-05-30 Pawel Tecza <p.tecza@net.icm.edu.pl>
3608
3609 * webmail/pref.c (pref_setprefs): Display a confirmation message when
3610 preferences or password is updated.
3611
3612 2006-05-30 Pawel Tecza <p.tecza@net.icm.edu.pl>
3613
3614 * sqwebmail.c (init_default_locale): Fix locale initialization
3615
3616 2006-05-29 Sergiy Zhuk <serge@yahoo-inc.com>
3617
3618 * imapd.c (quotainfo_out): Fix 64-bit issue with quota indication.
3619
3620 2006-05-29 Pawel Tecza <p.tecza@net.icm.edu.pl>
3621
3622 * folder.c (folder_contents): Show "To" column instead of "From" for
3623 drafts and sent mail folders.
3624
3625 2006-05-26 Mr. Sam <mrsam@courier-mta.com>
3626
3627 * all: Fix many compiler warnings.
3628
3629 0.53.2
3630
3631 2006-05-23 Mr. Sam <mrsam@courier-mta.com>
3632
3633 * courier/libs/comverp.c (verp_encode): Fix bug in encoding of
3634 usernames that contain '='.
3635
3636 2006-05-16 Mr. Sam <mrsam@courier-mta.com>
3637
3638 * sqwebmail.c (rename_sent_folder): Fix monthly rotation of sent
3639 folder on multilingual systems.
3640
3641 2006-05-12 Pawel Tecza <p.tecza@net.icm.edu.pl>
3642
3643 * mailfilter: Implemented "Purge" option.
3644
3645 2006-05-03 Hatuka*nezumi - IKEDA Soji <nezumi@jca.apc.org>
3646
3647 * webmail: miscellaneous small i18n fixes.
3648
3649 2006-05-02 Pawel Tecza <p.tecza@net.icm.edu.pl>
3650
3651 * configure.in: --with-minpasslen configure option.
3652
3653 * webmail: New "any message" webmail filter option.
3654
3655 * webmail: Improve the "message limit exceeded" error message.
3656
3657 2006-05-02 Lloyd Zusman <ljz@asfast.com>
3658
3659 * courier/cdfilters.C: Updated version of patch that invokes Courier
3660 filters in alphabetical order, and uses 050 exit code to accept a
3661 message without running the remaining filters, which gets converted
3662 to a 250 ESMTP code.
3663
3664 2006-04-14 Mr. Sam <mrsam@courier-mta.com>
3665
3666 * liblock/lockdaemon.c: Fixed some compiler warnings.
3667
3668 * ldapaddressbook/libldapsearch.c: Ditto.
3669
3670 * ldapaddressbook/abooksearch.c: Ditto.
3671
3672 * webadmin/webadmin.c: Ditto.
3673
3674 * soxwrap/mksocket.c: Ditto.
3675
3676 2006-04-13 Mr. Sam <mrsam@courier-mta.com>
3677
3678 * tcpd/libcouriertls.c (tls_create): Fix segfault if non-cert files
3679 were found in the cert dir.
3680
3681 * courier/cdfilters.C: Add stdlib.h
3682
3683 2006-04-12 Mr. Sam <mrsam@courier-mta.com>
3684
3685 * rfc1035/spf.c (get_domain_pfix): Fix improper parsing of ident/pfix
3686 tokens.
3687
3688 2006-03-27 Alessandro Vesely <vesely@tana.it>
3689
3690 * ldapaddressbook: Fix compilation on Solaris with LDAP
3691
3692 2006-03-26 Mr. Sam <mrsam@courier-mta.com>
3693
3694 * courier/aliaslookup.C: aliaslookup - new command line tool.
3695
3696 2006-03-25 Lloyd Zusman <ljz@asfast.com>
3697
3698 * courier/cdfilters.C (add_filter): Invoke filters in alphabetical
3699 order.
3700
3701 2006-03-25 "Serhij Dubyk / Сергій Дубик" <dubyk@library.lviv.ua>
3702
3703 * unicode: Added koi8-u character set.
3704
3705 2006-03-17 Mr. Sam <mrsam@courier-mta.com>
3706
3707 * html/en-us/loginform.inc.html: Use "include" to eliminate duplicate
3708 login form code in three separate template files. New checkbox on the
3709 login form enables/disables soft timeout.
3710
3711 2006-03-17 Brian Candler <B.Candler@pobox.com>
3712
3713 * imapd.c (quotainfo_out): Fix quota calculations on 32 bit platforms
3714 with 64 bit off_t.
3715
3716 2006-03-13 mag@intron.ac
3717
3718 * webmail/folder.c (showtexthtml): Fix redirection links.
3719
3720 2006-03-12 Mr. Sam <mrsam@courier-mta.com>
3721
3722 * webmail/sqwebmail.c (main2): Create an invisible frame at login time
3723 that reloads at timeoutsoft/2 intervals, thus keeping the session alive
3724
3725 * webmail/pcp.c (need_refresh): Overriding TIMEOUTSOFT via environment
3726 variables may cause calendar session to timeout prematurely
3727
3728 * webmail/html/en-us/Makefile.am (html): Added refreshfr.html
3729
3730 * cgi/cgi.c (cgi_setup_1): Fix compiler warning
3731
3732 2006-03-06 Mr. Sam <mrsam@courier-mta.com>
3733
3734 * ldaplist.c (doldapsearch): Fix a gcc-ism.
3735
3736 0.53.1
3737
3738 2006-03-04 Gordon Messmer <yinyang@eburg.com>
3739
3740 * soxwrap/sconnect.c (s_connect): Don't assume that connect() of
3741 a non-blocking socket always fails with EINPROGRESS
3742
3743 2006-03-04 Mr. Sam <mrsam@courier-mta.com>
3744
3745 * ldapaddressbook: Other fixes.
3746
3747 2006-02-26 Mr. Sam <mrsam@courier-mta.com>
3748
3749 * ldapaddressbook/configure.in: Some OpenLDAP versions don't provide
3750 a default definition for NULL in ldap.h
3751
3752 0.53.0
3753
3754 2006-02-24 Mr. Sam <mrsam@courier-mta.com>
3755
3756 * cgi/cgi.c (cgi_maxarg): Runtime setting of CGIMAXARG using
3757 SQWEBMAIL_MAXARGSIZE
3758 (cgi_maxformarg): Runtime setting of CGIMAXFORMDATAARG using
3759 SQWEBMAIL_MAXATTSIZE
3760
3761 * webmail/attachments.c (max_attach): Runtime setting of CGIMAXMSGSIZE
3762 using SQWEBMAIL_MAXMSGSIZE
3763
3764 * INSTALL.html: Documented these, in INSTALL.
3765
3766 2006-02-23 Alain NAKACHE <alain@alinto.net>
3767
3768 * imap/imapd.dist.in (IMAP_ACL): New capability to control
3769 announcements of IMAP ACL support (on by default).
3770
3771 2006-02-07 Mr. Sam <mrsam@courier-mta.com>
3772
3773 * maildir/maildirquota.c (statsubdir): Fix quota race condition
3774 check optimization.
3775
3776 2006-02-06 Mr. Sam <mrsam@courier-mta.com>
3777
3778 * ldapaliasd.c (search_attr_retry): Try to recover when the LDAP
3779 server closes the persistent socket, for inactivity.
3780
3781 2006-02-05 Mr. Sam <mrsam@courier-mta.com>
3782
3783 * ldapaddressbook: Rewritten a major portion of the LDAP address
3784 book lookup API. Replaced a wrapper for openldap's ldapsearch
3785 binary with a small program that's directly linked against OpenLDAP.
3786 When OpenLDAP is unavailable, a temporary no-op stub is compiled in
3787 its place. The ldapsearch binary is a wrapper around a new API.
3788
3789 * ldapaddressbook/libldapsearch.c: The new API:
3790
3791 The new LDAP address book lookup API is based on a callback-mechanism
3792 and takes a simple search string.
3793
3794 (l_search_alloc): Allocate an LDAP search object.
3795 (l_search_free): Free the LDAP search object.
3796 (l_search_do): Take a simple search string and use canned LDAP
3797 search filters (which may be overriden by environment variables) to
3798 search for LDAP records whose various fields might match the search
3799 string, and use the "cn" and "mail" attributes to assemble the
3800 search results, which are returned via a callback function.
3801
3802 * webmail/html/en-us/ldaplist.html: Simplify LDAP search screen. Drop
3803 all the extra confusing LDAP server configuration parameters that
3804 nobody uses, leave only the server's host, port, and root suffix.
3805
3806 Replace the confusing search form with a single free-form text field.
3807
3808 * webmail/ldaplist.c: Corresponding changes to the LDAP address book
3809 add/search code, using the new ldapaddressbook API. Removed a lot
3810 of dead code. Drawback: extra, informative LDAP addressbook attributes
3811 are not returned from the LDAP searches, so they cannot be shown.
3812
3813 * webmail/images/sqwebmail.css: .ldapsearch-misc style no longer used.
3814
3815 * ldapaddressbook/abookread.c: the dropped LDAP address book params
3816 are set to empty strings; the format of the address book configuration
3817 file has not changed.
3818
3819 * ldapaddressbook/configure.in: "undocumented" backdoor:
3820 --without-ldapaddressbook disables the LDAP address book wrapper.
3821
3822 * ldapaddressbook/abooksearch.c (ldapabook_search): Rewrote to use
3823 the invocation convention for the new ldapsearch wrapper.
3824
3825 2006-01-30 Mr. Sam <mrsam@courier-mta.com>
3826
3827 * sqwebmail.h: Increase max size of the CGI environment.
3828
3829 2006-01-22 Eric Barkie <eric@barkie.net>
3830
3831 * maildir/maildirquota.c (do_deliver_warning): Un-clobber the Date:
3832 header.
3833
3834 * Makefile/configure: upgrade libtool/autoconf/automake toolchain.
3835 Workaround for broken libtool's mkinstalldirs macro.
3836
3837 * courier/ldapaliasd.c: Fix gcc 4 warning.
3838
3839 * courier/filters/libfilter/libfilter.c: Ditto.
3840
3841 * courier/module.esmtp/esmtpclient.c (hello): Ditto.
3842
3843 * courier/module.fax/faxconvert.c: Ditto.
3844
3845 * pcp/pcpd.c: Ditto.
3846
3847 * pcp/pcpdir.c: Ditto.
3848
3849 * rfc1035/rfc1035udp.c: Ditto.
3850
3851 * tcpd/libcouriertls.c: Ditto.
3852
3853 * tcpd/tcpd.c: Ditto.
3854
3855 * tcpd/tlspasswordcache.c: Ditto.
3856
3857 * rfc822/rfc2047.c (encodebase64): Ditto.
3858
3859 * rfc822/rfc822.c (parseaddr): Ditto.
3860
3861 * libhmac/hmac.c (dohashkey): Ditto.
3862
3863 * soxwrap/sconnect.c (s_connect): Ditto.
3864
3865 2006-01-12 Mr. Sam <mrsam@courier-mta.com>
3866
3867 * imap/thread.c (dosortmsgs): Skip going through the motions of
3868 outputing the results of a SORT if # of sorted messages is 0.
3869
3870 2006-01-12 John Morrissey <jwm@horde.net>
3871
3872 * maildir/maildirquota.c (do_deliver_warning): Fix quota warning
3873 message delivery.
3874
3875 2006-01-03 Mr. Sam <mrsam@courier-mta.com>
3876
3877 * imap/imapd.c (quotainfo_out): Adjusted casting to work better with
3878 large quotas.
3879
3880 0.52.2
3881
3882 2005-12-25 mag@intron.ac
3883
3884 * sqwebmail/html.c (parsetagbuf): Update attribute count, after
3885 purging invalid html syntax.
3886
3887 2005-12-15 Mr. Sam <mrsam@courier-mta.com>
3888
3889 * courier/submit.C (trackaddress): Fix error message spelling.
3890
3891 2005-12-12 Mr. Sam <mrsam@courier-mta.com>
3892
3893 * courier/libs/comctlfile.h (COMCTLFILE_AUTHNAME): New control file
3894 record: i - authenticated userid
3895
3896 * courier/courierd.dist.in (DSNTOAUTHADDR): New setting:
3897 DSNTOAUTHADDR=1 (default)
3898
3899 * courier/libs/comdsn2.c (dsn_sender): Bounce to authenticated userid
3900 if DSNTOAUTHADDR=1
3901
3902 * courier/module.esmtp/courieresmtpd.c (startsubmit): Ditto.
3903
3904 2005-11-28 Mr. Sam <mrsam@courier-mta.com>
3905
3906 * courier/module.esmtp/esmtpiov.c: Improve error reporting if write()
3907 on the socket fails.
3908
3909 2005-11-27 Stefan Hornburg <racke@linuxia.de>
3910
3911 * courier/doc/makehosteddomains.sgml: Typo.
3912
3913 2005-11-22 Mr. Sam <mrsam@courier-mta.com>
3914
3915 * webmail/attachments.c: Suppress phantom attachment shown when
3916 multipart/alternative formatting is enabled and there are no other
3917 attachments.
3918
3919 2005-11-20 Mr. Sam <mrsam@courier-mta.com>
3920
3921 * folder.c (showaddressheader_printsep): A <span> was missing for 2nd
3922 and subsequent addresses in an address header.
3923
3924 * gpglib/gpg.c (dosignencode): Sign the entire message in its entirety,
3925 instead of signing each MIME part separately. Some E-mail clients
3926 cannot handle individually-signed multipart/alternative content.
3927
3928 2005-11-21 Mr. Sam <mrsam@courier-mta.com>
3929
3930 * imap/smapsnapshot.c (restore_snapshot2): Fix some file descriptor
3931 leaks.
3932
3933 2005-11-19 Mr. Sam <mrsam@courier-mta.com>
3934
3935 * Fix HTML templates (remove 8bit content inserted by Amaya).
3936
3937 * message composition: Wiki-style composition of HTML messages.
3938
3939 2005-11-16 Mr. Sam <mrsam@courier-mta.com>
3940
3941 * courier/module.esmtp/esmtpclient.c (hello2): If esmtphelo is set
3942 to "*", use reverse DNS of the local IP address.
3943
3944 2005-11-15 Mr. Sam <mrsam@courier-mta.com>
3945
3946 * rfc2045/rfc2045rewrite.c: Cleanup. Remove duplicate quoted-printable
3947 implementation, use one in rfc822/encode.c
3948
3949 * gpglib/gpg.c: Ditto.
3950
3951 * rfc822/encode.c (quoted_printable): encode spaces that precede a
3952 newline.
3953
3954 2005-09-30 Sergiy Zhuk <serge@yahoo-inc.com>
3955
3956 * imapd.c (do_imap_command): Have CREATE create courierimapuidllist.
3957
3958 2005-09-30 Mr. Sam <mrsam@courier-mta.com>
3959
3960 * imap/pop3: log total bytes sent/received in IMAP and POP3 sessions
3961 (based on a patch by Peter Bieringer <pb@bieringer.de>.
3962
3963 0.52.1
3964
3965 2005-09-23 Mr. Sam <mrsam@courier-mta.com>
3966
3967 * configure.in: Look for pcre/pcre.h if pcre is not installed.
3968 maildir: skip parts of make check if libpcre is not installed (used
3969 by other courier packages).
3970
3971 2005-09-22 Mr. Sam <mrsam@courier-mta.com>
3972
3973 * maildir/maildirpurgetmp.c (maildir_purge): When autopurging messages
3974 from a folder based on their timestamp, scan 'new' in addition to
3975 'cur', otherwise mail delivered to the folder directly never gets
3976 purged, unless the folder is open.
3977
3978 0.52
3979
3980 2005-09-07 Mr. Sam <mrsam@courier-mta.com>
3981
3982 * maildir/Makefile.am (testmaildirfilter_LDADD): Move -lpcre to LDADD,
3983 from LDFLAGS.
3984
3985 2005-09-05 Mr. Sam <mrsam@courier-mta.com>
3986
3987 * webmail/html.c: Filter out <!-- > constructs, they are parsed
3988 by MSIE.
3989
3990 2005-08-29 Mr. Sam <mrsam@courier-mta.com>
3991
3992 * maildir/maildirfilter.c (maildir_filter_ruleupdate): Use
3993 PCRE to validate regexp.
3994
3995 2005-08-28 Mr. Sam <mrsam@courier-mta.com>
3996
3997 * maildir/maildirfilter.c (maildir_filter_ruleupdate): Use pcre
3998 to validate filter strings in maildrop webmail filters.
3999
4000 2005-08-26 Mr. Sam <mrsam@courier-mta.com>
4001
4002 * webmail/html.c (parseattr): Remove attributes with imbalanced quotes,
4003 to prevent cross-side scripting vulnerabilities with some browsers.
4004
4005 2005-08-23 Mr. Sam <mrsam@courier-mta.com>
4006
4007 * folder.c (showunknown): Show each attachment's MIME content type.
4008
4009 2005-08-20 Mr. Sam <mrsam@courier-mta.com>
4010
4011 * waitlib/waitlib.c: probe for sigprocmask(), and use it if available.
4012
4013 2005-08-20 Leandro Santi <lesanti@fiuba7504.com.ar>
4014
4015 * tcpd/tlspasswordcache.c: Fix OpenSSL-less compilation.
4016
4017 2005-08-16 Mr. Sam <mrsam@courier-mta.com>
4018
4019 * imapd.c (do_msgset): Fix handling of invalid sequence number of 0.
4020
4021 2005-08-13 Mr. Sam <mrsam@courier-mta.com>
4022
4023 * rootcerts/certs.sh: Updated list of trusted root certs.
4024
4025 2005-08-11 Mr. Sam <mrsam@courier-mta.com>
4026
4027 * search.c (search_oneatatime): Fix NOT operator on content searches.
4028
4029 2005-08-04 Mr. Sam <mrsam@courier-mta.com>
4030
4031 * maildrop/mailbot.c (check_dsn): Do not autoreply to messages
4032 with an Auto-Submitted: header, unless it's contents are "no".
4033 (main): Add Auto-Submitted: auto-replied.
4034
4035 0.51
4036
4037 2005-07-16 Mr. Sam <mrsam@courier-mta.com>
4038
4039 * configure.in: Update to automake 1.9, autoconf 2.59, libtool 1.5.6,
4040 gettext 0.14.1.
4041
4042 * courier/ldapaliasd.c (loop): sigpause() obsoleted by sigsuspend().
4043
4044 2005-07-15 Mr. Sam <mrsam@courier-mta.com>
4045
4046 * imap: Implemented account groups, administrator group.
4047
4048 2005-07-04 Mr. Sam <mrsam@courier-mta.com>
4049
4050 * pop3d.dist.in: Add PLAIN to POP3AUTH_ORIG.
4051
4052 2005-07-02 Mr. Sam <mrsam@courier-mta.com>
4053
4054 * rfc1035/spf.c: Soft DNS failures weren't handled properly when
4055 looking up SPF records. Potential memory corruption.
4056
4057 2005-07-01 Brian Candler <B.Candler@pobox.com>
4058
4059 * all: add LOGGEROPTS and SSLLOGGEROPTS configuration settings
4060 which are passed to courierlogger to set the application name for
4061 syslog.
4062
4063 2005-06-29 Mr. Sam <mrsam@courier-mta.com>
4064
4065 * courier.spec.in: Add --cache-file option to the configure script.
4066
4067 * courier/doc/links.html: Link to German translation of couriermlm
4068 templates.
4069
4070 2005-06-24 Mr. Sam <mrsam@courier-mta.com>
4071
4072 * courier/module.esmtp/esmtpclient.c (sendesmtp): Let's see what
4073 happens when we try all MXs.
4074
4075 * rfc1035: Randomize resource records in DNS replies.
4076
4077 2005-06-19 Mr. Sam <mrsam@courier-mta.com>
4078
4079 * all: Clean up libtool scripts.
4080
4081 2005-06-11 Mr. Sam <mrsam@courier-mta.com>
4082
4083 * COPYING.GPL: New FSF address.
4084
4085 2005-05-18 "Hrvoje Habjanić" <hrvoje.habjanic@zg.t-com.hr>
4086
4087 * Reorder include files, to compile on SunOS & OSFx.
4088
4089 * Workaround for bugs on some platforms' select().
4090
4091 * soxwrap needs a configure check for socklen_t.
4092
4093 0.50
4094
4095 2005-05-09 Mr. Sam <mrsam@courier-mta.com>
4096
4097 * maildrop/main.C (find_in_authlib): Exit with TEMPFAIL if temporary
4098 error indication from authlib.
4099
4100 2005-05-08 Mr. Sam <mrsam@courier-mta.com>
4101
4102 * courier.sysvinit: Remove init lock file upon stop.
4103
4104 2005-05-06 Mr. Sam <mrsam@courier-mta.com>
4105
4106 * sv-make_timezonelist.pl: Added /usr/share/lib/zoneinfo to the
4107 search list.
4108
4109 2005-05-06 Mr. Sam <mrsam@courier-mta.com>
4110
4111 * pcp: update to gettext 0.14
4112
4113 2005-05-02 Mr. Sam <mrsam@courier-mta.com>
4114
4115 * webmail/configure.in: Fix typo that disables unicode support when
4116 partial charsets are specified.
4117
4118 2005-04-23 Mr. Sam <mrsam@courier-mta.com>
4119
4120 * webmail/configure.in: Missing AC_SUBST(mailuser) and
4121 AC_SUBST(mailgroup)
4122
4123 2005-04-16 Zenon Panoussis <oracle@provocation.net>
4124
4125 * courier/rfcerrheader.txt.in (Comment): Fix grammar.
4126
4127 2005-04-22 Mr. Sam <mrsam@courier-mta.com>
4128
4129 * courier/submit.C (cppmain): Don't check bofh settings for messages
4130 from the dsn module.
4131
4132 2005-04-05 Mr. Sam <mrsam@courier-mta.com>
4133
4134 * couriermlm: More tweaks to address handling. couriermlm uses
4135 original case of subscribed addresses to distribute list traffic
4136 from case-insensitive mailing lists.
4137
4138 2005-04-03 Mr. Sam <mrsam@courier-mta.com>
4139
4140 * maildrop/maildropfilter.sgml: Explicitly document the | character.
4141
4142 2005-04-03 Peter Bieringer <pb@bieringer.de>
4143
4144 * INSTALL.html: SELinux hint.
4145
4146 2005-04-03 Mr. Sam <mrsam@courier-mta.com>
4147
4148 * courier/submit.C: Make error message more descriptive.
4149
4150 * courier/submit2.C: Ditto.
4151
4152 2005-04-03 Giulio Cervera <giulio@edspa.it>
4153
4154 * PROXY_HOSTNAME: new setting in imap and pop3 config file overrides
4155 gethostname() when checking if a proxy connection is required.
4156
4157 2005-04-03 Mr. Sam <mrsam@courier-mta.com>
4158
4159 * courier/cmlmsubunsub.C (addrlower): couriermlm defaults to entire
4160 E-mail address case-insensitive. New option, CASESENSITIVE=1 falls
4161 back to earlier behavior of only domain part case-insensitive.
4162
4163 2005-03-27 Mr. Sam <mrsam@courier-mta.com>
4164
4165 * gpglib/configure.in: Bless gpg 1.2.4, 1.2.6, 1.4.1
4166
4167 0.49
4168
4169 2005-02-26 Mr. Sam <mrsam@courier-mta.com>
4170
4171 * imap/msgbodystructure.c (msgbodystructure): Fix MSGBODYSTRUCTURE
4172 response for a corrupted content-type of "text".
4173
4174 * courier/doc/courier.sgml: "pass" listed twice under the SPF
4175 section.
4176
4177 2005-02-20 Mr. Sam <mrsam@courier-mta.com>
4178
4179 * sha1: Added SHA256 digest algorithm.
4180
4181 2005-02-19 Mr. Sam <mrsam@courier-mta.com>
4182
4183 * courierauthdebug.h: Macro dprintf conflicts with new glibc.
4184
4185 2005-02-16 Mr. Sam <mrsam@courier-mta.com>
4186
4187 * Various: Replace "env -" with "env -i" -- portability.
4188
4189 * configure.in: Fix inclusion of ./configtmp
4190
4191 2005-02-15 Mr. Sam <mrsam@courier-mta.com>
4192
4193 * courier/webadmin/admin-47webmail.pl: Update webmail configuration
4194 to use global account options in authlib.
4195
4196 2005-02-15 Martin Orr <courier@martinorr.name>
4197
4198 * submit.C: mail was always filtered, even if its source was not
4199 listed in the enablefiltering configuration file. Change that:
4200 filter the mail only if its source is listed in enablefiltering.
4201
4202 2005-02-13 Mr. Sam <mrsam@courier-mta.com>
4203
4204 * courier/doc/install.html: Document webmail account options.
4205
4206 2005-02-12 Mr. Sam <mrsam@courier-mta.com>
4207
4208 * courier/submit2.C (MessageEnd): Include message size in 523 error.
4209
4210 * maildir/maildirquota.c (docheckquota): Memory used after being freed.
4211
4212 2005-02-08 Mr. Sam <mrsam@courier-mta.com>
4213
4214 * imap/Makefile.am: Fix README.proxy getting clobbered by make clean.
4215
4216 2005-02-07 Mr. Sam <mrsam@courier-mta.com>
4217
4218 * courier/module.uucp/uucp.c (uux3): Do not trigger backscatter
4219 suppression on uucp gateway-related failures.
4220
4221 * courier/module.fax/courierfax.c (faxconvert_cleanup): Ditto for
4222 courierfax.
4223
4224 2005-02-03 Norihisa Washitake <nori@washitake.com>
4225
4226 * various: Replace couple of references to ":" with MDIRSEP, for
4227 consistency's sake.
4228
4229 2005-02-03 Mr. Sam <mrsam@courier-mta.com>
4230
4231 * courier/module.local/deliver.c (main): Delivered-To: loop detected
4232 results in an EX_SOFTWARE exit code.
4233
4234 * courier/module.local/deliver.c (docommand): If a program forked from
4235 a .courier file exits with EX_SOFTWARE, change it to EX_NOPERM. Bottom
4236 line: courierdeliver terminates with EX_SOFTWARE only if a
4237 Delivered-To: loop was detected.
4238
4239 * courier/module.local/localmail.c (wait_delivery): Fix a memory
4240 leak. If courierdeliver terminates with EX_SOFTWARE, record this is
4241 as a COMCTLFILE_DELFAILED_NOTRACK.
4242
4243 * courier/libs/comctlfile.c (ctlfile_append_reply): Convert a
4244 COMCTLFILE_DELFAILED_NOTRACK as COMCTLFILE_DELFAILED, but do not
4245 put this address on the backscatter blacklist.
4246
4247 2005-01-30 Mr. Sam <mrsam@courier-mta.com>
4248
4249 * maildrop/deliver.C (delivery): Overquota condition is now a
4250 temporary delivery failure, in accordance with the new backscatter
4251 suppression logic.
4252
4253 * courier/module.local/deliver.c (delivery_error): Ditto.
4254
4255 * maildir/deliverquota.c (deliver): Ditto.
4256
4257 2005-01-29 Mr. Sam <mrsam@courier-mta.com>
4258
4259 * courier/libs/comctlfile.c (ctlfile_append_reply): When recording
4260 the results of a delivery attempt, update $localstatedir/track/nnnn
4261 if the message is marked for tracking, and other conditions are met.
4262
4263 * courier/submit2.C (closectl): New control file record,
4264 COMCTLFILE_MSGTRACK, added when message's source is found in
4265 BOFHSUPPRESSBACKSCATTER environment variable;
4266
4267 * courier/libs/comtrack.c: New module - keep track of unsuccessful
4268 deliveries and reject all mail for addresses that had a recently
4269 failed delivery attempt. A successfull delivery attempt clears the
4270 address lock. Only messages from BOFHSUPPRESSBACKSCATTER
4271 sources have their recipient addresses tracked this way. A delivery
4272 attempt for qualified source have the receipient address, and the
4273 delivery attempt's status, appended to $localstatedir/track/nnnn,
4274 where nnnn is a counter that gets incremented every hour. A part
4275 of regular Courier restart logic clears old track files.
4276
4277 * courier/libs/comctlfile.c (ctlfile_append_reply): When recording
4278 the results of a delivery attempt, update $localstatedir/track/nnnn
4279 if the message is marked for tracking, and other conditions are met.
4280
4281 * courier/submit.C (trackaddress): If suppressing backscatter,
4282 check if the receipient address has recently had a deferral or a
4283 failure, if so soft-reject the address.
4284
4285 * courier/courier.c: New command: "courier clear address" manually
4286 marks "address" as succesfully delivered, to clear mail acceptance
4287 for the address.
4288
4289 2005-01-29 Gordon Messmer <yinyang@eburg.com>
4290
4291 * courier/submit2.C: Open control files in append mode (helpful
4292 for filters).
4293
4294 2005-01-27 Andres Salomon <dilinger@voxel.net>
4295
4296 * maildrop/main.C (tempfail): More descriptive error messages when
4297 permissions check fails.
4298
4299 2005-01-27 Andres Salomon <dilinger@voxel.net>
4300
4301 * rfc2045/reformime.sgml: Fix typo.
4302
4303 2005-01-22 Mr. Sam <mrsam@courier-mta.com>
4304
4305 * courier/courier.h.in: Created LOCALSTATEDIR/track
4306
4307 2005-01-21 Mr. Sam <mrsam@courier-mta.com>
4308
4309 * courier/libs/comctlfile.h: New record - COMCTLFILE_MSGSOURCE in
4310 the control file.
4311
4312 * courier/submit.C: New -src option specifies the contents of
4313 COMCTLFILE_MSGSOURCE record, defaults to the sending module's name.
4314
4315 * courier/module.esmtp/courieresmtpd.c (startsubmit): Specify -src=smtp
4316 to submit for unauthenticated smtp connections, -src=authsmtp for
4317 authenticated smtp connections.
4318
4319 * courier/module.dsn/dsn.c (main): Specify -src=X/dsn to submit,
4320 where 'X' is the contents of COMCTLFILE_MSGSOURCE in the message that
4321 generated a DSN.
4322
4323 * courier/courierd.dist.in (ESMTP_BLOCKBACKSCATTER): New config file
4324 setting.
4325
4326 * courier/module.esmtp/esmtpclient.c (sendesmtp): Do not send the
4327 message if its COMCTLFILE_MSGSOURCE matches the comma-separated list
4328 of sources specified by the ESMTP_BLOCKBACKSCATTER setting. Instead,
4329 pretend that the message has been succesfully delivered, to wherever
4330 it was going.
4331
4332 2005-01-19 Mark Bucciarelli <mark@easymailings.com>
4333
4334 * courier/doc/couriermlm.sgml: Spelling fixes.
4335
4336 2005-01-19 Mr. Sam <mrsam@courier-mta.com>
4337
4338 * courier/submit.C (getsender): opt BOFHCHECKHELO=2 makes HELO
4339 rejections soft.
4340
4341 0.48.2
4342
4343 2005-01-11 Mr. Sam <mrsam@courier-mta.com>
4344
4345 * courier/libs/lcclog3.c: Fix path to courierlogger.
4346
4347 2005-01-05 Mr. Sam <mrsam@courier-mta.com>
4348
4349 * courier/cmlmsubunsubmsg.C: Fix moderated sub/unsub confirmation
4350 handling.
4351
4352 0.48.1
4353
4354 2005-01-04 Andreas Erhart <andi@zollhaus.net>
4355
4356 * imaplogin.c (login_callback): Fix imap proxy code.
4357
4358 0.48.0
4359
4360 2004-12-04 Brian Candler <B.Candler@pobox.com>
4361
4362 * imap: fix disconnection syslog messages.
4363
4364 2004-11-29 Brian Candler <B.Candler@pobox.com>
4365
4366 * imap/pop3dserver.c (main): Fix error message when chdir fails.
4367
4368 2004-11-25 Mr. Sam <mrsam@courier-mta.com>
4369
4370 * webmail/folder.c (showtexthtml): Transcode charsets for text/html.
4371
4372 2004-11-24 Mr. Sam <mrsam@courier-mta.com>
4373
4374 * imapd.dist.in: Add IMAP_UMASK, which resets umask in the imapd
4375 startup script. Derived from Ted Zlatanov <tzz@lifelogs.com>'s patch.
4376
4377 2004-11-20 Brian Candler <B.Candler@pobox.com>
4378
4379 * Additional debugging cleanup.
4380
4381 * sqwebmail: log login failures.
4382
4383 2004-11-09 Brian Candler <B.Candler@pobox.com>
4384
4385 * sharedindexsplit: Various fixes, imported from courier-authlib.
4386
4387 2004-11-12 Mr. Sam <mrsam@courier-mta.com>
4388
4389 * maildir: maildir_newshared_disabled turns off new-style shared
4390 folders. maildir_acl_disabled disables ACL support.
4391
4392 Account option "disableshared=1" disables virtual shared folders
4393 and ACLs.
4394
4395 2004-11-09 Brian Candler <B.Candler@pobox.com>
4396
4397 * sqwebmail: Replace 'nodsn' control file with 'wbnodsn' account
4398 option. Replace 'nochangepass' control file with 'wbnochangepass'
4399 account option. Replace 'nochangingfrom' control file with
4400 'wbnochangingfrom' account option.
4401
4402 2004-11-09 Brian Candler <B.Candler@pobox.com>
4403
4404 * imap/pop3: minor cleanup.
4405
4406 2004-11-05 Mr. Sam <mrsam@courier-mta.com>
4407
4408 * imap/pop3dserver.c (main): Authenticated address is in AUTHENTICATED,
4409 not AUTHADDR, now.
4410
4411 2004-11-03 Mr. Sam <mrsam@courier-mta.com>
4412
4413 * Makefile.am (SUBDIRS): Ok, only build in bdbobj/gdbmobj according
4414 to what autoconf finds.
4415
4416 2004-10-30 Mr. Sam <mrsam@courier-mta.com>
4417
4418 * imaplogin.c (login_imap): Implemented IMAP proxying.
4419
4420 * pop3login.c (login_pop3): Implemented POP3 proxying.
4421
4422 2004-11-03 Brian Candler <B.Candler@pobox.com>
4423
4424 * webmail/ispell.c: More debugging messages.
4425
4426 2004-10-25 Mr. Sam <mrsam@courier-mta.com>
4427
4428 * maildir/maildirfilter.c (maildir_filter_ruleupdate): Fix validation
4429 of regexp ranges.
4430
4431 2004-10-25 Mr. Sam <mrsam@courier-mta.com>
4432
4433 * courier.spec.in: Fix ownership of sqwebmaild.
4434
4435 2004-10-24 Mr. Sam <mrsam@courier-mta.com>
4436
4437 * webmail/folder.c (showaddressheader_printsep): Supply a missing
4438 </span> tag.
4439
4440 2004-10-24 Laurent Wacrenier <lwa@teaser.fr>
4441
4442 * webmail/newmsg_create.c (header_wrap): Fold long headers only on
4443 space boundaries.
4444
4445 2004-10-24 Mr. Sam <mrsam@courier-mta.com>
4446
4447 * courier/pop3d.in (libexecdir): Fix stderrlogger parameter.
4448
4449 2004-10-23 Mr. Sam <mrsam@courier-mta.com>
4450
4451 * courier/cddrvinfo.C (init): Additional debugging messages.
4452
4453 * courier.spec.in: Dropped courier-smtpauth subpackage, because
4454 authstart and authend wrapper have been removed.
4455 The ldap, mysql, and postgresql subpackages now only have webadmin
4456 support, so its not necessary to conditionally build them.
4457
4458 * courier/module.esmtp/courieresmtpd.c: No more authstart/authend.
4459
4460 2004-10-23 Julian Mehnle <julian@mehnle.net>
4461
4462 * courier/filters/courierfilter.sgml: Fixes.
4463
4464 2004-10-21 Mr. Sam <mrsam@courier-mta.com>
4465
4466 * courier/module.esmtp/esmtpd.dist.in: Removed AUTHMODULES setting.
4467
4468 * courier/module.esmtp/esmtpd-ssl.in: Ditto.
4469
4470 * courier/module.esmtp/esmtpd.in: Ditto.
4471
4472 * courier/module.esmtp/Makefile.am: Replaced authstart and authend
4473 wrappers with direct calls to the Courier authentication libraries.
4474
4475 0.47.0
4476
4477 2004-09-14 Andrey Ulanov <drey@rt.mipt.ru>
4478
4479 * courier/cmlmfetch.C (checksub): Fix POSTARCHIVE=subscribers.
4480
4481 2004-09-06 Mr. Sam <mrsam@courier-mta.com>
4482
4483 * imaptoken.c (bye_msg): IMAP disconnect message includes session
4484 length and STLS mode, for logging purposes.
4485
4486 * pop3dserver.c (acctout): POP3 disconnect message includes session
4487 length, and STLS mode, for logging purposes.
4488
4489 2004-09-02 Mr. Sam <mrsam@courier-mta.com>
4490
4491 * webmail: rfc2045/rfc2045reply.c (mkforward): Keep [BLOB]s in the
4492 subject.
4493 (mkreply): Ditto.
4494
4495 2004-09-01 Mr. Sam <mrsam@courier-mta.com>
4496
4497 * courier/submit.C (getrcpts): Rename existing Received-SPF: headers
4498 as Old-Received-SPF:, instead of reordering them.
4499
4500 2004-09-01 Marc Horowitz <marc@mit.edu>
4501
4502 * imap/search.c (fill_search_veryquick): Negative SEARCH UID does not
4503 get short-circuited.
4504
4505 2004-08-29 Mr. Sam <mrsam@courier-mta.com>
4506
4507 * webmail/maildir.c (subjectcmp): Remove extra param from
4508 rfc2047_decode_simple.
4509
4510 2004-08-25 Mr. Sam <mrsam@courier-mta.com>
4511
4512 * courier/webadmin/admin-30xspf.pl: New webadmin SPF configuration
4513 screen.
4514
4515 2004-08-23 Mr. Sam <mrsam@courier-mta.com>
4516
4517 * courier/submit.C (get_spf_errmsg): Add "softfail" to
4518 BOFHSPFHARDERROR.
4519
4520 * courier/makealiases: makealiases script skips subdirs (CVS...)
4521
4522 2004-08-19 Mr. Sam <mrsam@courier-mta.com>
4523
4524 * courier/doc/install.html: Pointer to SPF documentation.
4525
4526 * rfc1035/spf.c (spf_compute): Tweaks to SPF message format.
4527
4528 * courier/webadmin/admin-30esmtp.html (alink): Update default list
4529 of DNSbls.
4530
4531 * courier/submit.C (getrcpts): Implement SPF checking on the From:
4532 header.
4533
4534 2004-08-16 Mr. Sam <mrsam@courier-mta.com>
4535
4536 * courier/submit.C (check_spf_result): Added BOFHSPFNOVERBOSE=1
4537 flag.
4538
4539 * rfc1035/spf.c (rfc1035_spf_lookup): Adjust default SPF error message
4540 verbiage.
4541
4542 * courier/webadmin/admin-47webmail.pl: Fix pcp restart.
4543
4544 2004-08-15 Mr. Sam <mrsam@courier-mta.com>
4545
4546 * rfc1035/spf.c (rfc1035_spf_lookup): draft-mengwong-spf-01.txt
4547 implementation.
4548
4549 2004-08-12 Mr. Sam <mrsam@courier-mta.com>
4550
4551 * imap/imapd.c (do_imap_command): [READ-WRITE] and [READ-ONLY] reflect
4552 ACL rights.
4553
4554 2004-08-07 Mr. Sam <mrsam@courier-mta.com>
4555
4556 * courier/libs/comsubmitclient.c (submit_set_teergrube): Install
4557 callback function on an error message from submit, called before
4558 the error message is printed (implementing tarpit wait before
4559 returning the error message).
4560
4561 2004-08-06 Mr. Sam <mrsam@courier-mta.com>
4562
4563 * authlib/configure.in: Fix usage of mysql_config
4564
4565 2004-08-05 Mr. Sam <mrsam@courier-mta.com>
4566
4567 * imap/testsuite (IMAP_SHAREDINDEXFILE): Fix a bash-ism.
4568
4569 0.46.0
4570
4571 2004-07-26 Mr. Sam <mrsam@courier-mta.com>
4572
4573 * courier/doc/Makefile.am: Moved some man pages to more appropriate
4574 man sections.
4575
4576 2004-07-23 Mr. Sam <mrsam@courier-mta.com>
4577
4578 * soxwrap: use the Courier Socks library.
4579
4580 2004-07-22 Mr. Sam <mrsam@courier-mta.com>
4581
4582 * gpglib/export.c (libmail_gpg_exportkey): Fix off-by 1 in GPG key
4583 export.
4584
4585 2004-07-21 Mr. Sam <mrsam@courier-mta.com>
4586
4587 * authlib/authmysqllib.c (auth_mysql_getuserinfo): Fix options field.
4588
4589 2004-07-18 Mr. Sam <mrsam@courier-mta.com>
4590
4591 * webmail/folder.c (get_textlink): Fix HTTP redirect in the anomalous
4592 case where SCRIPT_NAME is empty.
4593
4594 * imap/imapscanclient.c (fnamcmp): Ignore :s when comparing filenames
4595 during maildir scan (fixes anomalous cases with nonstandard filenames).
4596
4597 2004-07-12 Mr. Sam <mrsam@courier-mta.com>
4598
4599 * imap/outbox.c (is_outbox): Make OUTBOX work again.
4600
4601 2004-06-27 Mr. Sam <mrsam@courier-mta.com>
4602
4603 * all: Update GNU toolchain.
4604
4605 * rfc1035/rfc1035qptr.c (ptr): IPv6 reverse DNS lookups switch to
4606 ip6.arpa.
4607
4608 2004-06-22 Mr. Sam <mrsam@courier-mta.com>
4609
4610 * courier/doc/Makefile.am (nohtmlin): Add link to
4611 http://www.courier-mta.jp
4612
4613 2004-06-18 Mr. Sam <mrsam@courier-mta.com>
4614
4615 * authlib/authldaplib.c: Conditionally define LDAP_OPT_SUCCESS if
4616 not defined by <ldap.h>.
4617
4618 2004-06-18 Laurent Wacrenier <lwa@teaser.fr>
4619
4620 * maildir/maildirquota.c (docount): Fix quota parsing bug on 64bit
4621 off_t systems.
4622
4623 2004-06-13 John Morrissey <jwm@horde.net>
4624
4625 * imap: Add MAILDIRPATH setting to imapd-ssl and pop3d-ssl
4626 configuration files.
4627
4628 2004-06-13 Mr. Sam <mrsam@courier-mta.com>
4629
4630 * imap/smap.c (dump_hdrs): Added FETCH RAWHEADERS command.
4631
4632 2004-06-12 Mr. Sam <mrsam@courier-mta.com>
4633
4634 * liblog/logger.c (startchild): Close stderr after initializing
4635 the monitored process. Fixed hanging file descriptor to the terminal.
4636
4637 0.45.6
4638
4639 2004-06-11 Mr. Sam <mrsam@courier-mta.com>
4640
4641 * folder.c (print_header_uc): Escape header name.
4642
4643 2004-06-06 Mr. Sam <mrsam@courier-mta.com>
4644
4645 * courier/submit.C (do_checkfreemail): Temporary DNS lookup failures
4646 will not fault freemail.
4647
4648 * rfc2045/rfc2045.h: Clean up and re-factor out MIME header parsing
4649 into a new function: rfc2045_parse_mime_header.
4650
4651 2004-05-24 Mr. Sam <mrsam@courier-mta.com>
4652
4653 * authlib/configure.in: Add #include <sys/types.h> in probe for
4654 -lresolv.
4655
4656 2004-05-21 Mr. Sam <mrsam@courier-mta.com>
4657
4658 * webmail/maildir.c: Purging the Trash folder didn't
4659 update the quota correctly when compiled with --with-trashquota.
4660
4661 2004-05-19 Mr. Sam <mrsam@courier-mta.com>
4662
4663 * maildir/maildirquota.c (do_deliver_warning): Make quota warning
4664 message work correctly with NFS.
4665 (do_maildir_openquotafile): Make quota calculations 64bit-safe (based
4666 on patch from Michael Kefeder <ml@weird-birds.org>).
4667
4668 2004-05-18 Mr. Sam <mrsam@courier-mta.com>
4669
4670 * acl.c (maildir_shared_index_file): Complain if shared index file
4671 does not exist.
4672
4673 * mailboxlist.c (maildir_shared_index_file): Complain if shared
4674 index file does not exist.
4675
4676 * courier/submit.C (getrcpts): Rename original Return-Path: header as
4677 Old-Return-Path. instead of >Return-Path.
4678
4679 2004-05-17 Hatuka*nezumi - IKEDA Soji <nezumi@jca.apc.org>
4680
4681 * all: Improve MIME encoding of message headers for East Asian
4682 character sets.
4683
4684 2004-05-17 Mr. Sam <mrsam@courier-mta.com>
4685
4686 * imap/capability.c (imapcapability): Announce XMAGICTRASH capability
4687
4688 * imapd.c (do_imap_command): Fix #shared in NAMESPACE reply
4689
4690 0.45.5
4691
4692 2004-05-10 Mr. Sam <mrsam@courier-mta.com>
4693
4694 * esmtpd.dist.in (TCPDOPTS): Bump version of AUTHMODULES, so that
4695 upgrade correctly initializes it, where it was empty before. Get
4696 rid of AUTHMODULES_WEBADMIN.
4697
4698 * esmtpd-ssl.in (AUTHMODULES): AUTHMODULES environment variable must
4699 now list the authentication modules even if authenticated SMTP is
4700 disabled. Turn off only ESMTPAUTH.
4701
4702 * esmtpd.in: Ditto.
4703
4704 * courier/webadmin/admin-30esmtp.pl: Webadmin will not set
4705 AUTHMODULES anymore, only ESMTPAUTH.
4706
4707 2004-05-09 Mr. Sam <mrsam@courier-mta.com>
4708
4709 * authlib/authpgsqllib.c: fixed dash-extensions
4710
4711 2004-05-09 Jeff Potter <jpotter-courier@codepuppy.com>
4712
4713 * authlib/authmysqllib.c: fixed dash-extensions
4714
4715 2004-05-09 Mr. Sam <mrsam@courier-mta.com>
4716
4717 * courier/doc/courier.sgml: Removed description of 'authmodulelist'
4718 configuration file from the courier(8) man page.
4719
4720 * makedat/makedat.in: Skip subdirectories named "CVS". Allows all
4721 directory-based lists (makesmtpaccess, etc...) to be managed via CVS.
4722
4723 * courier/sendmail.c (main): Clear AUTHMODULES environment variable,
4724 preventing it from being set via the command line. As always,
4725 mail from local is not recipient-verified, so that the authentication
4726 verification will be completely bypassed in the local module.
4727
4728 * courier/module.local/local.c (rw_del_local): Read authentication
4729 module list from the AUTHMODULES environment variable.
4730
4731 * courier/module.esmtp/authstart.c: Read authentication module list
4732 from the AUTHMODULES environment variable. Mandate that authstart
4733 must be invoked by the mail user.
4734
4735 * authlib/configure.in: Back out the patch to disable creation of
4736 authdaemon.msg - needed by the Courier-IMAP build.
4737
4738 * pcp/pcpdauth.c: Make pcp use AUTHMODULES environment variable instead
4739 of the deprecated authmodules file.
4740
4741 2004-05-09 Brian Candler <B.Candler@pobox.com>
4742
4743 * sqwebmail: Update startup banner msg to reflect new startup command.
4744
4745 2004-05-08 Mr. Sam <mrsam@courier-mta.com>
4746
4747 * Makefile.am: Do not install authmodulelist.
4748
4749 * webmail/html: update copyright date.
4750
4751 2004-05-08 Brian Candler <B.Candler@pobox.com>
4752
4753 * pop3dserver.c (do_retr): If error occured during RETR drop the
4754 connection (only sane thing to do).
4755
4756 2004-05-02 Brian Candler <B.Candler@pobox.com>
4757
4758 * authlib: additional debugging.
4759
4760 * maildir/maildirquota.c: additional debugging.
4761
4762 2004-05-07 Mr. Sam <mrsam@courier-mta.com>
4763
4764 * rfc1035/rfc1035qa.c (we_have_that_ipv4): Fix pointer comparison.
4765
4766 * rfc1035/rfc1035dumprrdata.c (rfc1035_dumprrdata): Fix pointer
4767 comparison.
4768
4769 * maildir/maildirkw.c (doit_locked): Fix pointer comparison.
4770
4771 * maildir/maildirfilter.h: Compilation fix.
4772
4773 2004-05-03 Mr. Sam <mrsam@courier-mta.com>
4774
4775 * webmaild.in: Fix PCP start script.
4776
4777 2004-05-01 Brian Candler <B.Candler@pobox.com>
4778
4779 * sqwebmail: convert startup scripts to use new courierlogger wrapper.
4780
4781 * sqwebmail: replace all syslog calls to stderr, now captured by
4782 courierlogger.
4783
4784 2004-04-24 Mr. Sam <mrsam@courier-mta.com>
4785
4786 * maildrop/recipenode.C (Evaluate): Do not trap the exit statement
4787 within an exception {} block. exit will now really exit.
4788
4789 2004-04-24 Brian Candler <B.Candler@pobox.com>
4790
4791 * authlib/authdaemond.c (authnext): Do not report unknown
4792 authentication modules -- unwanted noise.
4793
4794 2004-04-24 Lloyd Zusman <ljz@asfast.com>
4795
4796 * courier/courier.c (main): --version option to the courier command.
4797
4798 * courier/module.esmtp/courieresmtpd.c: new config option
4799 ESMTP_LOG_DIALOG
4800
4801 2004-04-24 Mr. Sam <mrsam@courier-mta.com>
4802
4803 * liblog/courierlogger.sgml: courierlogger man page.
4804
4805 2004-04-23 Brian Candler <B.Candler@pobox.com>
4806
4807 * liblog/courierlogger: New courierlogger.
4808
4809 * pop3dserver.c (scancur): Report an error if authentication module
4810 started pop3d in a wrong directory.
4811
4812 * Makefile.am: Do not overwrite existing PAM configuration files.
4813
4814 2004-04-20 Brian Candler <B.Candler@pobox.com>
4815
4816 * authlib/authmysqllib.c (auth_mysql_getuserinfo): More SQL fixes.
4817
4818 * maildir/maildirgetnew.c (do_maildir_getnew): Fix infinite loop if
4819 rename() syscall fails.
4820
4821 2004-04-19 Brian Candler <B.Candler@pobox.com>
4822
4823 * authlib/authtest.c: Additional logging messages.
4824
4825 * Documentation fixes.
4826
4827 2004-04-18 Mr. Sam <mrsam@courier-mta.com>
4828
4829 * liblog: new directory for courierlogger, moved out of tcpd.
4830
4831 2004-04-11 Brian Candler <B.Candler@pobox.com>
4832
4833 * all: additional logging messages. Set log level via --with-syslog
4834
4835 2004-04-11 Alessandro Vesely <vesely@tana.it>
4836
4837 * courier/filters/courierfilter.c: Various fixes.
4838
4839 2004-04-11 Lloyd Zusman <ljz@asfast.com>
4840
4841 * courier/submit.C (getrcpts): Add the internal queue ID to the
4842 Received: header.
4843
4844 2004-04-11 Mr. Sam <mrsam@courier-mta.com>
4845
4846 * rfc822/rfc2047.c (a_rfc2047_encode_str): Improve compliance with
4847 RFC 2047 for MIME-encoded recipient lists.
4848 (rfc2047_encode_callback): New argument: qp_allow - function that
4849 indicates acceptable characters in QP-encoded words.
4850 (rfc2047_encode_str): Ditto.
4851 (rfc2047_qp_allow_any, rfc2047_qp_allow_comment)
4852 (rfc2047_qp_allow_word): Possible arguments to qp_allow for various
4853 situations.
4854
4855 * webmail/maildir.c (subjectcmp): Decode message subject to UTF-8
4856 before sorting folder by subject.
4857
4858 * imap/thread.c (thread_ref_callback): MIME-decode the subject header
4859 to UTF-8 before running the THREAD REFERENCES algorithm.
4860
4861 2004-04-09 Mr. Sam <mrsam@courier-mta.com>
4862
4863 * rfc2045/rfc2045cdecode.c (do_decode_base64): Long overdue - use
4864 a precomputed base64 decoding table.
4865
4866 * rfc822/encode.c: Moved rfc2045/rfc2045encode.c here, renamed all
4867 functions to use the libmail_ prefix.
4868
4869 0.45.4
4870
4871 2004-04-05 Willi Mann <newsletters@wm1.at>
4872
4873 * newmsg.c (dosendmsg): Fix corrupted return address.
4874
4875 2004-03-29 Dmitry Sukhodoev <raven@bingo.ru>
4876
4877 * newmsg_create.c (lookup_addressbook): Fix double-RFC2047 encoding
4878 when sending a message.
4879
4880 2004-04-01 Mr. Sam <mrsam@courier-mta.com>
4881
4882 * courier/Makefile.am: use _SCRIPTS target for sharedindexsplit
4883 and sharedindexinstall (some install programs are finicky).
4884
4885 0.45.3
4886
4887 2004-03-31 Mr. Sam <mrsam@courier-mta.com>
4888
4889 * imapd.c (do_expunge): Fix expunge from Trash when
4890 IMAP_MOVE_EXPUNGE_TO_TRASH is set.
4891
4892 2004-03-30 Mr. Sam <mrsam@courier-mta.com>
4893
4894 * courier/dotforward.c (readforward): Make dotforward understand
4895 "" on .forward lines with multiple addresses.
4896
4897 2004-03-26 Mr. Sam <mrsam@courier-mta.com>
4898
4899 * courier/configure.in: Make the better ulimit probe even better.
4900
4901 2004-03-25 Brian Candler <B.Candler@pobox.com>
4902
4903 * imap/imapd.dist.in: Clarify AUTHMODULES setting.
4904
4905 * imap/pop3d.dist.in: Clarify AUTHMODULES setting.
4906
4907 2004-03-25 Ondrej Jombik <nepto@pobox.sk>
4908
4909 * imap/fetch.c (fetchitem): Fix sigsegv caused by null ptr deref on
4910 open error.
4911
4912 2004-03-25 Lloyd Zusman <ljz@asfast.com>
4913
4914 * courier/configure.in: Use a better probe for the right ulimit option.
4915
4916 2004-03-21 Mr. Sam <mrsam@courier-mta.com>
4917
4918 * imapd.c (getacl_cb): Fix negative rights for ACL1.
4919 (acl2_identifier): Ditto.
4920
4921 2004-03-17 Mr. Sam <mrsam@courier-mta.com>
4922
4923 * testsuite (OPTIONS): Fix a bash-ism.
4924
4925 * smaptestsuite (IMAP_SHAREDINDEXFILE): Ditto.
4926
4927 0.45.2
4928
4929 2004-03-16 Mr. Sam <mrsam@courier-mta.com>
4930
4931 * courier/webadmin/admin-30esmtp.html: monkeys.com BL is defunct.
4932 Replace with spamhaus.org.
4933
4934 2004-03-13 Flavio Stanchina <flavio@stanchina.net>
4935
4936 * rfc2045/reformime.c (extract_pipe): Program invoked by reformime -X
4937 must exit with zero exit status. A non-zero exit status terminates
4938 reformime. reformime's exist status will be 20+child process's exit
4939 status.
4940
4941 2004-03-13 Mr. Sam <mrsam@courier-mta.com>
4942
4943 * imapd.c (acl_read_folder): Add the 'x' right for filesystem-based
4944 shared folders, even though it's not true; but it's needed for ACL1
4945 compatibility.
4946
4947 2004-03-11 Mr. Sam <mrsam@courier-mta.com>
4948
4949 * authlib/configure.in: netinet/in.h needs sys/types.h on xBSD.
4950
4951 * courier/configure.in: Ditto.
4952
4953 2004-03-10 Mr. Sam <mrsam@courier-mta.com>
4954
4955 * maildir/maildirkeywords.h: Sun C++ compiler fix.
4956
4957 0.45.1
4958
4959 2004-03-09 Mr. Sam <mrsam@courier-mta.com>
4960
4961 * maildir/maildirrename.c (scan_aclhier2_rename): Check dirp is not
4962 NULL before closing it.
4963 * maildir/maildirrename.c (scan_maildir_rename): Ditto.
4964
4965 * maildir/maildirmake2.c (maildir_del): xBSD portability fix.
4966
4967 2004-03-09 Aleksander Adamowski <aleksander.adamowski.courier@altkom.pl>
4968
4969 * courier/ldapaliasd.c (search_virtual): Remove hardcoded source
4970 field.
4971
4972 0.45
4973
4974 2004-03-02 Mr. Sam <mrsam@courier-mta.com>
4975
4976 * authlib/configure.in: BSD needs netinet/in.h before resolv.h
4977
4978 * courier/configure.in: BSD needs netinet/in.h before resolv.h
4979
4980 2004-02-29 Mr. Sam <mrsam@courier-mta.com>
4981
4982 * webmail/maildir.c (maildir_markread): Check for SEEN permission.
4983 (maildir_markreplied): Check for WRITE permission.
4984 (do_msgmove): If appropriate, check for SEEN, WRITE, and DELETEMSGS
4985 permission on the destination folder, and turn off the respective
4986 flags on the message being copied into that folder.
4987 (foldercountfilename): Move message count cache files from each folder
4988 into the sqwebmail-curcache directory, to avoid race conditions from
4989 concurrent access.
4990 (maildir_checknew): Check for EXPUNGE permission before expunging
4991 messages.
4992 (dodirscan): Read message count cache file from the sqwebmail-curcache
4993 directory.
4994
4995 * webmail/folder.c (folder_delmsgs): Check for DELETE permission.
4996 Also check for INSERT permission on destination folder if moving the
4997 messages.
4998 (savepath): Cache public folder accounts we've seen, for message
4999 move dropdown list (so that messages can be moved between public
5000 accounts). Up to two most recent public folder accounts are cached.
5001 (show_transfer_dest_real): Include cached public folder accounts in
5002 the dropdown list.
5003 (do_folderlist): Various fixes.
5004
5005 2004-02-22 Mr. Sam <mrsam@courier-mta.com>
5006
5007 * webmail/maildir.c (maildir_delete): After deleting a folder, delete
5008 its ACLs.
5009
5010 * webmail/folder.c (checkrename): Check ACLs for folder rename.
5011 (checkcreate): Check ACLs for folder create.
5012 (folder_list): Check ACLs for folder delete.
5013
5014 * webmail/acl.c (acl_computeRightsOnFolder): Plug leak.
5015
5016 * webmail/folder.c (folder_contents): Check for ACL_READ permission
5017 when opening a folder.
5018 (show_transfer_dest): Only show folders with ACL_INSERT permissions
5019 in the drop-down for the destination folder of message move.
5020 (folder_list): Fix memory stomp.
5021 (folder_rename_dest_real): Only show hierarchies with ACL_CREATE
5022 permissions in the drop-down for destination folder of folder rename.
5023
5024 2004-02-19 Mr. Sam <mrsam@commodore.email-scan.com>
5025
5026 * sqwebmail.c (start_daemon): Close stdin/stdout/stderr after
5027 starting authdaemond.
5028
5029 2004-02-18 Mr. Sam <mrsam@courier-mta.com>
5030
5031 * courier/ldapaliasd.c (search_maildrop): Replaced hardcoded "source"
5032 with the proper variable.
5033
5034 * Various fixes for the X86-64 platform.
5035
5036 2004-02-17 IKEDA Soji <nezumi@jca.apc.org>
5037
5038 * webmail/auth.c: new config file authcharset specifies character set
5039 for account names, from the authentication record.
5040
5041 2004-02-16 Mr. Sam <mrsam@courier-mta.com>
5042
5043 * webmail: Initial partial virtual shared folder implementation. New
5044 screen to modify folder ACLs. Partial ACL implementation: implement
5045 the "visible (lookup)" and "administer" ACLs. Other ACLs are ignored
5046 for now. Some minor things are known to be broken when used on
5047 virtually-shared folders.
5048
5049 2004-02-15 Mr. Sam <mrsam@courier-mta.com>
5050
5051 * maildir/maildiraclt.c (maildir_acl_canlistrights): New function
5052 moved from imap code, to be shared by sqwebmail.
5053
5054 2004-02-13 IKEDA Soji <nezumi@jca.apc.org>
5055
5056 * ldaplist.c (getfiltern): Convert query to utf8. New query
5057 operators "ends with" (*=) and "contains" (*=*).
5058
5059 2004-02-11 Mr. Sam <mrsam@courier-mta.com>
5060
5061 * smap.c (do_listcmd): Fix SMAP ACL.
5062
5063 * unicode/big5.c (c2u_doconv): C portability fix.
5064 gb2312: ditto.
5065
5066 2004-02-09 IKEDA Soji <nezumi@jca.apc.org>
5067
5068 * Big5, euc-jp, gb2312, ksx1001, shiftjis: let these functions handle
5069 their own conversion errors.
5070
5071 2004-02-07 IKEDA Soji <nezumi@jca.apc.org>
5072
5073 * Big5: Add non-hanzi maps. Add ETen extension. Add Big5-HKSCS
5074 charset.
5075
5076 * Gb2312: Add non-hanzi maps.
5077
5078 * Let iso2022-jp functions handle their own conversion errors.
5079
5080 2004-02-07 Jan Zimmerschied <jan@z4fun.de>
5081
5082 * RPM spec file for SUSE.
5083
5084 2004-02-02 IKEDA Soji <nezumi@jca.apc.org>
5085
5086 * iso2022jp.h: Maps for CJK Compatibility Ideographs has been added.
5087
5088 * ksx1001.c: New character sets: ISO-2022-KR, EUC-KR, CP949,
5089 ISO-2022-JP-1.
5090
5091 2004-02-01 Mr. Sam <mrsam@courier-mta.com>
5092
5093 * sqwebmail.c (rename_sent_folder): Fix internal error boner.
5094
5095 * unicode/iso88597.c: Updated from unicode.org.
5096
5097 * unicode/unicode_ultcasetab.c: Updated from unicode.org
5098
5099 2004-02-01 IKEDA Soji <nezumi@jca.apc.org>
5100
5101 * iso2022jp.pl / iso2022jp.h: JIS X 0208 mapping has been updated
5102 based on latest regional standard (JIS X 0208:1997) and some vendor
5103 standards. Errorneous (lacking or false) mappings has been fixed.
5104 Support for older JIS X 0208 (JIS C 6226:1978) mapping was added.
5105 JIS X 0212:1990 mapping was added.
5106
5107 * iso2022jp.c: Converters became (upper-)compatible with ISO-2022-JP
5108 (RFC1468 / JIS X 0208:1997 Annex 2) and ISO-2022-JP-1 (RFC2237).
5109 Buffer overflow vulnerability (when Unicode character is out
5110 of BMP range) has been closed. Convert error handling was implemented.
5111
5112 * shiftjis.c: Broken SHIFT_JIS converters has been fixed and became
5113 (upper-)compatible with Shifted Encoding Method (JIS X 0208:1997
5114 Annex 1). Buffer overflow vulnerability (when Unicode character is out
5115 of BMP range) has been closed. Convert error handling was implemented.
5116
5117 * eucjp.c: New converters for EUC-JP.
5118
5119 2004-01-31 Mr. Sam <mrsam@courier-mta.com>
5120
5121 * maildir.c (xlate_mdir): Temporary diagnostics if
5122 maildir_info_imap_find() fails; looking for the real fix.
5123
5124 2004-01-31 Mr. Sam <mrsam@courier-mta.com>
5125
5126 * courier/module.esmtp/courieresmtpd.c (rcpttolocal): Rewrite
5127 RCPT TO:<user@[TCPLOCALIP]> as RCPT TO:<user@defaultdomain>
5128
5129 * courier/doc/courier.sgml: Supplement defaultdomain documentation.
5130
5131 * courier/module.uucp/configure.in (SYSCONFDIR): Set same as sysconfdir
5132 for Docbook.
5133
5134 2004-01-31 Jon Nelson <jnelson-courier@jamponi.net>
5135
5136 * courier/filters/filterctl.in (pidfile): Use value of --with-piddir
5137 option, instead of assuming the default location.
5138
5139 * courier/module.esmtp/esmtpd-ssl.dist.in (SSLPIDFILE): Ditto.
5140
5141 * courier/module.esmtp/esmtpd-msa.dist.in (PIDFILE): Ditto.
5142
5143 2004-01-25 Mr. Sam <mrsam@courier-mta.com>
5144
5145 * sqconfig.c (write_sqconfig): Update config file by writing to temp
5146 file, then renaming. Makes sure that sqwebmail_curcnt files will be
5147 safe for concurrent updates in the future.
5148
5149 2004-01-24 Mr. Sam <mrsam@courier-mta.com>
5150
5151 * Massive overhaul of the folder naming scheme to match Courier-IMAP's,
5152 in preparation for support of virtual shared folders.
5153
5154 2004-01-24 Mr. Sam <mrsam@courier-mta.com>
5155
5156 * maildir/maildirinfo.c: replace getenv("AUTHENTICATED") with an
5157 extra parameter.
5158
5159 2004-01-23 Malcolm Rowe <malcolm-courier@farside.org.uk>
5160
5161 * html/en-us/smileys.txt: Add HTML tags to smileys.
5162
5163 2004-01-23 Alessandro Vesely <vesely@tana.it>
5164
5165 * tcpd/tcpd.c (parseaddr): One-liner.
5166
5167 2004-01-23 Jan Zimmerschied <jan@z4fun.de>
5168
5169 * Add MAILDIRPATH to config files, that defines the default Maildir
5170 location in the startup script. Fix autoconf paths in the config
5171 files.
5172
5173 2004-01-23 Mr. Sam <mrsam@courier-mta.com>
5174
5175 * authlib/authmysqllib.c (auth_mysql_getuserinfo): It's really
5176 named MYSQL_AUXOPTION_FIELD.
5177
5178 2004-01-18 Mr. Sam <mrsam@courier-mta.com>
5179
5180 * Implement account options: disableimap, disablepop3, sharedgroup.
5181
5182 * Courier-IMAP: Move courierlogger from libexecdir to sbindir
5183
5184 * authdaemond: replace stderr diagnostics to syslog(). authdaemond's
5185 stderr doesn't go anywhere.
5186
5187 2004-01-14 Courier User <courier@asfast.net>
5188
5189 * maildrop: VAR="" does not remove the variable. New unset command
5190 does that.
5191
5192 2004-01-14 Troy Benjegerdes <hozer@hozed.org>
5193
5194 * maildrop/maildir.C: AFS patch - rename if link fails due to EXDEV
5195
5196 2004-01-13 Mr. Sam <mrsam@courier-mta.com>
5197
5198 * Rebuild all docbook SGML stuff.
5199
5200 * Fix SMAP testsuite.
5201
5202 2004-01-13 Michael Bowe <mbowe@pipeline.com.au>
5203
5204 * authvchkpw update.
5205
5206 2004-01-12 Mr. Sam <mrsam@courier-mta.com>
5207
5208 * mailboxlist.c (list_newshared_shortcut): Fix list #shared.%.%, for
5209 Mozilla.
5210
5211 * imapd.c (do_imap_command): ACL fixes. Quota fixes.
5212
5213 2004-01-11 Mr. Sam <mrsam@courier-mta.com>
5214
5215 * smap.c: Fix SMAP ACL implementation.
5216
5217 * imapd.c (aclstore): Fix gcc-ism.
5218
5219 2004-01-10 Michael Bowe <mbowe@pipeline.com.au>
5220
5221 * authvchkpw update.
5222
5223 2004-01-10 Mr. Sam <mrsam@courier-mta.com>
5224
5225 * imap: Implement virtual shared folders + ACL.
5226
5227 2004-01-08 Mr. Sam <mrsam@courier-mta.com>
5228
5229 * courier/cdmsgq.C (queuescan3): Remove orphaned queue file name.
5230
5231 2003-12-27 Mr. Sam <mrsam@courier-mta.com>
5232
5233 * maildir/maildirmake2.c (maildir_make): Fix memory leak.
5234
5235 * maildir/maildirkeywords2.c (doReadKeywords2): Fix memory leak
5236 when keywords are not enabled.
5237
5238 2003-12-25 Mr. Sam <mrsam@courier-mta.com>
5239
5240 * unicode/unicode.h: Formal unicode structure for IMAP's modified-UTF7
5241 coding.
5242
5243 2003-12-23 Mr. Sam <mrsam@courier-mta.com>
5244
5245 * rfc1035/configure.in: Fix --with-ipv6 option parsing.
5246
5247 2003-12-20 Mr. Sam <mrsam@courier-mta.com>
5248
5249 * imap/imapd.c (do_imap_command): Drop kludge for Sun's StarOffice.
5250
5251 2003-12-13 Mr. Sam <mrsam@courier-mta.com>
5252
5253 * imap/smap.c: Remove legacy SHARED support from SMAP1.
5254
5255 2003-12-12 Mr. Sam <mrsam@courier-mta.com>
5256
5257 * imap/imapscanclient.c (do_imapscan_maildir2): autocreate
5258 courierimapkeywords directory if a folder doesn't have it.
5259
5260 2003-12-07 Mr. Sam <mrsam@courier-mta.com>
5261
5262 * imap/imapd.c (set_namespace_options): Drop #allfolders hack.
5263 Conflicts with new ACL code.
5264 * README.html (href): Remove #allfolders description.
5265
5266 2003-12-03 Mr. Sam <mrsam@courier-mta.com>
5267
5268 * imap/fetchinfo.c (alloc_headerlist): Allow header names to be
5269 quoted (+more).
5270
5271 2003-11-30 Mr. Sam <mrsam@courier-mta.com>
5272
5273 * imap/mailboxlist.c (mailbox_scan): Replaced mailbox_list() with a
5274 callback-based mailbox_scan(), fixing empty reference name case
5275 along the way. The mailboxes are listed in the callback function.
5276
5277 2003-11-29 Mr. Sam <mrsam@courier-mta.com>
5278
5279 * maildir/maildirdelfolder.c: maildir_mddelete superceded by
5280 maildir_del().
5281
5282
5283 2003-11-28 Mr. Sam <mrsam@courier-mta.com>
5284
5285 * maildir/maildirshared2.c (maildir_shareddir): Move maildir_shareddir
5286 from maildirshared.c, so that a reference to this function does not
5287 pull in the entire db dependency tree.
5288
5289 0.44.3
5290
5291 2003-12-19 Mr. Sam <mrsam@courier-mta.com>
5292
5293 * unicode: Fix toupper_func/tolower_func/totitle_func for shiftjis,
5294 big5, utf8, utf7, iso2022jp: function may return a NULL even when
5295 requested to ignore conversion errors.
5296
5297 2003-12-17 Mr. Sam <mrsam@courier-mta.com>
5298
5299 * authlib/authmysqllib.c (get_variable): Fix warning.
5300
5301 2003-12-16 Mr. Sam <mrsam@courier-mta.com>
5302
5303 * rfc1035/rfc1035.h (RFC1035_ADDRANY): Fix definition for non-IPv6
5304 systems.
5305
5306 2003-12-15 Gordon Messmer <yinyang@eburg.com>
5307
5308 * ReiserFS fix.
5309
5310 2003-12-15 Johannes Erdfelt <johannes@erdfelt.com>
5311
5312 * courier/module.esmtp/esmtpclient.c (get_sourceaddr): Option to
5313 bind outgoing ESMTP socket to a specific IP address.
5314
5315 2003-12-15 Mr. Sam <mrsam@courier-mta.com>
5316
5317 * configure.in: Fix disable-root-check.
5318
5319 2003-12-14 James A Baker <jabaker@mac.com>
5320
5321 * folder.c: Optimize HTML on the folder index screen.
5322
5323 2003-12-09 Mr. Sam <mrsam@courier-mta.com>
5324
5325 * maildir/maildirrename.c (validrename): Rename foo to foo.bar is not
5326 kosher. Compile list of directories to rename first, sort, then
5327 rename.
5328
5329 2003-11-23 Jeff Potter <jpotter-courier@codepuppy.com>
5330
5331 * courier/libs/islocal.c: Added .domain.com checks so that hosteddomain
5332 entries can support wildcard DNS.
5333 * courier/doc/makehosteddomains.{8,html}.in: Added info on how to use
5334 wildcard DNS with hosteddomains.
5335
5336 0.44.2
5337
5338 2003-11-28 Mr. Sam <mrsam@courier-mta.com>
5339
5340 * courier/pop3d-ssl.in (sysconfdir): Fix typo.
5341
5342 0.44.1
5343
5344 2003-11-27 Mr. Sam <mrsam@courier-mta.com>
5345
5346 * Simple check in startup scripts that make install-configure has been
5347 run.
5348
5349 2003-11-25 Mr. Sam <mrsam@courier-mta.com>
5350
5351 * sqwebmail.h (VALIDCGIVAR): Forward all SQWEBMAIL_ environ variables
5352 to sqwebmaild.
5353
5354 2003-11-23 James A Baker <jabaker@mac.com>
5355
5356 * folder.c (folder_navigate): Show folder navigation bar at top and
5357 the bottom of the message list.
5358
5359 2003-11-18 Tim Rice <tim@multitalents.net>
5360
5361 * rfc822/configure.in: Fix MSG_WARN.
5362
5363 2003-11-15 Mr. Sam <mrsam@courier-mta.com>
5364
5365 * Update to automake 1.7.8, autoconf 2.57, libtool-1.5, gettext-0.12.1
5366
5367 2003-11-11 Mr. Sam <mrsam@courier-mta.com>
5368
5369 * courier/cmlm3.C (fromverp): Allow lower or uppercase hexadecimal
5370 VERP encoding.
5371
5372 2003-11-04 John Belmonte <jvb@prairienet.org>
5373
5374 * courier/cmlm.C (goodconfirm): Added SIMPLECONFIRM option.
5375
5376 2003-11-01 Mr. Sam <mrsam@courier-mta.com>
5377
5378 * sqwebmail: Split sqwebmail into sqwebmail and sqwebmaild.
5379 sqwebmaild is now a root daemon process that listens on a UNIX
5380 domain socket. sqwebmail is a tiny, unprivileged cgi-bin stub that
5381 forwards the HTTP request to the daemon process. Update INSTALL
5382 and SECURITY. Remove FastCGI support; not compatible with the new
5383 framework.
5384
5385 The stub passes the client's file descriptor to sqwebmaild, on
5386 platforms that support passing file descriptors, else it proxies
5387 http traffic in both directions.
5388
5389 2003-10-30 Mr. Sam <mrsam@courier-mta.com>
5390
5391 * maildir/maildirlock.c (maildir_lock): Fix double-free() call.
5392
5393 2003-10-30 James A Baker <jabaker@mac.com>
5394
5395 * folder.c: CSS fixes; Javascript-based select/unselect all button;
5396 show "xx-yy of zzz" on the folder index screen.
5397
5398 * folder.c: Show first/last button; jump-to button.
5399
5400 * images: New PNG images.
5401
5402 0.44.0
5403
5404 2003-10-15 Filipe Brandenburger <filipe@procergs.rs.gov.br>
5405
5406 * maildrop/message.C (Init): If compiled with CRLF_TERM, account for
5407 CRs in the message size.
5408
5409 2003-10-10 Dmitry Lebkov <dima@sakhalin.ru>
5410
5411 * maildrop/mdldapconfig.c (get_ldap_config): Allow comments in
5412 ldap config file (N/A).
5413
5414 * maildrop/mdmysqlconfig.c (get_mysql_config): Allow comments
5415 in mysql config file. Remove redundant mailstatus field. (N/A)
5416
5417 2003-10-27 Mr. Sam <mrsam@courier-mta.com>
5418
5419 * imap/search.c (search_body_func): Ignore charset conversion errors
5420 when doing a SEARCH (GIGO principle).
5421
5422 2003-10-25 Jon Nelson <jnelson-courier@jamponi.net>
5423
5424 * imapd.c (main): Reset umask before opening the debug file.
5425
5426 2003-10-24 Mr. Sam <mrsam@courier-mta.com>
5427
5428 * courier/doc/links.html: Added link to courier-users.jp
5429
5430 2003-10-21 Mr. Sam <mrsam@courier-mta.com>
5431
5432 * courier/Makefile.am: Respect $(EXEEXT)
5433
5434 * tcpd: Respect $(EXEEXT)
5435
5436 * authlib: Respect $(EXEEXT)
5437
5438 * libhmac: Respect $(EXEEXT)
5439
5440 * rfc2045/testsuite: Fix enable-mimecharset breaking make check.
5441
5442 2003-10-20 Mr. Sam <mrsam@courier-mta.com>
5443
5444 * rfc822/rfc2047u.c (rfc2047_print_unicode): Unicode-aware version of
5445 rfc2047_print().
5446
5447 * webmail/folder.c (showmsgrfc822_addressheader): Use
5448 rfc2047_print_unicode.
5449
5450 2003-10-13 Mr. Sam <mrsam@courier-mta.com>
5451
5452 * imapd.c (imap_addRemoveKeywords): Remove duplicate message sequence
5453 numbers from message list (causes infinite loop due in keyword
5454 support for +FLAGS/-FLAGS).
5455 * maildir/maildirkeywords2.c (read_updates): Ditto.
5456
5457 2003-10-11 Paul L. Allen <pla@softflare.com>
5458
5459 * webmail/sv-make_timezonelist.pl: Autogenerate timezones for the
5460 login dropdown.
5461
5462 2003-10-10 Brian Candler <B.Candler@pobox.com>
5463
5464 * maildir/loginexec.c (maildir_loginexec): Hook for Maildir/loginexec,
5465 if exists it's executed, then removed. Used for migration-type
5466 situations.
5467
5468 * images/sqwebmail.css: Set background colors via the style sheet.
5469
5470 * sqwebmail.c (error3): More informative error messages.
5471
5472 2003-10-05 Mr. Sam <mrsam@courier-mta.com>
5473
5474 * courier/cdfilters.C (dofilter): Try five times to connect to a
5475 filter, before giving up.
5476
5477 * imap/imapscanclient.c (do_imapscan_maildir2): Workaround for
5478 filesystems that keel over if files are deleted in the directory
5479 that's being read at the same time.
5480 * maildir/maildirgetnew.c (do_maildir_getnew): Ditto.
5481
5482 * maildir: Cleanup. Remove config.guess and config.sub.
5483
5484 * pop3dserver.c (main): Replaced scannew with maildir_getnew().
5485
5486 2003-10-02 Mr. Sam <mrsam@courier-mta.com>
5487
5488 * imapd.c: When IMAP_MOVE_EXPUNGE_TO_TRASH is set, be smart and
5489 do not move to Trash a message that's been expunged after it was
5490 copied to another folder.
5491
5492 2003-10-01 Mr. Sam <mrsam@courier-mta.com>
5493
5494 * courier/filters/perlfilter/perlfilter-example.pl: Comments, update
5495 to Perl 5.8, mark as %config in RPM.
5496
5497 2003-09-30 Mr. Sam <mrsam@courier-mta.com>
5498
5499 * courier/submit.C (checkdns): Ignore BOFHCHECKDNS if BLOCK is
5500 already set.
5501
5502 2003-09-29 Mr. Sam <mrsam@courier-mta.com>
5503
5504 * courier/filters/dupfilter.sgml: dupfilter and mailing lists don't
5505 mix.
5506
5507 * maildrop/mio.C: Cleanup. Drop some dead code.
5508
5509 * imapd.c (store_mailbox): Optimize APPEND performance. Based on a
5510 patch by Anssi Raittila <Anssi.Raittila@tecnomen.fi>.
5511
5512 * courier/module.local/localmail.c (wait_delivery): Log the error
5513 message from submit when an internal forward fails.
5514
5515 2003-09-28 courier@asfast.net
5516
5517 * courier/bofh.c (chkusersubdom): bofh badfrom user@.domain rejects
5518 all mail with the return address of <user@anything.domain>.
5519
5520 2003-09-25 Mr. Sam <mrsam@courier-mta.com>
5521
5522 * bdbobj/bdbobj.c (bdbobj_open): Fix dbf_open call for db 3.x
5523
5524 2003-09-22 Mr. Sam <mrsam@courier-mta.com>
5525
5526 * courier/submit2.C (MessageEnd): Do not run localmailfilters against
5527 DSNs.
5528
5529 * webmail/newmsg_create.c (header_wrap): Wrap excessively long
5530 headers to multiple lines.
5531
5532 * webmail/maildir.c (maildir_readheader_mimepart): When folding
5533 multiline headers, replace newline+spaces with a single space.
5534
5535 2003-09-22 Gordon Messmer <yinyang@eburg.com>
5536
5537 * courier.spec.in: Cleanup and reformatting.
5538
5539 2003-09-22 Mr. Sam <mrsam@courier-mta.com>
5540
5541 * imap/smap.c: getenv("MAILDIRQUOTA") as last argument to
5542 maildir_quota_add_start().
5543
5544 2003-09-22 Brian Candler <B.Candler@pobox.com>
5545
5546 * imap/imapd.c: getenv("MAILDIRQUOTA") as last argument to
5547 maildir_quota_add_start().
5548
5549 2003-09-21 Mr. Sam <mrsam@courier-mta.com>
5550
5551 * userdb/makeuserdb.in: Make sure makeuserdb emits a trailing
5552 newline after each processed file.
5553
5554 2003-09-13 Mr. Sam <mrsam@courier-mta.com>
5555
5556 * courier/doc/links.html (href): RAV bought by Microsoft, no more
5557 RAV support.
5558
5559 0.43.2
5560
5561 2003-09-07 Mr. Sam <mrsam@courier-mta.com>
5562
5563 * maildrop/main.C (nouser): Really use EX_NOUSER for undefined
5564 recipients.
5565
5566 2003-09-02 Mr. Sam <mrsam@courier-mta.com>
5567
5568 * courier/submit.C (getsender): Implement BOFHCHECKHELO.
5569
5570 * courier/module.esmtp/courieresmtpd.c (ehlo): If received spaces
5571 in HELO/EHLO, silently change them to underscores.
5572
5573 * courier/module.local/preline.c: Add usage() if no arguments.
5574
5575 2003-09-01 Sergio Gelato <Sergio.Gelato@astro.su.se>
5576
5577 * imap: Set timestamp on new message file after it is moved from tmp
5578 to new.
5579
5580 2003-08-27 Mr. Sam <mrsam@courier-mta.com>
5581
5582 * imap/smap.c (applyflags): Fix SMAP STORE KEYWORDS again.
5583
5584 2003-08-26 Mr. Sam <mrsam@courier-mta.com>
5585
5586 * imap/smap.c (smap): Fix SMAP STORE KEYWORDS.
5587
5588 * Makefile.am (install-check-umask): Check umask before running the
5589 rest of make install.
5590
5591 * tcpd/starttls.c (connect_completed): Initialize
5592 TLS_CONNECTED_PROTOCOL before running the wrapped child process.
5593
5594 * tcpd/libcouriertls.c (tls_connecting): New function checks if
5595 SSL/TLS negotiation is still in progress on a non-blocking socket.
5596
5597 * courier/module.esmtp/courieresmtpd.c (main): If invoked within a
5598 couriertls-wrapped connection, log TLS_CONNECTED_PROTOCOL in headers.
5599
5600 0.43.1
5601
5602 2003-08-19 Mr. Sam <mrsam@courier-mta.com>
5603
5604 * courier/doc/index.html (href): Add link to maildirkw.html
5605
5606 2003-08-18 Mr. Sam <mrsam@courier-mta.com>
5607
5608 * courier/webadmin/admin-35fax.pl: @s in dialing string weren't
5609 shown, sometimes.
5610
5611 * imap/imapd.c (addRemoveKeywords): Do nothing unless keywords are
5612 enabled (fix CPU spin if IMAP_KEYWORDS are manually disabled).
5613
5614 0.43
5615
5616 2003-08-17 Mr. Sam <mrsam@courier-mta.com>
5617
5618 * authlib/authpgsqllib.c (auth_pgsql_getuserinfo): Fix memory
5619 corruption with custom select clause is enabled and long userids.
5620
5621 * authlib/authmysqllib.c (auth_mysql_getuserinfo): Fix memory
5622 corruption with custom select clause is enabled and long userids.
5623
5624 2003-08-12 James A Baker <jabaker@mac.com>
5625
5626 * folder.c (showaddressheader_printsep): Fix message preview.
5627
5628 * html/en-us/index.html: Fix the frameset.
5629
5630 2003-08-09 Mr. Sam <mrsam@courier-mta.com>
5631
5632 * maildrop/main.C (nouser): Use EX_NOUSER for undefined virtual
5633 recipients.
5634
5635 * maildrop/maildir.C (MaildirSave): Use KEYWORDS to initialize
5636 keywords for a maildir message.
5637
5638 * imap/smap: attempt to detect whether someone else modified
5639 keywords while we were doing +KEYWORDS or -KEYWORDS, and, if so,
5640 rerun these commands.
5641
5642 2003-08-09 Brian Candler <B.Candler@pobox.com>
5643
5644 * sqwebmail.c (catch_sig): Ignore signals when running under FastCGI.
5645
5646 2003-08-03 Mr. Sam <mrsam@courier-mta.com>
5647
5648 * Added the maildirkw command+man page.
5649
5650 2003-08-02 Mr. Sam <mrsam@courier-mta.com>
5651
5652 * bdbobj/bdbobj.c (bdbobj_open): Fix for DB 4.1 API.
5653
5654 2003-08-01 Mr. Sam <mrsam@courier-mta.com>
5655
5656 * Moved keyword support code into libmaildir.a. Major cleanup.
5657
5658 2003-07-31 Mr. Sam <mrsam@courier-mta.com>
5659
5660 * imapscanclient.c: Keyword support cleanup.
5661
5662 * imapd.c (bye): Clean up after an aborted APPEND.
5663
5664 2003-07-29 Mr. Sam <mrsam@courier-mta.com>
5665
5666 * authlib/configure.in: Add notice to forward all vpopmail
5667 questions to the vpopmail mailing list.
5668
5669 2003-07-24 James A Baker <jabaker@mac.com>
5670
5671 * authlib/README.authmysql.html: Cleanup.
5672
5673 * authlib/README.authpostgres.html: Cleanup.
5674
5675 * courier/doc/courierd.html: Cleanup.
5676
5677 * courier/doc/FAQ.html: Cleanup.
5678
5679 * courier/doc/history.html: Cleanup.
5680
5681 * courier/doc/index.html: Cleanup.
5682
5683 * gpglib/README.html: Cleanup.
5684
5685 * imap/FAQ.html: Cleanup.
5686
5687 * imap/README.html: Cleanup.
5688
5689 * maildir/README.maildirfilter.html: Cleanup.
5690
5691 * maildir/README.sharedfolders.html: Cleanup.
5692
5693 * maildrop/README.html.in: Cleanup.
5694
5695 * pcp/README.html: Cleanup.
5696
5697 * webmail/html/README_LANG.html.in: Cleanup.
5698
5699 * html/en-us/folder.html: Cleanup.
5700
5701 * html/en-us/quickadd.html: Cleanup.
5702
5703 * html/en-us/newmsg.html: Cleanup.
5704
5705 * html/en-us/eventdelete.html: Cleanup.
5706
5707 * html/en-us/abooklist.html: Cleanup.
5708
5709 * html/en-us/eventdaily.html: Cleanup.
5710
5711 * html/en-us/eventweekly.html: Cleanup.
5712
5713 * html/en-us/login.html: Cleanup.
5714
5715 * html/en-us/ldapsearch.html: Cleanup.
5716
5717 * html/en-us/eventmonthly.html: Cleanup.
5718
5719 * html/en-us/spellchk.html: Cleanup.
5720
5721 * html/en-us/gpgcreate.html: Cleanup.
5722
5723 * html/en-us/keyimport.html: Cleanup.
5724
5725 * html/en-us/gpgerr.html: Cleanup.
5726
5727 * html/en-us/navbar3.inc.html: Cleanup.
5728
5729 * html/en-us/navbar.inc.html: Cleanup.
5730
5731 * html/en-us/navbar2.inc.html: Cleanup.
5732
5733 * html/en-us/print.html: Cleanup.
5734
5735 * html/en-us/calendarlogin.inc.html: Cleanup.
5736
5737 * html/en-us/index.html: Cleanup.
5738
5739 * html/en-us/printnocookie.html: Cleanup.
5740
5741 * html/en-us/empty.html: Cleanup.
5742
5743 * html/en-us/redirect.html: Cleanup.
5744
5745 * html/en-us/printredirect.html: Cleanup.
5746
5747 2003-07-24 Mr. Sam <mrsam@courier-mta.com>
5748
5749 * imapscanclient.c: Create an API layer for the keyword read/update
5750 functionality in imapscan_readKeywords(), divorcing the implementation
5751 from the IMAP-specific data structure, in preparation for moving
5752 the entire logic into the generic maildir library.
5753
5754 * smap.c (createSearch): Added SMAP SEARCH [range] command.
5755
5756 2003-07-23 James A Baker <jabaker@mac.com>
5757
5758 * html/en-us/eventshow.html: Cleanup.
5759
5760 * html/en-us/readmsg.html: Cleanup.
5761
5762 * html/en-us/eventacl.html: Cleanup.
5763
5764 * html/en-us/autoresponder.html: Cleanup.
5765
5766 * html/en-us/invalid.html: Cleanup.
5767
5768 * html/en-us/expired.html: Cleanup.
5769
5770 2003-07-21 Brian Candler <B.Candler@pobox.com>
5771
5772 * webmail/sqwebmail.c (do_output_form_loop): Make bannerprog work with
5773 FastCGI
5774
5775 2003-07-22 Mr. Sam <mrsam@courier-mta.com>
5776
5777 * imap/smap.c (createSearch): Added SMAP SEARCH ALL command.
5778
5779 * testsuite: Replace find with chmod -R, more portable.
5780
5781 2003-07-19 Mr. Sam <mrsam@courier-mta.com>
5782
5783 * imapscanclient.c: Move #define of KEYWORDDIR to maildirwatch.h
5784
5785 * imapd: Plug several memory leaks found by valgrind. One of the
5786 leaks is in libfam. Reported the bug upstream.
5787
5788 * maildirwatch: Use a single FAM connection, where possible, in order
5789 to minimize libfam leak. Open another FAM connection only if the
5790 first one breaks.
5791
5792 * pop3dserver.c (print_uidl): Redo UIDL computation once again.
5793 Version 2 UIDL format is upwards compatible from version 0/1
5794 courierpop3dsizelist formats, preserving legacy UIDLs. See comments
5795 for the description of error recovery from out-of-disk space
5796 (quota-related) issues.
5797
5798 2003-07-18 Brian Candler <B.Candler@pobox.com>
5799
5800 * imap/smaptestsuite: Ignore leading space from wc -l, differs between
5801 platforms.
5802
5803 2003-07-17 Mr. Sam <mrsam@courier-mta.com>
5804
5805 * imapscanclient.c: Rename new keyword update files after installing
5806 a new :list file.
5807
5808 * tcpd/tcpd.c (mksockets): Use AF_INET for binds to IPv4 addresses,
5809 even on IPv6-capable machines.
5810
5811 2003-07-16 Mr. Sam <mrsam@courier-mta.com>
5812
5813 * webmail/sqwebmail.c (fix_xml_header): Emit correct charset in <?xml >
5814 header.
5815
5816 * imap/smap: Implement custom keywords. Custom keywords may be
5817 enabled/disabled in the configuration file. Additionally, error
5818 checking has been tightened up: stuff that used to be tolerated,
5819 such as invalid messages flags, is now reported as an error.
5820
5821 2003-07-14 Jesse Guardiani <jesse@wingnet.net>
5822
5823 * INSTALL.html: Document SQWEBMAIL_IMAGEURL
5824
5825 2003-07-14 James A Baker <jabaker@mac.com>
5826
5827 * webmail/html/en-us/newevent.html: Cleanup.
5828
5829 * webmail/html/en-us/filter.html: Cleanup.
5830
5831 * webmail/html/en-us/preferences.html: Cleanup.
5832
5833 2003-07-14 Mr. Sam <mrsam@courier-mta.com>
5834
5835 * search.c (fill_search_preparse): Make SEARCH parse message flags and
5836 keywords only once, instead of once for each message.
5837 (search_oneatatime): Move main loop of search iteration into a
5838 separate function, which evaluates the search criteria for a given
5839 message only (leave indentation alone, will reindent later).
5840
5841 2003-07-13 Mr. Sam <mrsam@courier-mta.com>
5842
5843 * imapd.c (doNoop): Drop automatic FETCH FLAGS of new messages.
5844
5845 2003-07-09 Mr. Sam <mrsam@courier-mta.com>
5846
5847 * rfc822/imaprefs.c (rfc822_threadmsgrefs): New function takes
5848 an array of References: headers, instead of a single References:
5849 string (merged from the cone tree).
5850
5851 2003-07-09 Jesse Guardiani <jesse@wingnet.net>
5852
5853 * webmail/sqwebmail.c (get_imageurl): Use SQWEBMAIL_IMAGEURL to
5854 override image URL location, determine at compile time.
5855
5856 * sqwebmail.c (do_output_form_loop): [#IMAGEURL#] tag substitutes
5857 URL to the image directory.
5858
5859 2003-07-08 Mr. Sam <mrsam@courier-mta.com>
5860
5861 * courier/module.fax/faxstub.c (VALIDCHAR): Valid characters in
5862 the dialing string include + and -.
5863 (MAXLEN): Expanded maximum dialing string length to 80 characters.
5864 (rwfax): Replace #s with ~s, instead of @s (temporarily).
5865 Replace -s with ,s.
5866 Replace +s with @s.
5867 (rw_del_fax): Plug a memory leak.
5868
5869 * courier/module.fax/faxrc.dist: Update comments.
5870
5871 * courier/module.fax/courierfax.sgml: Update documentation.
5872
5873 2003-07-07 Mr. Sam <mrsam@courier-mta.com>
5874
5875 * rfc2646html.c (rfc2646tohtml_handler): Put back
5876 blockquote type="cite", and use three different background colors
5877 to highlight quoting level, plus some borders to make stuff purty.
5878
5879 2003-07-06 James A Baker <jabaker@mac.com>
5880
5881 * webadmin: HTML output cleanup.
5882
5883 2003-07-04 Mr. Sam <mrsam@courier-mta.com>
5884
5885 * folder.c (charset_warning): Fix null ptr deref if sqwebmail is
5886 misconfigured to use an undefined HTML template character set.
5887
5888 2003-06-30 Brian Candler <B.Candler@pobox.com>
5889
5890 * cgi/cgi.c (cgi_setup_1): FastCGI fix.
5891
5892 2003-06-30 Mr. Sam <mrsam@courier-mta.com>
5893
5894 * courier/doc/courier.sgml: Revise documentation of the
5895 enablefiltering control file.
5896
5897 * courier/libs/moduledel.c: Implement watchdog timer, used for local
5898 mail deliveries.
5899
5900 * courier/module.local/localmail.c (main): Use a separate process
5901 group id for the delivery process, killed by a watchdog timer.
5902
5903 * tcpd/tcpd.c: Typo prevents IPv6 sockets from being created on BSD.
5904
5905 2003-06-25 Mr. Sam <mrsam@courier-mta.com>
5906
5907 * courier/module.esmtp/courieresmtpd.c (ehlo): Do not send extended
5908 reply format to a HELO.
5909
5910 2003-06-24 Mr. Sam <mrsam@courier-mta.com>
5911
5912 * authlib/authdaemond.c (start): Fix authdaemon idle processing.
5913
5914 * courier/doc/courier.sgml: Added documentation on webmail
5915 template files.
5916
5917 2003-06-23 Mr. Sam <mrsam@courier-mta.com>
5918
5919 * webmail/logindomainlist.c (get_defaultdomainfields): Default
5920 SERVER_ADDR and HTTP_HOST, if not set.
5921
5922 * webmail/folder.c (folder_download): Drop quotes around charset
5923 name in the Content-Type: header, apparently mozilla doesn't like that.
5924
5925 * webmail/sqwebmail.c (error): Ditto.
5926 (error2): Ditto.
5927 (output_form): Ditto.
5928
5929 * courier/doc/FAQ.html: New FAQ entry on ESMTP connection delays.
5930
5931 * maildrop/main.C (find_in_ldap): Fix crash if ldap is enabled but
5932 ldapconfig is not installed (does not affect Courier build, only
5933 maildrop standalone).
5934
5935 2003-06-22 Mr. Sam <mrsam@courier-mta.com>
5936
5937 * pop3dserver.c (cmpmsgs): Ignore maildir message flags when sorting
5938 message lists (eliminated dup POP3 downloads after 2003-06-18).
5939
5940 2003-06-20 Mr. Sam <mrsam@courier-mta.com>
5941
5942 * imap/smap.c: Do not use BUFSIZ to size I/O buffers (make check will
5943 fail if BUFSIZ != 8192).
5944
5945 2003-06-20 Mr. Sam <mrsam@courier-mta.com>
5946
5947 * rfc2045/rfc2045reply.c (mkforward): Fix MIME decoding of forwarded
5948 text.
5949
5950 2003-06-18 Mr. Sam <mrsam@courier-mta.com>
5951
5952 * http11/contentlanguage.c (http11_content_charset): Fix return code
5953
5954 2003-06-17 Mr. Sam <mrsam@courier-mta.com>
5955
5956 * webadmin: handle new defaultDelivery setting for LDAP, MySQL,
5957 and PgSQL.
5958
5959 * pop3dserver.c: Generate shorter message UIDs. UIDs based on the
5960 filename may be too long for some clients. Save a counter in
5961 courierpop3dsizelist that is, essentially, an IMAP UID.
5962
5963 2003-06-17 James A Baker <jabaker@mac.com>
5964
5965 * courier/cmlmfetch.C (doindex): HTML output cleanup.
5966
5967 * webmail/logindomainlist.c: HTML output cleanup.
5968
5969 * webmail/rfc2646html.c: HTML output cleanup.
5970
5971 * cgi/cgi.c: HTML output cleanup.
5972
5973 * webmail/token.c: HTML output cleanup.
5974
5975 * webmail/html.c: HTML output cleanup.
5976
5977 2003-06-12 James A Baker <jabaker@mac.com>
5978
5979 * webmail/addressbook.C: HTML output cleanup.
5980
5981 * webmail/pref.C: HTML output cleanup.
5982
5983 * webmail/sqwebmail.C: HTML output cleanup.
5984
5985 * webmail/mailfilter.C: HTML output cleanup.
5986
5987 * webmail/attachments.C: HTML output cleanup.
5988
5989 * webmail/autoresponse.C: HTML output cleanup.
5990
5991 * webmail/gpg.C: HTML output cleanup.
5992
5993 * webmail/sqispell.C: HTML output cleanup.
5994
5995 2003-06-12 James A Baker <jabaker@mac.com>
5996
5997 * webmail/pcp.c: HTML output cleanup.
5998
5999 * webmail/ldaplist.c: HTML output cleanup.
6000
6001 * webmail/newmsg.c: HTML output cleanup.
6002
6003 2003-06-12 James A Baker <jabaker@mac.com>
6004
6005 * webmail/folder.c: HTML output cleanup.
6006
6007 * webmail/sqwebmail.css: cleanup.
6008
6009 2003-06-13 Mr. Sam <mrsam@courier-mta.com>
6010
6011 * gpglib/export.c (libmail_gpg_exportkey): Fix bug that exports all
6012 keys, not just the selected key.
6013
6014 2003-06-12 Mr. Sam <mrsam@courier-mta.com>
6015
6016 * tcpd/tlspasswordcache.c (tlspassword_save): Use EIO instead of
6017 EPROTO (which is not defined everywhere).
6018
6019 * tcpd/configure.in: More thorough check for OpenSSL 0.9.7.
6020
6021 2003-06-11 Mr. Sam <mrsam@courier-mta.com>
6022
6023 * authlib/authldap.schema: Remove duplicate definition of
6024 virtualdomainuser.
6025
6026 * maildir/maildirwatch.c (maildirwatch_alloc): Fix test for error
6027 return from getcwd().
6028
6029 * gpglib/gpglib.h: Added errstatus to libmail_gpg_info.
6030
6031 * gpglib/gpg.c (dogpgsign): Fix a C++ism.
6032
6033 * webmail: Mark default templates as utf-8 preferred, so browsers
6034 that support utf-8 will receive all content in utf-8. Supress
6035 charset conversion warning for utf-8 browsers.
6036
6037 * http11/contentlanguage.c (http11_content_charset): Allow a
6038 comma-separated list in {templatedir}/CHARSET, select the first
6039 charset found in the Accept-Charset: HTTP header.
6040
6041 2003-06-07 Mr. Sam <mrsam@courier-mta.com>
6042
6043 * gpglib/gpg.c (dogpgsign): Fix a C++ism.
6044
6045 2003-06-05 Mr. Sam <mrsam@courier-mta.com>
6046
6047 * tcpd: merge tlspasswordcache from cone's tree.
6048
6049 2003-06-02 Mr. Sam <mrsam@courier-mta.com>
6050
6051 * gpglib cleanup.
6052
6053 + Return an error indication on a fatal error, instead of calling
6054 exit().
6055
6056 + Rename functions to use a consistent naming convention. The two
6057 primary functions are called libmail_gpg_signencode and
6058 libmail_gpg_decode, and both take a structure that provides
6059 the rest of the parameters and callback functions.
6060
6061 + Replace I/O to stdin/stdout with function calls to input and
6062 output functions.
6063
6064 + When signing, do not fork and run reformime in order to convert
6065 8bit text to quoted-printable. Convert it directly, on the fly.
6066
6067 + Finally, wrap the result in a nice API library, and have sqwebmail
6068 invoke the library, instead of forking and running mimegpg.
6069
6070 2003-05-31 Mr. Sam <mrsam@courier-mta.com>
6071
6072 * imap/smap.c (hashdr): Fix c++-ism.
6073
6074 2003-05-29 Mr. Sam <mrsam@courier-mta.com>
6075
6076 * imap/thread.c (thread_ref_callback): Extra argument to
6077 rfc822_threadmsg() specifies message date as time_t.
6078
6079 2003-05-27 Mr. Sam <mrsam@courier-mta.com>
6080
6081 * Added experimental SMAP protocol.
6082
6083 * rfc2045/rfc2045header.c: eat leading space when folding header lines.
6084
6085 2003-05-26 Mr. Sam <mrsam@courier-mta.com>
6086
6087 * courier/ldapaliasdrc.c (readconfigfile): Fix file descriptor leak
6088 in "courierldapaliasd restart".
6089
6090 2003-05-19 Mr. Sam <mrsam@courier-mta.com>
6091
6092 * maildir/README.maildirquota.html: Clarify that lines in maildirsize
6093 are padded to 14 character lengths.
6094
6095 2003-05-18 Mr. Sam <mrsam@courier-mta.com>
6096
6097 * rootcerts/configure.in: Allow custom rootcertdir.
6098
6099 * courier.spec.in: Enable UTF-8 when building RPMs.
6100
6101 * webmail/folder.c (folder_contents): Temporarily reset LC_CTYPE while
6102 we're usign wcwidth().
6103
6104 2003-05-15 "Hatuka*nezumi \(IKEDA Soji\)" <nezumi@jca.apc.org>
6105
6106 * webmail/folder.c (truncate_at): take into account double-width chars.
6107
6108 2003-05-15 Mr. Sam <mrsam@courier-mta.com>
6109
6110 * webmail/folder.c (truncate_at): use wcwidth(), if available.
6111
6112
6113 0.42.2
6114
6115 2003-05-14 Mr. Sam <mrsam@courier-mta.com>
6116
6117 * maildir/maildirdelfolder.c (delsubdir): Sometimes we don't get
6118 an EISDIR, even though we should <sigh>...
6119
6120 2003-05-14 Stefan Hornburg <racke@linuxia.de>
6121
6122 * userdb/makeuserdb.sgml: Fix command names.
6123
6124 2003-05-14 Mr. Sam <mrsam@courier-mta.com>
6125
6126 * unicode/utf7.c: UTF-7 mapping.
6127
6128 * webmail/folder.c (truncate_at): Unicode-aware long text string
6129 truncation.
6130
6131
6132 2003-05-13 Mr. Sam <mrsam@courier-mta.com>
6133
6134 * courier/submit2.C (isbase64text): opt BOFHNOBASE64TEXT rejects
6135 base64-encoded text/plain and text/html content.
6136
6137 0.42.1
6138
6139 2003-05-12 Mr. Sam <mrsam@courier-mta.com>
6140
6141 * courier/cmlmbounce.C (getbounceaddr): Fix bounces.
6142
6143 2003-05-11 James A Baker <jabaker@mac.com>
6144
6145 * courier/webadmin/admin-47webmail.pl: Do not sort logindomainlist,
6146 breaks new enhanced features. Make logindomainlist input area bigger.
6147
6148 2003-05-09 Mr. Sam <mrsam@courier-mta.com>
6149
6150 * courier/makealiases.in (aliasdir): Default aliasdir.
6151
6152 2003-05-08 Mr. Sam <mrsam@courier-mta.com>
6153
6154 * webmail/folder.c: Properly decode MIME-encoded headers.
6155
6156 2003-05-01 Mr. Sam <mrsam@courier-mta.com>
6157
6158 * authlib: split DEFAULTDELIVERY from MAILDIR for LDAP, MySQL, Postgres
6159 (used by courier instead of MAILDIR)
6160
6161 2003-05-01 Mr. Sam <mrsam@courier-mta.com>
6162
6163 * courier/doc: Minor documentation updates.
6164
6165 2003-04-30 Mr. Sam <mrsam@courier-mta.com>
6166
6167 * courier/cdmsgq.C (tmpscan): Must use ReverseFind() instead of
6168 Find(); fixes race if installation directory root path contains a
6169 period.
6170
6171 * webmail/maildir.c (do_msgmove): Do not refuse to remove
6172 multiply-linked message files, probably some cleanup situation after
6173 a crash.
6174
6175 2003-04-29 Mr. Sam <mrsam@courier-mta.com>
6176
6177 * Replace U+0x00A0 in SGML documentation with spaces.
6178
6179 2003-04-27 Mr. Sam <mrsam@courier-mta.com>
6180
6181 * maildir/maildircache.c (maildir_cache_purge): Temporarily reset
6182 SIGCHLD to SIG_DFL while waiting for the purge process to finish.
6183
6184 2003-04-26 Mr. Sam <mrsam@courier-mta.com>
6185
6186 * pcp/pcpd.c (accept_pcpd): Reset child's SIGCHLD to SIG_DFL
6187
6188 2003-04-25 Mr. Sam <mrsam@courier-mta.com>
6189
6190 * gpglib/configure.in: Bless gpg 1.2.1
6191
6192 * maildir/maildirdelfolder.c (maildir_mddelete): A more "thorough"
6193 folder delete.
6194
6195 * webmail/maildir.c (maildir_delete): Use the new maildir_mddelete().
6196
6197 2003-04-23 Mr. Sam <mrsam@courier-mta.com>
6198
6199 * courier/cdmsgq.C (queuescan3): Log message source on submission.
6200
6201 2003-04-23 Rodrigo Severo <rodrigo.lists@fabricadeideias.com>
6202
6203 * authlib/authmysqlrc: Fix comments
6204
6205 2003-04-21 Mr. Sam <mrsam@courier-mta.com>
6206
6207 * Updated toolchain to automake 1.6.3, autoconf 2.57,
6208 libtool 1.4.3, gettext 0.11.4, new Docbook style sheets.
6209
6210 * bdbobj/bdbobj2.c (bdbobj_nextkey): Eliminate 0-length malloc.
6211
6212 2003-04-19 Dmitriy Kuznetsov <eth0@dol.ru>
6213
6214 * maildir/maildirfilter.c (maildir_filter_saverules): webmail:
6215 Do not explicitly set MAILDIRQUOTA -- recent versions of maildrop
6216 take care of this automatically.
6217
6218 2003-04-19 Mr. Sam <mrsam@courier-mta.com>
6219
6220 * courier/ldapaliasd.c (loop): Use SIG_DFL when waiting for child
6221 procs to terminate.
6222
6223 2003-04-18 Mr. Sam <mrsam@courier-mta.com>
6224
6225 * authlib/authmysqllib.c (validateMyPassword): Rename
6226 validate_password to validateMyPassword (MySQL 4 conflict).
6227
6228 2003-04-13 Jesse Guardiani <jesse@wingnet.net>
6229
6230 * sqwebmail.c (do_output_form_loop): Fix logindomainlist.
6231
6232 2003-04-12 Jesse Guardiani <jesse@wingnet.net>
6233
6234 * logindomainlist.c: Enhanced drop-down domain listing on the login
6235 screen.
6236
6237 2003-04-12 Mr. Sam <mrsam@courier-mta.com>
6238
6239 * All beta and releases will now be signed by
6240 http://www.courier-mta.com/KEYS.bin
6241
6242 2003-04-11 Mr. Sam <mrsam@courier-mta.com>
6243
6244 * tcpd: configure and makefile cleanup
6245
6246 2003-04-09 Mr. Sam <mrsam@courier-mta.com>
6247
6248 * authlib/README.authpostgres.html: Documentation updates.
6249
6250 * courier/doc/makehosteddomains.sgml: Documentation updates.
6251
6252 2003-04-04 Mr. Sam <mrsam@courier-mta.com>
6253
6254 * courier.spec.in (Provides): Fix for rpm 4.2
6255
6256 * autoconf 2.57 fixes.
6257
6258 2003-04-03 Mr. Sam <mrsam@courier-mta.com>
6259
6260 * rfc2045/rfc2045.c (content_location): Plug a leak.
6261
6262 * unicode/unicode.c (unicode_xconvert): Plug a memory leak.
6263
6264 * liblock/mail.c (ll_mail_free): Plug a memory leak.
6265
6266 2003-03-22 Brian Candler <B.Candler@pobox.com>
6267
6268 * sqwebmail: FastCGI update.
6269
6270 2003-03-22 Alain NAKACHE <alain@cal.fr>
6271
6272 * authenticate_auth.c (authenticate): Add AUTHSERVICE functionality
6273 to IMAP SASL, and POP3 plain+SASL authentication methods.
6274 * pop3login.c (main): Ditto.
6275
6276 2003-03-21 Mr. Sam <mrsam@courier-mta.com>
6277
6278 * maildir/maildirpurgetmp.c (maildir_purge): Fix maildir_purge(".");
6279
6280 2003-03-20 Mr. Sam <mrsam@courier-mta.com>
6281
6282 * rfc2047.c (rfc2047_encode_callback): Fix MIME encoding of "_".
6283
6284 2003-03-19 Mr. Sam <mrsam@courier-mta.com>
6285
6286 * courier.spec.in (BuildPreReq): Default to /var/www
6287
6288 * imap/imapscanclient.c (imapscanfail): Explicit error message
6289 referring to potential fam daemon problems.
6290 (imapscanfail): Include login id in error message.
6291
6292 * unicode/iso2022jp.c (read_jis_char): Fix various bugs that result
6293 in crashes, as a result of invalid character sequences.
6294
6295 2003-03-19 James A Baker <jabaker@mac.com>
6296
6297 * configure.in: Search additional directories for mime.types
6298
6299 0.42
6300
6301 2003-03-12 Mr. Sam <mrsam@courier-mta.com>
6302
6303 * courier/submit2.C: Rephrase wording in message content errors to
6304 place more onus on the buggy software that generated the invalid
6305 content.
6306
6307 2003-03-11 Mr. Sam <mrsam@courier-mta.com>
6308
6309 * rfc1035/configure.in: Grok Solaris 8 IPv6 header files.
6310
6311 2003-03-10 "Håvard Lygre" <hklygre@online.no>
6312
6313 * authlib/authmysqllib.c (auth_mysql_getuserinfo): Fix NULL ptr result
6314 from mysql.
6315
6316 2003-03-10 Mr. Sam <mrsam@courier-mta.com>
6317
6318 * imapscanclient.c (do_imapscan_maildir2): Create tmp file for the new
6319 courierimapuiddb in the folder's tmp dir.
6320
6321 * maildrop/maildropex.sgml: Fix typo.
6322
6323 2003-03-09 James A Baker <jabaker@mac.com>
6324
6325 * numlib/strhdevt.c: OS/X Linker bug.
6326
6327 2003-03-07 Mr. Sam <mrsam@courier-mta.com>
6328
6329 * courier/courierd.C (courierbmain): Create new configuration setting,
6330 queuefill, to force a queue refill a given number of seconds after
6331 the queue is filled to the high watermark level.
6332
6333 * tcpd/libcouriertls.c (tls_transfer): Fix error recovery - an aborted
6334 connection negotiation may result in an infinite loop with some
6335 versions of OpenSSL.
6336
6337 2003-03-06 Mr. Sam <mrsam@courier-mta.com>
6338
6339 * maildir/maildirpurgetmp.c (maildir_purge): Adjust quota when
6340 autopurging Trash --with-trashquota.
6341
6342 * rfc2045/configure.in: rename config.h to rfc2045_config.h
6343
6344 * unicode/configure.in: rename config.h to unicode_config.h
6345
6346 2003-03-04 Mr. Sam <mrsam@courier-mta.com>
6347
6348 * rfc2045/rfc2045encode.c (rfc2045_encode_autodetect_fp): Bump line
6349 limit for non-encoded text to 990 chars.
6350
6351 * webadmin/webadmin.pl.in: Comment fix.
6352
6353 2003-03-01 Mr. Sam <mrsam@courier-mta.com>
6354
6355 * webmail/autoresponse.c (read_headers): Use rfc2045_parse_partial() to
6356 properly size-up content without trailing newlines.
6357
6358 * webmail/folder.c: Ditto.
6359
6360 * cgi/cgi.c (cgi_formdata): Ditto.
6361
6362 * rfc2045/reformime.c (read_message): Ditto.
6363
6364 * rfc2045/rfc2646create.c (rfc2646create_free): Emit the trailing
6365 newline.
6366
6367 * configure.in: Conditionally probe if SA_NOCLDWAIT could be used.
6368
6369 * rfc2045/pcpd.c (start): Use SA_NOCLDWAIT, if blessed by configure.
6370
6371 * courier/ldapaliasd.c (loop): Use SA_NOCLDWAIT, if blessed.
6372
6373
6374 2003-02-26 Mr. Sam <mrsam@courier-mta.com>
6375
6376 * pop3dserver.c (savepop3dlist): Recover from out-of-disk-space
6377 situation.
6378
6379 * imapd.dist.in (IMAP_TRASHFOLDERNAME): Explain how purging works.
6380
6381 * authlib/success.c (authsuccess): More clear error message.
6382
6383 2003-02-22 Mr. Sam <mrsam@courier-mta.com>
6384
6385 * courier/doc/Makefile.am (install-man-extra): someone's choking
6386 on 'ln -s -f'.
6387
6388 2003-02-22 Toshikazu Ichikawa <ichikawa@toshikazu.org>
6389
6390 * unicode/iso2022jp.pl: iso2022jp update.
6391
6392 2003-02-19 Mr. Sam <mrsam@courier-mta.com>
6393
6394 * imap/imapd.c (do_expunge): Autocreate INBOX.Trash only if
6395 IMAP_MOVE_EXPUNGE_TO_TRASH is enabled.
6396
6397 2003-02-17 Mr. Sam <mrsam@courier-mta.com>
6398
6399 * imap/imapd.c (do_imap_command): Transform a DELETE of a shared folder
6400 to an UNSUBSCRIBE.
6401 (do_imap_command): STATUS won't autosubscribe to a shared folder.
6402
6403 * authenticate_auth.c (send_auth_reply): Fix SASL response to empty
6404 client input.
6405
6406 2003-02-17 Kurt Bigler <kkb@breathhost.net>
6407
6408 * HTML template cleanup.
6409
6410 2003-02-15 Mr. Sam <mrsam@courier-mta.com>
6411
6412 * webmail/folder.c (folder_list): Recalculate maildir quota after
6413 a DELETE or RENAME (new function: maildir_quote_recalculate).
6414
6415 2003-02-15 Mr. Sam <mrsam@courier-mta.com>
6416
6417 * msgenvelope.c (msgenvelope): Default reply-to and sender
6418 headers in ENVELOPE reply to the from header (partially reverting
6419 2002-08-26, which fixed Pine's misbehavior, but broke Mulberry).
6420
6421 2003-02-12 Mr. Sam <mrsam@courier-mta.com>
6422
6423 * INSTALL: Document that --with-trashquota breaks make check.
6424 imap/configure.in: If any option is used which is known to break
6425 make check, issue a friendly error message telling the organic
6426 entity to rerun configure without those options.
6427
6428 * imaplogin.c (main): Add [CAPABILITY] tag to the initial greeting.
6429
6430 * imapd.c (do_imap_command): Recalculate maildir quota after
6431 a DELETE or RENAME (new function: maildir_quote_recalculate).
6432
6433 2003-02-11 Kurt Bigler <kkb@breathhost.net>
6434
6435 * webmail: HTML template cleanup.
6436
6437 2003-02-09 dave@britiany.com
6438
6439 * imap/search.c (search_internal): Optimize SORT by not parsing the
6440 entire message, when we only want the headers.
6441
6442 2003-02-09 Mr. Sam <mrsam@courier-mta.com>
6443
6444 * maildir/maildirwatch.c: Fix timeout.
6445
6446 2003-01-30 Mr. Sam <mrsam@courier-mta.com>
6447
6448 * rfc2045/rfc2045encode.c: clean up base64/qp encoding.
6449
6450 * tcpd/configure.in: Handle kerberized openssl 0.9.7
6451
6452 * configure.in: Fix search path for binaries.
6453
6454 0.41
6455
6456 2003-01-26 Mr. Sam <mrsam@courier-mta.com>
6457
6458 * folder.c (download_func): Fix platforms with broken putchar()s.
6459
6460 * Final maildir creation revision.
6461
6462 * maildrop/message.h (MessageSize): Fix estimated message size.
6463
6464 * authlib/authmysqllib.c (append_username): Same fix as authpgsqllib,
6465 even though mysql does not need it.
6466
6467 2003-01-23 Mr. Sam <mrsam@courier-mta.com>
6468
6469 * authlib/authpgsqllib.c (append_username): Escape 's too.
6470
6471 * imapd.c (main): Implement IMAP UIDPLUS (RFC 2359)
6472 (do_imap_command): Reset renamed folders' UIDVs.
6473
6474 * imapd.dist.in (IMAP_CAPABILITY): Add UIDPLUS
6475
6476 2003-01-19 Mr. Sam <mrsam@courier-mta.com>
6477
6478 * maildir/maildircreate.c: Removed old maildir creation code.
6479
6480 * courier/module.local/deliver.c: New maildir creation code.
6481
6482 * maildir/maildirfilter2.c: New maildir creation code.
6483
6484 * images/sqwebmail.css: Cleanup.
6485
6486 * pcp.c: New maildir creation code.
6487
6488 * ldaplist.c: New maildir creation code.
6489
6490 * folder.c: New maildir creation code.
6491
6492 * maildir.c: New maildir creation code.
6493
6494 * maildir/maildircreateh.c: Optimizations.
6495
6496 2003-01-17 Mr. Sam <mrsam@courier-mta.com>
6497
6498 * imapd.c (maildir_mkfilename): Fix maildir_mkfilename().
6499
6500 * storeinfo.c (copy_message): Use fixed maildir_mkfilename().
6501
6502 * imapscanclient.c (imapscan_maildir): Convert to the new maildir
6503 creation library.
6504 (do_imapscan_maildir2): Ditto.
6505
6506 * maildir/maildirshared.c: Convert to the new maildir creation
6507 library.
6508
6509 * pop3dserver.c (savepop3dlist): Converted to the new maildir
6510 creation library.
6511
6512 2003-01-16 Mr. Sam <mrsam@courier-mta.com>
6513
6514 * maildir/deliverquota: Initial implementation of new maildir
6515 creation library. Converted deliverquota.
6516
6517 2003-01-14 Mr. Sam <mrsam@courier-mta.com>
6518
6519 * courier/module.local/deliver.c (savemessage): Use maildir_movetmpnew.
6520
6521 * webmail/maildir.c (do_msgmove): Use maildir_movetmpnew.
6522 (maildir_closemsg): Use maildir_movetmpnew.
6523
6524 * imap/storeinfo.c (copy_message): Use maildir_movetmpnew.
6525
6526 * imap/imapd.c (store_mailbox): Use maildir_movetmpnew.
6527
6528 * maildir/deliverquota.c (deliver): Use maildir_movetmpnew.
6529
6530 * maildir/maildircreateh.c (maildir_try_create_hostname): Include
6531 microseconds in message filename.
6532 (maildir_movetmpnew): Encapsulate move from tmp to new by trying
6533 link first, and only if it fails with exdev try rename.
6534
6535 2003-01-08 Mr. Sam <mrsam@courier-mta.com>
6536
6537 * imap/imapd.c (main): imapd --version prints my version.
6538
6539 * POP3: Create courierpop3dsizelist to cache POP3-sizes of
6540 individual messages.
6541
6542 2003-01-04 Mr. Sam <mrsam@courier-mta.com>
6543
6544 * all: cleanup: rename function groups to a consistent namespace.
6545
6546 2003-01-03 Mr. Sam <mrsam@courier-mta.com>
6547
6548 * courier.spec.in: Really fix the spec file.
6549
6550 2003-01-03 "Thomas T. Thai" <tom@minnesota.com>
6551
6552 * Custom query patch for authpgsql
6553
6554 0.40.2
6555
6556 2002-12-23 Mr. Sam <mrsam@courier-mta.com>
6557
6558 * imap/configure.in: Use ulimit -v instead of ulimit -d, if available.
6559
6560 * courier.spec.in (case): Don't officially package /etc/userdb,
6561 if custom site install replaces it with a file, it gets deleted on
6562 upgrades.
6563
6564 * rfc2047.c (rfc2047_encode_callback): Fix hang on
6565 locales where isspace(U+0x00A0) is true.
6566
6567 2002-12-11 Brian Candler <B.Candler@pobox.com>
6568
6569 * tcpd/tcpd.c: couriertcpd -denymsg option
6570
6571 2002-12-11 John D. Rowell <jdrowell@exerciseyourbrain.com>
6572
6573 * md5/md5_hash.c: Rename md5_has to md5_hash_courier (namespace
6574 conflict with postgres).
6575
6576 2002-12-11 Mr. Sam <mrsam@courier-mta.com>
6577
6578 * courier/sendmail.c (main): Expliticitly reset SIGCHLD.
6579
6580 * courier/submit2.C (MessageEnd): Fix 8bit char test (results in an
6581 incorrect MAIL FROM with 8BITMIME extension).
6582
6583 * courier/module.local/local.c (rw_del_local): Explicitly reject
6584 null local address. Fixes an uninitialized ptr dereference.
6585
6586 2002-12-01 Mr. Sam <mrsam@courier-mta.com>
6587
6588 * courier/doc: updated sgml2html and sgml2man. Added manpage.css.
6589
6590 2002-11-25 Mark Anthony Lisher <markal@markal.net>
6591
6592 * imaptoken.c (nexttoken_nouc_okbracket): LOGIN parsing patch.
6593
6594 2002-11-23 John Morrissey <jwm@horde.net>
6595
6596 * Add -w option to maildrop by moving quota warning code from
6597 deliverquota to libmaildir.a, and reusing it.
6598
6599 2002-11-21 Mr. Sam <mrsam@courier-mta.com>
6600
6601 * courier/module.local/localmail.c (wait_delivery): handle exit
6602 code 100 from .courier-invoked programs as a hard error.
6603
6604 2002-11-17 Mr. Sam <mrsam@courier-mta.com>
6605
6606 * unicode/mkultcase.pl: Fix titlecase mapping.
6607
6608 * unicode: all unicode functions now receive the ptr to the unicode
6609 structure as their first argument. Added a flags field to the unicode
6610 structure to describe charset properties (multibyte, utf, uses shift
6611 sequences...)
6612
6613 2002-11-17 Dr. Peter Bieringer <pb@bieringer.de>
6614
6615 * html/en-us/quickadd.html: <title> fix.
6616
6617 2002-11-17 Mr. Sam <mrsam@courier-mta.com>
6618
6619 * courier/makealiases.in (xaliaspfix): Fix.
6620
6621 2002-11-11 Mr. Sam <mrsam@courier-mta.com>
6622
6623 * html/en-us/preferences.html: Remove double-dashes in the comment
6624 to fix some stupid mozilla parser bug.
6625
6626 0.40.1
6627
6628 2002-11-10 Mr. Sam <mrsam@courier-mta.com>
6629
6630 * courier/module.local/deliver.c (savemessage): Make mbox deliveries
6631 work again.
6632
6633 2002-11-07 Mr. Sam <mrsam@courier-mta.com>
6634
6635 * imapscanclient.c (imapscan_maildir): Recover if FAM dies.
6636
6637 * webmail/html/en-us: Typos
6638
6639 2002-11-05 Mr. Sam <mrsam@courier-mta.com>
6640
6641 * courier/doc/links.html: #courier on irc.freenode.net
6642
6643 * rfc2045/rfc2045acchk.c (rfc2045_ac_check): Check for a NULL
6644
6645 0.40
6646
6647 2002-10-31 Aki Immonen <aki@golftalma.fi>
6648
6649 * imapd.c (main): Configurable Trash Folder Name.
6650
6651 2002-10-31 Christian Hammers <ch@westend.com>
6652
6653 * maildir.c (maildir_save_start): More verbose logging messages
6654
6655 2002-10-30 Mr. Sam <mrsam@courier-mta.com>
6656
6657 * courier/webadmin/admin-30esmtp.html (alink): ORBZ is now dead.
6658
6659 2002-10-29 Mr. Sam <mrsam@courier-mta.com>
6660
6661 * courier.spec.in (BuildPreReq): Add pgsql-devel and mysql-devel
6662 build prereqs.
6663
6664 2002-10-25 Mr. Sam <mrsam@courier-mta.com>
6665
6666 * courier/pop3d.in: Fix initscripts, again.
6667
6668 * pop3dcapa.c (pop3dcapa): It's STLS.
6669
6670 * webmail/sqwebmail.c (main2): Drop root privs before showing
6671 invalid.html and printnocookie.html
6672
6673 0.40.0
6674
6675 2002-10-24 Mr. Sam <mrsam@courier-mta.com>
6676
6677 * courier/imapd-ssl.rc.in (bindir): Set bindir.
6678
6679 2002-10-23 Mr. Sam <mrsam@courier-mta.com>
6680
6681 * imap/thread.c (printthread): Fix THREAD REFERENCES.
6682
6683 2002-10-18 Mr. Sam <mrsam@courier-mta.com>
6684
6685 * tcpd/libcouriertls.c (cache_add): Fix compiler warning.
6686
6687 * userdb/userdb.c (userdb_getu): Fix compiler warning.
6688 (userdb_gets): Fix compiler warning.
6689
6690 * rfc1035/rfc1035.c (mkpacketq_full): Fix compiler warning.
6691
6692 2002-10-16 Mr. Sam <mrsam@courier-mta.com>
6693
6694 * courier/module.*/configure.in: Fix broken configures
6695
6696 2002-10-15 Mr. Sam <mrsam@courier-mta.com>
6697
6698 * authlib/debug.c (auth_debug_login_init): Make it work if
6699 DEBUG_LOGIN_ENV is not set.
6700
6701 2002-10-14 Olivier Girondel <olivier.girondel@cw.com>
6702
6703 * authlib/authldaplib.c (authldap_read_config): LDAP_FILTER fix.
6704
6705 2002-10-14 Mr. Sam <mrsam@courier-mta.com>
6706
6707 * maildir/maildirwatch.h: Fix include file.
6708
6709 * courier.spec.in: Explicitly define the %configure macro.
6710
6711 2002-10-13 Mr. Sam <mrsam@courier-mta.com>
6712
6713 * imapd.c (imapenhancedidle): Added libfam-based IDLE implementation.
6714 Updated man page.
6715
6716 2002-10-10 Mr. Sam <mrsam@courier-mta.com>
6717
6718 * courier/module.local/deliver.c: Implemented --with-dirsync
6719
6720 * courier/module.local/deliver.c: Use new dotlocking code for
6721 delivery to mboxes.
6722
6723 * courier/module.local/deliver.c: Fix error reporting of maildir
6724 deliveries.
6725
6726 2002-10-07 Mr. Sam <mrsam@courier-mta.com>
6727
6728 * Major toolchain upgrade - gcc 3.2, automake 1.6, autoconf 2.53,
6729 libtool 1.4.
6730
6731 2002-10-05 Mr. Sam <mrsam@courier-mta.com>
6732
6733 * rfc1035/rfc1035ifconf.c: Fix infinite loop if same IP address
6734 is assigned to multiple interfaces.
6735
6736 2002-10-03 Mr. Sam <mrsam@courier-mta.com>
6737
6738 * maildir/*.c: various cleanups.
6739
6740 * maildir/maildirsearch.h: use std namespacing.
6741
6742 2002-10-02 Mr. Sam <mrsam@courier-mta.com>
6743
6744 * courier/submit: new configure switch --with-dirsync
6745
6746 * maildrop/maildir.C (MaildirSave): ditto.
6747
6748 * imap/imapd.c: ditto
6749
6750 2002-09-30 Ragnar Kurm <ragnar@uninet.ee>
6751
6752 * imap/pop3: Added DEBUG_LOGIN_ENV to imap and pop3 config files that
6753 produces additional login diagnostics.
6754
6755 2002-09-28 Mr. Sam <mrsam@courier-mta.com>
6756
6757 * imapd.c (noop): Return updated message flags if called within IDLE,
6758 even with workaround enabled.
6759
6760 * courier-imap.spec.in: add fam-devel to build-prereq.
6761
6762 * IMAP_USELOCKS: Switch from flocks to dotlocks. Time out stale
6763 network dotlocks after 120 seconds. Use FAM, if available, while
6764 waiting on a dotlock file to go away. Update config file comments.
6765
6766 * maildir/maildirwatch.[ch]: Abstraction layer wrapping SGI's
6767 File Alteration Monitor, if it's available.
6768
6769 * imapd.c (do_imap_command): Handle IDLE in authenticated state as,
6770 essentially, a NOOP. Enable IDLE in the default CAPABILITIES
6771 string (but keep the same version string, so sysconftool will not
6772 touch an existing CAPABILITIES setting on an upgrade).
6773
6774 2002-09-25 Mr. Sam <mrsam@courier-mta.com>
6775
6776 * html: Amaya 6.4 is out. iso-8859-1 0xA0 chars replaced with
6777
6778 2002-09-21 Mr. Sam <mrsam@courier-mta.com>
6779
6780 * autobloat: check for gmake, check for gcc in top level makefile.
6781
6782 2002-09-20 Mr. Sam <mrsam@courier-mta.com>
6783
6784 * reformime, makemime: implemented RFC 2231-parsing of Content-Type:
6785 and Content-Disposition: headers. Other related changes in the imap
6786 and webmail code.
6787
6788 2002-09-18 Mr. Sam <mrsam@courier-mta.com>
6789
6790 * courier/pop3d-ssl.in (bindir): Fix bindir initialization.
6791
6792 2002-09-14 Mr. Sam <mrsam@courier-mta.com>
6793
6794 * courier/module.esmtp/esmtpclient.c (sendesmtp): Disable MX loopback
6795 check if the IP address was fished out of esmtproutes.
6796
6797 * pop3login.c (main): Allow spaces in POP3 login id and password.
6798
6799 2002-09-10 Alessandro Vesely <vesely@tana.it>
6800
6801 * authlib/authdaemond.c: Fix error logging.
6802
6803 2002-09-10 Mr. Sam <mrsam@courier-mta.com>
6804
6805 * liblock/lockmail.c (main): More lockmail fixes.
6806
6807 2002-09-09 Mr. Sam <mrsam@courier-mta.com>
6808
6809 * imap/search.c (fill_search_veryquick): Fix search for \Draft
6810
6811 2002-09-07 Mr. Sam <mrsam@courier-mta.com>
6812
6813 * authlib/authdaemond.c (idlefunc): Renamed idle() to idlefunc() -
6814 name clash with old libc.
6815
6816 * courier/bofh.c (chkbadlist): @.domain.tld will match
6817 foo@anything.domain.tld
6818
6819 2002-09-06 Mr. Sam <mrsam@courier-mta.com>
6820
6821 * courier/doc/links.html: Started a section on virus scanners.
6822
6823
6824 2002-09-05 Mr. Sam <mrsam@courier-mta.com>
6825
6826 * authlib/authdaemond.c (start): Rename idle() to idlefunc().
6827
6828 * tcpd/starttls.c (dump_x509): Print not-before and not-after
6829 timestamps.
6830
6831 * Replaced dotlock with lockmail.
6832
6833 2002-08-29 "Binand Raj S." <binand@gmx.net>
6834
6835 * courier/module.esmtp/courieresmtpd.c: Fix EXDATA detection.
6836
6837 2002-08-28 Mr. Sam <mrsam@courier-mta.com>
6838
6839 * pop3: For completeness sake, implement POP3 STLS.
6840
6841 2002-08-26 Mr. Sam <mrsam@courier-mta.com>
6842
6843 * imap/msgenvelope.c (msgenvelope): Do not default reply-to and sender
6844 headers in ENVELOPE reply to the from header, and do not default
6845 the name to the address if the name is not specified for an address.
6846
6847 2002-08-24 Mr. Sam <mrsam@courier-mta.com>
6848
6849 * http11/contentlanguage.c (parse_accept_language): Fix
6850 Accept-Language: header parsing.
6851
6852 2002-08-23 Mr. Sam <mrsam@courier-mta.com>
6853
6854 * webmail: Added an option to request delivery confirmation receipts.
6855
6856 2002-08-21 Mr. Sam <mrsam@courier-mta.com>
6857
6858 * esmtp/tls: move tlsclient.c and tlsclient.h into a separate
6859 library module that gets built even if openssl support is not
6860 available (cleanest way to fix courieresmtp).
6861
6862 * maildrop/maildir.C (MaildirOpen): Clean up temp file if delivery
6863 to maildir goes over quota.
6864
6865 2002-08-19 Mr. Sam <mrsam@courier-mta.com>
6866
6867 * authlib/authdaemond.c (start): After 5 mins of inactivity call
6868 the newly-defined module 'idle' function.
6869
6870 * courier/ldapaliasd.c (child): Close ldap connection after 5 mins
6871 of inactivity.
6872
6873 2002-08-12 Mr. Sam <mrsam@courier-mta.com>
6874
6875 * tcpd/libcouriertls.c: fix error reporting (esp at shutdown)
6876
6877 * maildir/maildirsearch.h: added a C++ wrapper.
6878
6879 * imap/utf8.c: cleanup, exposed internal unicode-to-utf8 conversion
6880 function.
6881
6882 2002-08-11 Mr. Sam <mrsam@courier-mta.com>
6883
6884 * imap: cleanup: extracted text search macros into a separate module
6885 in the maildir directory (for potential code reuse).
6886
6887 2002-08-11 Brian Candler <B.Candler@pobox.com>
6888
6889 * imap/pop3: initscripts/*.in: fix paths.
6890
6891 2002-08-11 Mr. Sam <mrsam@courier-mta.com>
6892
6893 * maildrop/maildrop.sgml: Typo.
6894
6895 2002-08-11 Alessandro Vesely <vesely@tana.it>
6896
6897 * authlib/authmysqllib.c (validate_password): Fix password change
6898 buffer overflow.
6899
6900 2002-08-08 Mr. Sam <mrsam@courier-mta.com>
6901
6902 * rfc2047.c (rfc2047_encode_callback): Fix MIME encoding of words
6903 with = and ? characters.
6904
6905 0.39.3
6906
6907 2002-08-07 Mr. Sam <mrsam@courier-mta.com>
6908
6909 * tcpd/libcouriertls.c (tls_destroy): it looks like SSL_CTX_free
6910 might invoke the ssl/tls cache call. Free tls_info after
6911 SSL_CTX_free comes back. Explicitly call SSL_CTX_flush_sessions to
6912 work around a bug in OpenSSL which blows away application data prior
6913 to calling SSL_CTX_flush_sessions in SSL_CTX_free().
6914
6915 2002-08-05 Mr. Sam <mrsam@courier-mta.com>
6916
6917 * courier.spec.in: Fix %is_not_mandrake.
6918
6919 0.39.2
6920
6921 2002-08-01 Mr. Sam <mrsam@courier-mta.com>
6922
6923 * courier/ldapaliasd.c (sigalarm): Reestablish handlers for SIGHUP
6924 and SIGALRM, after catching those signals.
6925
6926 * tcpd/tcpd.c (sighup): Reestablish handler for SIGHUP, after catching
6927 it.
6928
6929 2002-07-28 Mr. Sam <mrsam@courier-mta.com>
6930
6931 * courier.spec.in (BuildPreReq): Typo fix.
6932
6933 2002-07-26 Mr. Sam <mrsam@courier-mta.com>
6934
6935 * ldapaddressbook/abooksearch.c (ldapabook_search): Fix ldapsearch
6936 option.
6937
6938 * authlib/configure.in: Fix invocation of pg_config.
6939
6940 * authlib/authsyschangepwd.c (dochangepwd): Call setsid() and
6941 setlogin() on OpenBSD (make webmail passwd change work).
6942
6943 2002-07-24 Mr. Sam <mrsam@courier-mta.com>
6944
6945 * courier/cmlmbounce.C: Ignore case of bounce tokens.
6946
6947 2002-07-15 Mr. Sam <mrsam@courier-mta.com>
6948
6949 * tcpd/tlscache.c (doadd): Fix tlscache file corruption on platforms
6950 where sizeof(off_t) != sizeof(size_t).
6951
6952 2002-07-14 Mr. Sam <mrsam@courier-mta.com>
6953
6954 * maildir/maildirquota.c (maildir_quota_delundel_end): Typo fix.
6955
6956 * libcouriertls: By George, I think I've got it. Implement
6957 orderly SSL/TLS session shut down. The libcouriertls library is now
6958 fully event-driven; SSL/TLS errors are properly reported; an error
6959 is reported if the SSL/TLS connection was closed without an orderly
6960 shut down.
6961
6962 2002-07-13 Mr. Sam <mrsam@courier-mta.com>
6963
6964 * courier/cmlmcleanup.C (cmdhourly): Use mtime instead of atime to
6965 check for moderation reminders.
6966
6967 * libcouriertls: The saga continues. Suppress whining on
6968 SSL_ERROR_ZERO_RETURN
6969
6970 2002-07-12 Mr. Sam <mrsam@courier-mta.com>
6971
6972 * couriertls: more cleanup, better error reporting.
6973
6974 * esmtpclient: fix /SECURITY.
6975
6976 * couriertls: Fix tlscache make check
6977
6978 2002-07-11 Mr. Sam <mrsam@courier-mta.com>
6979
6980 * courier/module.esmtp/esmtpclient.c (starttls): couriertls cleanup
6981 got rid of -verifyfailmsg.
6982
6983 * authlib/Makefile.am: cleanup - move changeuidgid.c to numlib.
6984
6985 * couriertls: cleanup.
6986
6987 * maildir/README.maildirquota: clarify maildirsize format.
6988
6989 * webadmin: orbl.org is dead.
6990
6991 2002-07-10 Mr. Sam <mrsam@courier-mta.com>
6992
6993 * tcpd/configure.in (LIBCOURIERTLS): Disable building libcouriertls.a,
6994 in addition to couriertls, if openssl-devel is not installed.
6995
6996 2002-07-09 Mr. Sam <mrsam@courier-mta.com>
6997
6998 * Renamed logger to courierlogger
6999
7000 2002-07-07 Yu Kobayasi <mail@yukoba.jp>
7001
7002 * shift-JIS encoding. Search in iso-2022-jp and shift-JIS.
7003
7004 2002-07-07 Mr. Sam <mrsam@courier-mta.com>
7005
7006 * courier.spec.in (case): Merge courier-sendmail-wrapper into
7007 main courier RPM if alternatives scripts are present.
7008
7009 2002-07-06 Mr. Sam <mrsam@courier-mta.com>
7010
7011 * webmail: Bless GnuPG 1.0.7; add a dropdown to set the keysig trust
7012 level.
7013
7014 2002-06-30 Mr. Sam <mrsam@courier-mta.com>
7015
7016 * rfc1035/rfc1035.c: Use a random number generator to initialize the
7017 ID field on DNS queries
7018
7019 * imap/fetch.c (dofetchmsgbody): Fix BODY[n] for message/rfc822 MIME
7020 sections.
7021
7022 2002-06-29 Mr. Sam <mrsam@courier-mta.com>
7023
7024 * pcp: Refreshed to gettext 0.11.1-2
7025
7026 2002-06-27 Mr. Sam <mrsam@courier-mta.com>
7027
7028 * courier/doc: make web icon show up in Mozilla 1.0
7029
7030 2002-06-25 Alexander Skwar <lists.ASkwar@DigitalProjects.com>
7031
7032 * courier.spec.in: spec file fixes for Mandrake.
7033
7034 2002-06-24 Mr. Sam <mrsam@courier-mta.com>
7035
7036 * rfc1035: added rfc1035_ifconf(), an interface to SIOCGIFCONF
7037
7038 * courier/module.esmtp/courieresmtp.c: use SIOCGIFCONF to improve
7039 MX loop detection.
7040
7041 2002-06-23 Mr. Sam <mrsam@courier-mta.com>
7042
7043 * couriertls: code cleanup of the SSL/TLS wrapper. Code cleaned up
7044 and modularized as libcouriertls.a, with a mini-API library.
7045 Implemented SSL/TLS session caching.
7046
7047 * imapd.dist, pop3d.dist: new configuration settings for the
7048 SSL/TLS session cache file.
7049
7050 0.39.1
7051
7052 2002-06-27 Mr. Sam <mrsam@courier-mta.com>
7053
7054 * authlib/authldaplib.c: Fix null ptr deref in new LDAP_MAILROOT
7055 code.
7056
7057 0.39
7058
7059 2002-06-22 Mr. Sam <mrsam@courier-mta.com>
7060
7061 * courier/webadmin/admin-30esmtp.pl (parsebl): Typo fix.
7062
7063 2002-06-19 Mr. Sam <mrsam@courier-mta.com>
7064
7065 * courier/filters/courierfilter.c (start): Close old stdout before
7066 starting filter child processes.
7067
7068 * webmail/pcp.c (do_login): Squash bad error message if initial
7069 groupware calendar login fails for some reason.
7070
7071 * courier.spec/README: ... and the initial groupware calendar
7072 login was failing on platform that use PAM because PAM needs to
7073 be configured to authenticate the "calendar" service. Updated the
7074 RPM spec file to set this up, and update pcp/README to indicate that.
7075
7076 * courier.spec - updated to install actual files in /etc/pam.d,
7077 instead of soft links, this is cleaner. Also, install updated
7078 pop3/imap files that use the system-auth PAM module, where available.
7079
7080 2002-06-17 Mr. Sam <mrsam@courier-mta.com>
7081
7082 * maildir/maildirfilter.c: Fix FROM being incorrectly set for mailbot
7083 autoreplies.
7084
7085 * maildir/maildirfilter.c: Do not use the -t flag when running
7086 SENDMAIL to forward a message.
7087
7088 2002-06-13 Mr. Sam <mrsam@courier-mta.com>
7089
7090 * maildir/maildirquota.h: Renamed maildirsize struct member to
7091 maildirsizefile - some compiler is having a cow about a struct member
7092 having the same name as the struct.
7093
7094 * imap/outbox.c (check_outbox): Bug fix.
7095
7096 2002-06-12 Mr. Sam <mrsam@courier-mta.com>
7097
7098 * maildir/maildirquota.c (do_maildir_openquotafile): Fix quotas
7099 on FreeBSD (fcntl("/dev/null", F_SETFL) doesn't work on FreeBSD)
7100
7101 * authlib/cryptpassword.c: Added missing include of stdlib.h
7102
7103 2002-06-11 Mr. Sam <mrsam@courier-mta.com>
7104
7105 * authlib/authldaprc: Added LDAP_MAILROOT
7106
7107 2002-06-09 Mr. Sam <mrsam@courier-mta.com>
7108
7109 * numlib/strofft.c: off_t may be negative.
7110
7111 * +++ maildirquota API update +++
7112
7113 + allows documented way to change the set quota on a maildir
7114
7115 + major internal cleanup, established a sane API library
7116
7117 External changes:
7118
7119 + quota no longer set by deliverquota or MAILDIRQUOTA, new -q
7120 option to maildirmake. Both deliverquota, maildrop, and
7121 Courier now read the maildirsize no matter what, and observe
7122 the quota
7123
7124 + maildirmake and deliverquota now installed by the Courier-IMAP,
7125 maildrop, and sqwebmail standalone builds.
7126
7127 + updated README.maildirquota, and man pages to reflect all these
7128 changes.
7129
7130 * courier/courierctl.start.in: Use a subshell to start courierd
7131 (some bug in old sh's).
7132
7133 2002-06-06 Mr. Sam <mrsam@courier-mta.com>
7134
7135 * imap/thread.c (printos): Sort threads by starting thread date.
7136
7137 2002-06-05 Mr. Sam <mrsam@courier-mta.com>
7138
7139 * imap/pop3dserver.c (main): Check the sticky bit, just like IMAP.
7140
7141 2002-06-05 James F.Hranicky <jfh@cise.ufl.edu>
7142
7143 * imap/imapd.c (main): Log to stderr if failed to chdir to the maildir.
7144
7145 2002-06-05 Peter C. Norton <spacey-courier@lenin.nu>
7146
7147 * courier/module.local/deliver.c (savemessage): Log maildir pathname
7148 if failed to create a message.
7149
7150 2002-06-02 Mr. Sam <mrsam@courier-mta.com>
7151
7152 * imap/outbox.c: Added #include <signal.h>
7153
7154 2002-05-29 Mr. Sam <mrsam@courier-mta.com>
7155
7156 * imap/outbox.c: Added the OUTBOX feature.
7157
7158 0.38.2
7159
7160 2002-05-26 Ron van den Dungen <ron@dse.nl>
7161
7162 * authlib/authmysqllib.c (do_connect): Fix server connect via
7163 filesystem socket.
7164
7165 2002-05-25 Mr. Sam <mrsam@courier-mta.com>
7166
7167 * Generate and validate a hash for redirect requests, to prevent
7168 unauthorized use of the redirector.
7169
7170 2002-05-24 Mr. Sam <mrsam@courier-mta.com>
7171
7172 * webadmin/login.html: Use POST for the login form, instead of a
7173 GET.
7174
7175 2002-05-22 Gordon Messmer <yinyang@eburg.com>
7176
7177 * courier.spec.in (Provides): Add provides: to sendmail-wrapper
7178 subpackage.
7179
7180 2002-05-22 Mr. Sam <mrsam@courier-mta.com>
7181
7182 * imap/fetch.c (dofetchmsgbody): Fix BODY[x.MIME] replies for
7183 message/rfc822 sections.
7184
7185 2002-05-20 Mr. Sam <mrsam@courier-mta.com>
7186
7187 * rfc822_parsedt.c (rfc822_parsedt): Ignore obviously invalid years
7188 (someone else can worry about Y10K).
7189
7190 2002-05-19 Mr. Sam <mrsam@courier-mta.com>
7191
7192 * sqwebmail.c (open_langform): Fix crash if a form template cannot be
7193 opened.
7194
7195 2002-05-17 Mr. Sam <mrsam@courier-mta.com>
7196
7197 * newmsg.c (dosendmsg): Fix quota update when new message is NOT
7198 saved in the Sent folder.
7199
7200 2002-05-17 Mr. Sam <mrsam@courier-mta.com>
7201
7202 * tcpd/tcpd.c (doallowaccess): Code cleanup.
7203
7204 * courier/submit.C (getrcpts): Fix failure to inject a bounce message
7205 when the original message had corrupted MIME content.
7206
7207 2002-05-15 Gordon Messmer <gmessmer@real.com>
7208
7209 * courier.spec.in: Clean up alternatives support for valhalla
7210
7211 2002-05-14 Mr. Sam <sam@email-scan.com>
7212
7213 * html/en-us/readmsg.html: Mozilla bug workaround
7214
7215 2002-05-09 Mr. Sam <mrsam@courier-mta.com>
7216
7217 * authlib/Makefile.am (libauth-modules): Get rid of some cruft in
7218 the Makefile.
7219
7220 2002-05-08 Norihisa Washitake <nori@washitake.com>
7221
7222 * iso-2022-jp charset update
7223
7224 2002-05-07 Mr. Sam <mrsam@courier-mta.com>
7225
7226 * courier/doc/links.html: Added a link to the log analyzer, mb2md
7227 script.
7228
7229 * maildrop/mailbot.c (main): Added a -f option to mailbot.
7230
7231 * courier/submit2.C (copymessage): Add an X-Original-Content-Type:
7232 header marking an encapsulated message.
7233
7234 2002-05-07 Keith T. Garner <kgarner@kgarner.com>
7235
7236 * authlib: Additional LDAP authentication filter.
7237
7238 2002-05-07 John Morrissey <jwm@horde.net>
7239
7240 * authlib: Solaris LDAP fix.
7241
7242 0.38.1
7243
7244 2002-04-30 Mr. Sam <mrsam@courier-mta.com>
7245
7246 * unicode/big5.c (c2u): Fixed a crash caused by invalid big5 chars.
7247
7248 2002-04-24 Mr. Sam <mrsam@courier-mta.com>
7249
7250 * maildrop/filter.C (xfilter): Set O_NDELAY on file descriptors for
7251 xfilter() since select() only works correctly on non-blocking fds.
7252
7253 2002-04-22 Mr. Sam <mrsam@courier-mta.com>
7254
7255 * courier/aliasexp.C (normalize): Fix makealiases lockup due to a bad
7256 alias file.
7257
7258 2002-04-17 Norihisa Washitake <nori@washitake.com>
7259
7260 * iso-2022-jp unicode map.
7261
7262 2002-04-08 "tonix (Antonio Nati)" <tonix@interazioni.it>
7263
7264 * webmail: maildir.c, html/en/folder.html: use strftime string from
7265 folder.html to format message dates.
7266
7267 * webmail: folder.c, html/en/readmsg.html: selectively replace rfc822
7268 mail headers from readmsg.html
7269
7270 2002-04-08 Mr. Sam <mrsam@courier-mta.com>
7271
7272 * maildrop/formatmbox.C (GetFromLine): Do not write a newline before
7273 every From_ line...
7274
7275 * maildrop/deliver.C (delivery): ... only for 2nd and subsequent msgs.
7276
7277 2002-04-07 Mr. Sam <mrsam@courier-mta.com>
7278
7279 * rfc822/rfc822_mkdate.c (rfc822_mkdate_buf): Explicit (int) cast gets
7280 the file compiled under Cygwin.
7281
7282 2002-04-06 Mr. Sam <mrsam@courier-mta.com>
7283
7284 * courier.spec.in: fix alternatives package.
7285
7286 * imap/imapd.c (do_imap_command): If SELECT fails, close the old folder
7287 anyway.
7288
7289 2002-04-05 Mr. Sam <mrsam@courier-mta.com>
7290
7291 * courier/webadmin/admin-30esmtp.html: Added a canned setting for
7292 monkeys.com open proxy blacklist.
7293
7294 2002-04-02 Mr. Sam <mrsam@courier-mta.com>
7295
7296 * webadmin/webadmin.pl.in (display_form): Fixes for Mozilla 0.9.9
7297
7298 2002-04-01 Mr. Sam <mrsam@courier-mta.com>
7299
7300 * rfc1035/rfc1035dump.c: print control characters in hostnames.
7301
7302 * authlib/authmysqllib.c (auth_mysql_setpass): Fix password change in
7303 the custom MySQL driver.
7304
7305 2002-03-29 Mr. Sam <mrsam@courier-mta.com>
7306
7307 * courier/doc/makealiases.sgml (info): Got rid of some misplaced
7308 cruft, left over from Docbook conversion.
7309
7310 * courier/module.esmtp/courieresmtpd.c (domailfrom): Tarpit 5xx
7311 errors to MAIL FROM:
7312 (dorcptto): Tarpit ONLY 5xx errors to RCPT TO:
7313
7314 2002-03-26 Mr. Sam <mrsam@courier-mta.com>
7315
7316 * authlib/authldaplib: Added an option to implement two-stage
7317 LDAP lookups, for authentication purposes.
7318
7319 0.38
7320
7321 2002-03-23 Mr. Sam <mrsam@courier-mta.com>
7322
7323 * courier.spec.in: Add some spaghetti for the RH Skipjack beta
7324 release. For skipjack, the courier-sendmail-wrapper subpackage
7325 will installs the alternatives links to Courier.
7326
7327 2002-03-22 Mr. Sam <mrsam@courier-mta.com>
7328
7329 * newmsg_create.c (sentmsg_reformat): Use SQWEBMAIL_TEMPLATEDIR,
7330 if defined, instead of HTMLLIBDIR.
7331
7332 2002-03-22 Mr. Sam <mrsam@courier-mta.com>
7333
7334 * courier/doc/FAQ.html: Added Tru64 gmake check failure.
7335
7336 2002-03-21 Mr. Sam <mrsam@courier-mta.com>
7337
7338 * authlib/configure.in: Fix broken vpopmail_home test.
7339
7340 2002-03-18 Mr. Sam <mrsam@courier-mta.com>
7341
7342 * rfc2045/reformime: Fix handling of unencoded nulls in text/plain
7343 content.
7344
7345 2002-03-17 Mr. Sam <mrsam@courier-mta.com>
7346
7347 * ldaplist.c (parsesearch): Attempt to decode base64-encoded LDAP
7348 attributes. Allow configuration of LDAP server SASL parameters.
7349
7350 2002-03-15 Mr. Sam <mrsam@courier-mta.com>
7351
7352 * html.c: Tighten up HTML parsing.
7353
7354 2002-03-15 Jason Gilbert <jason@doozer.com>
7355
7356 * courier/module.esmtp/courieresmtpd.c: ESMTPAUTH_TLS actually works
7357 now.
7358
7359 2002-03-15 Mr. Sam <mrsam@courier-mta.com>
7360
7361 * courier/courierd.dist.in (TLS_VERIFYPEER): Change the default
7362 for TLS_VERIFYPEER to NONE. 3/13 starttls change would otherwise
7363 begin requiring peer certificate validation.
7364
7365 2002-03-14 Brian Candler <B.Candler@pobox.com>
7366
7367 * maildir/maildirmkdir.c (maildir_mkdir): Create tmp subdir last,
7368 when creating a maildir.
7369
7370 2002-03-14 Toshikazu Ichikawa <ichikawa@toshikazu.org>
7371
7372 * sqwebmail.c (main2): Optionally disable monthly Sent folder rename.
7373
7374 2002-03-13 James Collier <james.collier@fifthweb.net>
7375
7376 * tcpd/starttls.c (ssl_verify_callback): Fix client peer certificate
7377 check.
7378
7379 2002-03-09 Mr. Sam <mrsam@courier-mta.com>
7380
7381 * courier/webadmin/admin-34fax.pl: Added incoming fax notification
7382 configuration screen.
7383
7384 * rfc2045/reformime.c (main): Added -h, -o, and -O options.
7385
7386 * rfc822/rfc2047.c (rfc2047_encode_callback): Fix MIME-encoding of
7387 spaces.
7388
7389 2002-03-09 Mr. Sam <mrsam@courier-mta.com>
7390
7391 * courier/module.fax/courierfax.c: Check sendfax's exit code,
7392 and retry only if exit code < 10 (in accordance to published
7393 sendfax documentation).
7394
7395 2002-03-08 Mr. Sam <mrsam@courier-mta.com>
7396
7397 * courier/module.fax: whipped up a better new_fax for mgetty to
7398 automatically convert incoming faxes to PNGs and mail them out.
7399 New config file: faxnotifyrc
7400
7401
7402 2002-03-07 Mr. Sam <mrsam@courier-mta.com>
7403
7404 * rootcerts/certs.sh: Refreshed trusted X.509 root certs from
7405 Mozilla's CVS tree.
7406
7407 * courier/doc: Documentation updates.
7408
7409 * courier.spec.in: Moved outbound fax webadmin screen into the
7410 courier-fax RPM.
7411
7412 2002-03-06 Mr. Sam <mrsam@courier-mta.com>
7413
7414 * courier/module.fax/faxrc.dist: Replace the default canned set
7415 of rewriting rules with something better. Prefix a dummy rewriting
7416 rule that disables fax transmission by default (it must be manually
7417 removed to enable fax transmissions).
7418
7419 * Added a webadmin screen to set up outgoing fax transmissions.
7420
7421 * courier/module.fax/courierfax.c: Include number of pages in the
7422 fax cover page in the delivery report.
7423
7424 * waitlib/configure.in: Fix check for sighold() function.
7425
7426 * courier/module.fax/faxrc.dist: Default setting accepts faxes
7427 from the esmtp module (but FAXRELAYCLIENT still needs to be set,
7428 see the following deltas for an explanation).
7429
7430 * courier/module.esmtp/courieresmtpd.c (main): Set FAXRELAYCLIENT
7431 after successful ESMTP authentication.
7432
7433 * courier/doc/makesmtpaccess.sgml: Documented the FAXRELAYCLIENT
7434 variable.
7435
7436 * courier/doc/install.html: Documented FAXRELAYCLIENT in the
7437 outgoing fax configuration section.
7438
7439 2002-03-05 Mr. Sam <mrsam@courier-mta.com>
7440
7441 * courier/module.esmtp/esmtp.c (rfc822check): Do not reject
7442 ESMTP recipient addresses of the form @fax[-opts] (leave it on the
7443 fax module to reject esmtp fax requests), allow it if
7444 FAXRELAYCLIENT is set.
7445
7446 * courier/sendmail-esmtpd-wrapper.c (esmtpd): Set FAXRELAYCLIENT
7447 for the 'sendmail -bs' invocation automatically.
7448
7449 2002-03-04 Mr. Sam <mrsam@courier-mta.com>
7450
7451 * rfc822/rfc822.c (rfc822_prname_orlist): Dequote quoted-strings.
7452
7453 * Courier: Added module.fax
7454
7455 * courier/libs: added faxqueuetime config setting. Modified
7456 showconfig, dsn, to use it.
7457
7458 2002-03-01 "Peter C. Norton" <spacey-courier@lenin.nu>
7459
7460 * Added authlib/README.authpostgres.html
7461
7462 2002-03-01 Mr. Sam <mrsam@courier-mta.com>
7463
7464 * courier, maildrop: fix configure and makefile scripts for
7465 autoconf 2.52 and automake 1.5
7466
7467 2002-02-27 Mr. Sam <mrsam@courier-mta.com>
7468
7469 * mimegpg: when encrypting, include Mime-Version: 1.0 header in
7470 the headers of the encrypted portion of the message.
7471
7472 * folder.c (folder_initnextprev): Remove spurious hidden field
7473 left outside a form.
7474
7475 * courier/libs/lcrewrite.c: Tighten checks on valid envelope
7476 addresses to prohibit character <, >, (, ), ;, whitespace, and
7477 control characters.
7478
7479 * authlib/configure.in: Replace test ~vpopmail (home directory) with
7480 a Perl script (~username not supported by Solaris's sh).
7481
7482 0.37.3
7483
7484 2002-02-25 Mr. Sam <mrsam@courier-mta.com>
7485
7486 * ldaplist.c (parsesearch): Expect LDIF-formatted output from
7487 ldapsearch, now.
7488
7489 * imap/imapd.c: fix GETQUOTAROOT response
7490
7491 * imap/testsuite: dump imapd output to a file instead of /dev/null,
7492 BSD's fcntl(O_NONBLOCK) chokes on /dev/null.
7493
7494 2002-02-24 Mr. Sam <mrsam@courier-mta.com>
7495
7496 * imap/imapscanclient.c: fix UIDNEXT in the STATUS response to take
7497 into account new mail.
7498
7499 2002-02-23 Mr. Sam <mrsam@courier-mta.com>
7500
7501 * courier/module.local/deliver.c: Hack around the FreeBSD issue with
7502 mixing of stdio and unistd seek calls.
7503
7504 2002-02-22 Mr. Sam <mrsam@courier-mta.com>
7505
7506 * courier/module.esmtp/addcr.c (main): Fix breakage introduced by
7507 O_NONBLOCK 2002-02-19 - for some reason addcr executed by sendmail -bs
7508 has its stdin go into nonblock mode as a result of O_NONBLOCK from
7509 courieresmtpd.
7510
7511 2002-02-20 Mr. Sam <mrsam@courier-mta.com>
7512
7513 * submit, couriermlm: fstream constructor append ios::trunc to
7514 ios::in and ios::out (fix for gcc 3.1).
7515
7516 * couriermlm: replace calls to ifstream.get(const char *, int) with
7517 manual code (fix for gcc 3.1). Someone was smoking crack when they
7518 decided that get() reading a blank line should end up setting failbit.
7519
7520 2002-02-19 Mr. Sam <mrsam@courier-mta.com>
7521
7522 * mimegpg, courieresmtp, courieresmtpd: must set O_NONBLOCK on file
7523 descriptors even if select() is used to check for read/write
7524 availability.
7525
7526 2002-02-17 Mr. Sam <mrsam@courier-mta.com>
7527
7528 * imap/searchinfo.c: allow numerical SEARCH strings without quoting.
7529
7530 2002-02-15 Mr. Sam <mrsam@courier-mta.com>
7531
7532 * authlib/configure.in: Link against $CRYPTLIBS when probing for
7533 open_smtp_relay()
7534
7535 * rfc2045/reformime.sgml: Documented the -m and -D options.
7536
7537 * Perl 5.6.1 fixes.
7538
7539 2002-02-13 Mr. Sam <mrsam@courier-mta.com>
7540
7541 * webmail: import SENDER from the environment, in maildirfilter,
7542 and use that for the return address on forwarded mail.
7543
7544 2002-02-12 Mr. Sam <mrsam@courier-mta.com>
7545
7546 * Fixes for gcc 3.1
7547
7548 * courier/configure: Get rid of obsolete maildrop setgid warning.
7549
7550 2002-02-12 "Stefan Hornburg (Racke)" <racke@linuxia.de>
7551
7552 * webmail: Disable Trash folder autopurge by setting # of days to 0.
7553
7554 2002-02-06 Mr. Sam <mrsam@courier-mta.com>
7555
7556 * pcp: Initial set of changes for the forthcoming remote calendaring
7557 proxy: build pcp/uids.h from the Makefile; added pcpuid() and
7558 pcpgid() functions; moved auth_myhostname() into a separate module;
7559 split pcp_open_proxy() function into two functions: pcp_find_proxy()
7560 (with an extra parameter that specifies which pcp servers to skip,
7561 we want to make sure a remote proxy connection doesn't multihop) and
7562 pcp_set_proxy().
7563
7564 2002-02-02 Mr. Sam <mrsam@courier-mta.com>
7565
7566 * rfc1035: Fix rfc1035search functions if the original rfc1035
7567 library call did not use a FQDN.
7568
7569 2002-01-31 Mr. Sam <mrsam@courier-mta.com>
7570
7571 * courier/submit2.C: BOFHBADMIME=accept implies MIME=none.
7572
7573 2002-01-28 Mr. Sam <mrsam@courier-mta.com>
7574
7575 * imapscanclient.c (do_imapscan_maildir2): Fix uninitialized nextuid
7576 variable when folder without courierimapuiddb is opened read-only.
7577
7578 2002-01-27 Mr. Sam <mrsam@courier-mta.com>
7579
7580 * courier/module.esmtp/configure.in: Fix typo.
7581
7582 * userdb/configure.in: Fix typo.
7583
7584 * random128/configure.in: Fix typo.
7585
7586 2002-01-25 Mr. Sam <mrsam@courier-mta.com>
7587
7588 * courier/doc: documented the BOFHBADMIME option. Revised the
7589 makesmtpaccess, courier, and submit documentation.
7590
7591 * courier/bofh.c (bofh_init): Added the 'opt' bofh configuration
7592 file keyword (mainly for BOFHBADMIME). Added the corresponding
7593 webadmin screen.
7594
7595 * courier/imapd-ssl.rc.in, courier/imapd.rc.in: cleanup.
7596
7597 * courier/module.esmtp/esmtpd.in: cleanup.
7598
7599 * courier/module.esmtp/esmtpd-ssl.in: cleanup.
7600
7601 * rfc2045/rfc2045.c (doline): Fix incorrect calculation of the
7602 end of a multipart MIME section that's inside another multipart
7603 MIME section.
7604
7605 2002-01-24 Mr. Sam <mrsam@courier-mta.com>
7606
7607 * webadmin: Added webadmin screen to set up BOFHBADMIME,
7608 EMSTP over SSL. Added missing options to esmtpd-ssl.dist.in.
7609
7610 2002-01-22 Mr. Sam <mrsam@courier-mta.com>
7611
7612 * courier/submit2.C: Environment variable BOFHBADMIME to specify
7613 handling of invalid MIME mail: "reject" - bounce it, "accept" -
7614 accept it untouched. Default stays the same - encapsulate it.
7615
7616 2002-01-21 Gordon Messmer <yinyang@eburg.com>
7617
7618 * courier.spec.in: Optimize shell profile scripts.
7619
7620 * Add support script for ESMTP over TLS on port 465.
7621
7622 0.37.2
7623
7624 2002-01-21 Mr. Sam <mrsam@courier-mta.com>
7625
7626 * courier/libs/comctlfile.c (ctlfile_openfn): Eliminate <CR> in
7627 queue control files, which can result in corrupted memory, and
7628 server restart. Problem noted by Nat Sakimura <sakimura@marimba.org>
7629 0.37.1
7630
7631 2002-01-17 Mr. Sam <mrsam@courier-mta.com>
7632
7633 * courier/submit2.C: Message encapsulation incorrectly set transfer
7634 encoding on encapsulate replacement, in certain instances.
7635
7636 2002-01-17 Bob Pepin <bob@gms.lu>
7637
7638 * imap/thread.c (printthread): Fix THREAD REFERENCES.
7639
7640 2002-01-14 Mr. Sam <mrsam@courier-mta.com>
7641
7642 * docbook/sgml2html: Fix Docbook/OpenJade silliness that converts
7643 <note> to an IMG tag to a fixed image file.
7644
7645 2002-01-13 Mr. Sam <mrsam@courier-mta.com>
7646
7647 * folder.c (folder_nextprev): Add "Download Message" option.
7648
7649 * attachments.c (attachments_head): Display a meaningful error message
7650 if makemime fails.
7651
7652 * pcp.c (sqpcp_displayevent): Add class=calendarevent to event time
7653 table.
7654
7655 2002-01-12 Mr. Sam <mrsam@courier-mta.com>
7656
7657 * authlib/authldaplib.c (auth_ldap_do): Escape punctuation in
7658 userid string.
7659
7660 2002-01-11 Mr. Sam <mrsam@courier-mta.com>
7661
7662 * courier/sendmail.c: Intelligently set the exit code from sendmail
7663 based on the SMTP errcode from submit (EX_NOUSER if 5xx, EX_TEMPFAIL
7664 otherwise). Mental note: double check anything that runs sendmail,
7665 to make sure it is happy with the new exit codes.
7666
7667 * ESMTP: Changed the VERP ESMTP keyword to XVERP=Courier.
7668 Courier will only send a VERPed message if the remote server lists
7669 XVERP=Courier. Postfix in Aug 2001 introduced a different XVERP
7670 implementation that conflicts with Courier's, even though Courier
7671 used the VERP keyword since 1999. Impact: 0.37.1, and higher,
7672 will not use VERP when talking to 0.37, or earlier, and instead will
7673 fallback to the non-VERP compatibility mode. 0.37.1 will only use
7674 VERP with other 0.37.1+ relays.
7675
7676 2002-01-10 Mr. Sam <mrsam@courier-mta.com>
7677
7678 * webmail/html/en/eventshow.html: Added some missing tags for
7679 displaying attachments.
7680
7681 2002-01-08 Tomas Fasth <tomas@euronetics.se>
7682
7683 * imap/imapd.c (imapidle): Call noop() before entering IDLE.
7684
7685 2002-01-08 Robert L Mathews <rob@tigertech.com>
7686
7687 * webmail/ispell.c (ispell_run): Handle '?' replies from ispell.
7688
7689 2002-01-08 Oliver Hitz <oliver@net-track.ch>
7690
7691 * authlib/Makefile.am (libauth-modules): Fix Makefile build
7692 with no authentication modules selected.
7693
7694 2002-01-07 Pawel Wilk <siefca@kernel.pl>
7695
7696 * authlib/authmysqllib.c: Major update to the authmysql driver
7697 that adds the option to create hand-crafted SQL queries.
7698
7699 2002-01-06 Mark Anthony Lisher <markal@iname.com>
7700
7701 * courier/cdmsgq3.C (flushmsg): Fix 'courier flush qid'.