0.52.2

2005-12-25  mag@intron.ac

	* sqwebmail/html.c (parsetagbuf): Update attribute count, after
	purging invalid html syntax.

2005-12-15  Mr. Sam  <mrsam@courier-mta.com>

	* courier/submit.C (trackaddress): Fix error message spelling.

2005-12-12  Mr. Sam  <mrsam@courier-mta.com>

	* courier/libs/comctlfile.h (COMCTLFILE_AUTHNAME): New control file
	record: i - authenticated userid

	* courier/courierd.dist.in (DSNTOAUTHADDR): New setting:
	DSNTOAUTHADDR=1 (default)

	* courier/libs/comdsn2.c (dsn_sender): Bounce to authenticated userid
	if DSNTOAUTHADDR=1

	* courier/module.esmtp/courieresmtpd.c (startsubmit): Ditto.

2005-11-28  Mr. Sam  <mrsam@courier-mta.com>

	* courier/module.esmtp/esmtpiov.c: Improve error reporting if write()
	on the socket fails.

2005-11-27  Stefan Hornburg <racke@linuxia.de>

	* courier/doc/makehosteddomains.sgml: Typo.

2005-11-22  Mr. Sam  <mrsam@courier-mta.com>

	* webmail/attachments.c: Suppress phantom attachment shown when
	multipart/alternative formatting is enabled and there are no other
	attachments.

2005-11-20  Mr. Sam  <mrsam@courier-mta.com>

	* folder.c (showaddressheader_printsep): A <span> was missing for 2nd
	and subsequent addresses in an address header.

	* gpglib/gpg.c (dosignencode): Sign the entire message in its entirety,
	instead of signing each MIME part separately.  Some E-mail clients
	cannot handle individually-signed multipart/alternative content.

2005-11-21  Mr. Sam  <mrsam@courier-mta.com>

	* imap/smapsnapshot.c (restore_snapshot2): Fix some file descriptor
	leaks.

2005-11-19  Mr. Sam  <mrsam@courier-mta.com>

	* Fix HTML templates (remove 8bit content inserted by Amaya).

	* message composition: Wiki-style composition of HTML messages.

2005-11-16  Mr. Sam  <mrsam@courier-mta.com>

	* courier/module.esmtp/esmtpclient.c (hello2): If esmtphelo is set
	to "*", use reverse DNS of the local IP address.

2005-11-15  Mr. Sam  <mrsam@courier-mta.com>

	* rfc2045/rfc2045rewrite.c: Cleanup.  Remove duplicate quoted-printable
	implementation, use one in rfc822/encode.c

	* gpglib/gpg.c: Ditto.

	* rfc822/encode.c (quoted_printable): encode spaces that precede a
	newline.

2005-09-30  Sergiy Zhuk <serge@yahoo-inc.com>

	* imapd.c (do_imap_command): Have CREATE create courierimapuidllist.

2005-09-30  Mr. Sam  <mrsam@courier-mta.com>

	* imap/pop3: log total bytes sent/received in IMAP and POP3 sessions
	(based on a patch by Peter Bieringer <pb@bieringer.de>.

0.52.1

2005-09-23  Mr. Sam  <mrsam@courier-mta.com>

	* configure.in: Look for pcre/pcre.h if pcre is not installed.
	maildir: skip parts of make check if libpcre is not installed (used
	by other courier packages).

2005-09-22  Mr. Sam  <mrsam@courier-mta.com>

	* maildir/maildirpurgetmp.c (maildir_purge): When autopurging messages
	from a folder based on their timestamp, scan 'new' in addition to
	'cur', otherwise mail delivered to the folder directly never gets
	purged, unless the folder is open.

0.52

2005-09-07  Mr. Sam  <mrsam@courier-mta.com>

	* maildir/Makefile.am (testmaildirfilter_LDADD): Move -lpcre to LDADD,
	from LDFLAGS.

2005-09-05  Mr. Sam  <mrsam@courier-mta.com>

	* webmail/html.c: Filter out <!-- > constructs, they are parsed
	by MSIE.

2005-08-29  Mr. Sam  <mrsam@courier-mta.com>

	* maildir/maildirfilter.c (maildir_filter_ruleupdate): Use
	PCRE to validate regexp.

2005-08-28  Mr. Sam  <mrsam@courier-mta.com>

	* maildir/maildirfilter.c (maildir_filter_ruleupdate): Use pcre
	to validate filter strings in maildrop webmail filters.

2005-08-26  Mr. Sam  <mrsam@courier-mta.com>

	* webmail/html.c (parseattr): Remove attributes with imbalanced quotes,
	to prevent cross-side scripting vulnerabilities with some browsers.

2005-08-23  Mr. Sam  <mrsam@courier-mta.com>

	* folder.c (showunknown): Show each attachment's MIME content type.

2005-08-20  Mr. Sam  <mrsam@courier-mta.com>

	* waitlib/waitlib.c: probe for sigprocmask(), and use it if available.

2005-08-20  Leandro Santi <lesanti@fiuba7504.com.ar>

	* tcpd/tlspasswordcache.c: Fix OpenSSL-less compilation.

2005-08-16  Mr. Sam  <mrsam@courier-mta.com>

	* imapd.c (do_msgset): Fix handling of invalid sequence number of 0.

2005-08-13  Mr. Sam  <mrsam@courier-mta.com>

	* rootcerts/certs.sh: Updated list of trusted root certs.

2005-08-11  Mr. Sam  <mrsam@courier-mta.com>

	* search.c (search_oneatatime): Fix NOT operator on content searches.

2005-08-04  Mr. Sam  <mrsam@courier-mta.com>

	* maildrop/mailbot.c (check_dsn): Do not autoreply to messages
	with an Auto-Submitted: header, unless it's contents are "no".
	(main): Add Auto-Submitted: auto-replied.

0.51

2005-07-16  Mr. Sam  <mrsam@courier-mta.com>

	* configure.in: Update to automake 1.9, autoconf 2.59, libtool 1.5.6,
	gettext 0.14.1.

	* courier/ldapaliasd.c (loop): sigpause() obsoleted by sigsuspend().

2005-07-15  Mr. Sam  <mrsam@courier-mta.com>

	* imap: Implemented account groups, administrator group.

2005-07-04  Mr. Sam  <mrsam@courier-mta.com>

	* pop3d.dist.in: Add PLAIN to POP3AUTH_ORIG.

2005-07-02  Mr. Sam  <mrsam@courier-mta.com>

	* rfc1035/spf.c: Soft DNS failures weren't handled properly when
	looking up SPF records.  Potential memory corruption.

2005-07-01  Brian Candler <B.Candler@pobox.com>

	* all: add LOGGEROPTS and SSLLOGGEROPTS configuration settings
	which are passed to courierlogger to set the application name for
	syslog.

2005-06-29  Mr. Sam  <mrsam@courier-mta.com>

	* courier.spec.in: Add --cache-file option to the configure script. 

	* courier/doc/links.html: Link to German translation of couriermlm
	templates.

2005-06-24  Mr. Sam  <mrsam@courier-mta.com>

	* courier/module.esmtp/esmtpclient.c (sendesmtp): Let's see what
	happens when we try all MXs.

	* rfc1035: Randomize resource records in DNS replies.

2005-06-19  Mr. Sam  <mrsam@courier-mta.com>

	* all: Clean up libtool scripts.

2005-06-11  Mr. Sam  <mrsam@courier-mta.com>

	* COPYING.GPL: New FSF address.

2005-05-18  "Hrvoje Habjanić" <hrvoje.habjanic@zg.t-com.hr>

	* Reorder include files, to compile on SunOS & OSFx.

	* Workaround for bugs on some platforms' select().

	* soxwrap needs a configure check for socklen_t.

0.50

2005-05-09  Mr. Sam  <mrsam@courier-mta.com>

	* maildrop/main.C (find_in_authlib): Exit with TEMPFAIL if temporary
	error indication from authlib.

2005-05-08  Mr. Sam  <mrsam@courier-mta.com>

	* courier.sysvinit: Remove init lock file upon stop.

2005-05-06  Mr. Sam  <mrsam@courier-mta.com>

	* sv-make_timezonelist.pl: Added /usr/share/lib/zoneinfo to the
	search list.

2005-05-06  Mr. Sam  <mrsam@courier-mta.com>

	* pcp: update to gettext 0.14

2005-05-02  Mr. Sam  <mrsam@courier-mta.com>

	* webmail/configure.in: Fix typo that disables unicode support when
	partial charsets are specified.

2005-04-23  Mr. Sam  <mrsam@courier-mta.com>

	* webmail/configure.in: Missing AC_SUBST(mailuser) and
	AC_SUBST(mailgroup)

2005-04-16  Zenon Panoussis <oracle@provocation.net>

	* courier/rfcerrheader.txt.in (Comment): Fix grammar.

2005-04-22  Mr. Sam  <mrsam@courier-mta.com>

	* courier/submit.C (cppmain): Don't check bofh settings for messages
	from the dsn module.

2005-04-05  Mr. Sam  <mrsam@courier-mta.com>

	* couriermlm: More tweaks to address handling.  couriermlm uses
	original case of subscribed addresses to distribute list traffic
	from case-insensitive mailing lists.

2005-04-03  Mr. Sam  <mrsam@courier-mta.com>

	* maildrop/maildropfilter.sgml: Explicitly document the | character.

2005-04-03  Peter Bieringer <pb@bieringer.de>

	* INSTALL.html: SELinux hint.

2005-04-03  Mr. Sam  <mrsam@courier-mta.com>

	* courier/submit.C: Make error message more descriptive.

	* courier/submit2.C: Ditto.

2005-04-03  Giulio Cervera <giulio@edspa.it>

	* PROXY_HOSTNAME: new setting in imap and pop3 config file overrides
	gethostname() when checking if a proxy connection is required.

2005-04-03  Mr. Sam  <mrsam@courier-mta.com>

	* courier/cmlmsubunsub.C (addrlower): couriermlm defaults to entire
	E-mail address case-insensitive.  New option, CASESENSITIVE=1 falls
	back to earlier behavior of only domain part case-insensitive.

2005-03-27  Mr. Sam  <mrsam@courier-mta.com>

	* gpglib/configure.in: Bless gpg 1.2.4, 1.2.6, 1.4.1

0.49

2005-02-26  Mr. Sam  <mrsam@courier-mta.com>

	* imap/msgbodystructure.c (msgbodystructure): Fix MSGBODYSTRUCTURE
	response for a corrupted content-type of "text".

	* courier/doc/courier.sgml: "pass" listed twice under the SPF
	section.

2005-02-20  Mr. Sam  <mrsam@courier-mta.com>

	* sha1: Added SHA256 digest algorithm.

2005-02-19  Mr. Sam  <mrsam@courier-mta.com>

	* courierauthdebug.h: Macro dprintf conflicts with new glibc.

2005-02-16  Mr. Sam  <mrsam@courier-mta.com>

	* Various: Replace "env -" with "env -i" -- portability.

	* configure.in: Fix inclusion of ./configtmp

2005-02-15  Mr. Sam  <mrsam@courier-mta.com>

	* courier/webadmin/admin-47webmail.pl: Update webmail configuration
	to use global account options in authlib.

2005-02-15  Martin Orr <courier@martinorr.name>

	* submit.C: mail was always filtered, even if its source was not
	listed in the enablefiltering configuration file.  Change that:
	filter the mail only if its source is listed in enablefiltering.

2005-02-13  Mr. Sam  <mrsam@courier-mta.com>

	* courier/doc/install.html: Document webmail account options.

2005-02-12  Mr. Sam  <mrsam@courier-mta.com>

	* courier/submit2.C (MessageEnd): Include message size in 523 error.

	* maildir/maildirquota.c (docheckquota): Memory used after being freed.

2005-02-08  Mr. Sam  <mrsam@courier-mta.com>

	* imap/Makefile.am: Fix README.proxy getting clobbered by make clean.

2005-02-07  Mr. Sam  <mrsam@courier-mta.com>

	* courier/module.uucp/uucp.c (uux3): Do not trigger backscatter
	suppression on uucp gateway-related failures.

	* courier/module.fax/courierfax.c (faxconvert_cleanup): Ditto for
	courierfax.

2005-02-03  Norihisa Washitake <nori@washitake.com>

	* various: Replace couple of references to ":" with MDIRSEP, for
	consistency's sake.

2005-02-03  Mr. Sam  <mrsam@courier-mta.com>

	* courier/module.local/deliver.c (main): Delivered-To: loop detected
	results in an EX_SOFTWARE exit code.
	
	* courier/module.local/deliver.c (docommand): If a program forked from
	a .courier file exits with EX_SOFTWARE, change it to EX_NOPERM.  Bottom
	line: courierdeliver terminates with EX_SOFTWARE only if a
	Delivered-To: loop was detected.
	
	* courier/module.local/localmail.c (wait_delivery): Fix a memory
	leak.  If courierdeliver terminates with EX_SOFTWARE, record this is
	as a COMCTLFILE_DELFAILED_NOTRACK.

	* courier/libs/comctlfile.c (ctlfile_append_reply): Convert a
	COMCTLFILE_DELFAILED_NOTRACK as COMCTLFILE_DELFAILED, but do not
	put this address on the backscatter blacklist.

2005-01-30  Mr. Sam  <mrsam@courier-mta.com>

	* maildrop/deliver.C (delivery): Overquota condition is now a
	temporary delivery failure, in accordance with the new backscatter
	suppression logic.

	* courier/module.local/deliver.c (delivery_error): Ditto.

	* maildir/deliverquota.c (deliver): Ditto.

2005-01-29  Mr. Sam  <mrsam@courier-mta.com>

	* courier/libs/comctlfile.c (ctlfile_append_reply): When recording
	the results of a delivery attempt, update $localstatedir/track/nnnn
	if the message is marked for tracking, and other conditions are met.

	* courier/submit2.C (closectl): New control file record,
	COMCTLFILE_MSGTRACK, added when message's source is found in
	BOFHSUPPRESSBACKSCATTER environment variable;

	* courier/libs/comtrack.c: New module - keep track of unsuccessful
	deliveries and reject all mail for addresses that had a recently
	failed delivery attempt.  A successfull delivery attempt clears the
	address lock.  Only messages from BOFHSUPPRESSBACKSCATTER
	sources have their recipient addresses tracked this way.  A delivery
	attempt for qualified source have the receipient address, and the
	delivery attempt's status, appended to $localstatedir/track/nnnn,
	where nnnn is a counter that gets incremented every hour.  A part
	of regular Courier restart logic clears old track files.

	* courier/libs/comctlfile.c (ctlfile_append_reply): When recording
	the results of a delivery attempt, update $localstatedir/track/nnnn
	if the message is marked for tracking, and other conditions are met.

	* courier/submit.C (trackaddress): If suppressing backscatter,
	check if the receipient address has recently had a deferral or a
	failure, if so soft-reject the address.

	* courier/courier.c: New command: "courier clear address" manually
	marks "address" as succesfully delivered, to clear mail acceptance
	for the address.

2005-01-29  Gordon Messmer <yinyang@eburg.com>

	* courier/submit2.C: Open control files in append mode (helpful
	for filters).

2005-01-27  Andres Salomon <dilinger@voxel.net>

	* maildrop/main.C (tempfail): More descriptive error messages when
	permissions check fails.

2005-01-27  Andres Salomon <dilinger@voxel.net>

	* rfc2045/reformime.sgml: Fix typo.

2005-01-22  Mr. Sam  <mrsam@courier-mta.com>

	* courier/courier.h.in: Created LOCALSTATEDIR/track

2005-01-21  Mr. Sam  <mrsam@courier-mta.com>

	* courier/libs/comctlfile.h: New record - COMCTLFILE_MSGSOURCE in
	the control file.

	* courier/submit.C: New -src option specifies the contents of
	COMCTLFILE_MSGSOURCE record, defaults to the sending module's name.

	* courier/module.esmtp/courieresmtpd.c (startsubmit): Specify -src=smtp
	to submit for unauthenticated smtp connections, -src=authsmtp for
	authenticated smtp connections.

	* courier/module.dsn/dsn.c (main): Specify -src=X/dsn to submit,
	where 'X' is the contents of COMCTLFILE_MSGSOURCE in the message that
	generated a DSN.

	* courier/courierd.dist.in (ESMTP_BLOCKBACKSCATTER): New config file
	setting.

	* courier/module.esmtp/esmtpclient.c (sendesmtp): Do not send the
	message if its COMCTLFILE_MSGSOURCE matches the comma-separated list
	of sources specified by the ESMTP_BLOCKBACKSCATTER setting.  Instead,
	pretend that the message has been succesfully delivered, to wherever
	it was going.

2005-01-19  Mark Bucciarelli <mark@easymailings.com>

	* courier/doc/couriermlm.sgml: Spelling fixes.

2005-01-19  Mr. Sam  <mrsam@courier-mta.com>

	* courier/submit.C (getsender): opt BOFHCHECKHELO=2 makes HELO
	rejections soft.

0.48.2

2005-01-11  Mr. Sam  <mrsam@courier-mta.com>

	* courier/libs/lcclog3.c: Fix path to courierlogger.

2005-01-05  Mr. Sam  <mrsam@courier-mta.com>

	* courier/cmlmsubunsubmsg.C: Fix moderated sub/unsub confirmation
	handling.

0.48.1

2005-01-04  Andreas Erhart <andi@zollhaus.net>

	* imaplogin.c (login_callback): Fix imap proxy code.

0.48.0

2004-12-04  Brian Candler <B.Candler@pobox.com>

	* imap: fix disconnection syslog messages.

2004-11-29  Brian Candler <B.Candler@pobox.com>

	* imap/pop3dserver.c (main): Fix error message when chdir fails.

2004-11-25  Mr. Sam  <mrsam@courier-mta.com>

	* webmail/folder.c (showtexthtml): Transcode charsets for text/html.

2004-11-24  Mr. Sam  <mrsam@courier-mta.com>

	* imapd.dist.in: Add IMAP_UMASK, which resets umask in the imapd
	startup script.  Derived from Ted Zlatanov <tzz@lifelogs.com>'s patch.

2004-11-20  Brian Candler <B.Candler@pobox.com>

	* Additional debugging cleanup.

	* sqwebmail: log login failures.

2004-11-09   Brian Candler <B.Candler@pobox.com>

	* sharedindexsplit: Various fixes, imported from courier-authlib.

2004-11-12  Mr. Sam  <mrsam@courier-mta.com>

	* maildir: maildir_newshared_disabled turns off new-style shared
	folders. maildir_acl_disabled disables ACL support.

	Account option "disableshared=1" disables virtual shared folders
	and ACLs.

2004-11-09  Brian Candler <B.Candler@pobox.com>

	* sqwebmail: Replace 'nodsn' control file with 'wbnodsn' account
	option.  Replace 'nochangepass' control file with 'wbnochangepass'
	account option.  Replace 'nochangingfrom' control file with
	'wbnochangingfrom' account option.

2004-11-09   Brian Candler <B.Candler@pobox.com>

	* imap/pop3: minor cleanup.

2004-11-05  Mr. Sam  <mrsam@courier-mta.com>

	* imap/pop3dserver.c (main): Authenticated address is in AUTHENTICATED,
	not AUTHADDR, now.

2004-11-03  Mr. Sam  <mrsam@courier-mta.com>

	* Makefile.am (SUBDIRS): Ok, only build in bdbobj/gdbmobj according 
	to what autoconf finds.

2004-10-30  Mr. Sam  <mrsam@courier-mta.com>

	* imaplogin.c (login_imap): Implemented IMAP proxying.

	* pop3login.c (login_pop3): Implemented POP3 proxying.

2004-11-03  Brian Candler <B.Candler@pobox.com>

	* webmail/ispell.c: More debugging messages.

2004-10-25  Mr. Sam  <mrsam@courier-mta.com>

	* maildir/maildirfilter.c (maildir_filter_ruleupdate): Fix validation
	of regexp ranges.

2004-10-25  Mr. Sam  <mrsam@courier-mta.com>

	* courier.spec.in: Fix ownership of sqwebmaild.

2004-10-24  Mr. Sam  <mrsam@courier-mta.com>

	* webmail/folder.c (showaddressheader_printsep): Supply a missing
	</span>	tag.

2004-10-24  Laurent Wacrenier <lwa@teaser.fr>

	* webmail/newmsg_create.c (header_wrap): Fold long headers only on
	space boundaries.

2004-10-24  Mr. Sam  <mrsam@courier-mta.com>

	* courier/pop3d.in (libexecdir): Fix stderrlogger parameter.

2004-10-23  Mr. Sam  <mrsam@courier-mta.com>

	* courier/cddrvinfo.C (init): Additional debugging messages.

	* courier.spec.in: Dropped courier-smtpauth subpackage, because
	authstart and authend wrapper have been removed.
	The ldap, mysql, and postgresql subpackages now only have webadmin
	support, so its not necessary to conditionally build them.

	* courier/module.esmtp/courieresmtpd.c: No more authstart/authend.

2004-10-23  Julian Mehnle <julian@mehnle.net>

	* courier/filters/courierfilter.sgml: Fixes.

2004-10-21  Mr. Sam  <mrsam@courier-mta.com>

	* courier/module.esmtp/esmtpd.dist.in: Removed AUTHMODULES setting.

	* courier/module.esmtp/esmtpd-ssl.in: Ditto.

	* courier/module.esmtp/esmtpd.in: Ditto.

	* courier/module.esmtp/Makefile.am: Replaced authstart and authend
	wrappers with direct calls to the Courier authentication libraries.

0.47.0

2004-09-14  Andrey Ulanov <drey@rt.mipt.ru>

	* courier/cmlmfetch.C (checksub): Fix POSTARCHIVE=subscribers.

2004-09-06  Mr. Sam  <mrsam@courier-mta.com>

	* imaptoken.c (bye_msg): IMAP disconnect message includes session
	length and STLS mode, for logging purposes.

	* pop3dserver.c (acctout): POP3 disconnect message includes session
	length, and STLS mode, for logging purposes.

2004-09-02  Mr. Sam  <mrsam@courier-mta.com>

	* webmail: rfc2045/rfc2045reply.c (mkforward): Keep [BLOB]s in the
	subject.
	(mkreply): Ditto.

2004-09-01  Mr. Sam  <mrsam@courier-mta.com>

	* courier/submit.C (getrcpts): Rename existing Received-SPF: headers
	as Old-Received-SPF:, instead of reordering them.

2004-09-01  Marc Horowitz <marc@mit.edu>

	* imap/search.c (fill_search_veryquick): Negative SEARCH UID does not
	get short-circuited.

2004-08-29  Mr. Sam  <mrsam@courier-mta.com>

	* webmail/maildir.c (subjectcmp): Remove extra param from
	rfc2047_decode_simple.

2004-08-25  Mr. Sam  <mrsam@courier-mta.com>

	* courier/webadmin/admin-30xspf.pl: New webadmin SPF configuration
	screen.

2004-08-23  Mr. Sam  <mrsam@courier-mta.com>

	* courier/submit.C (get_spf_errmsg): Add "softfail" to
	BOFHSPFHARDERROR.

	* courier/makealiases: makealiases script skips subdirs (CVS...)

2004-08-19  Mr. Sam  <mrsam@courier-mta.com>

	* courier/doc/install.html: Pointer to SPF documentation.

	* rfc1035/spf.c (spf_compute): Tweaks to SPF message format.

	* courier/webadmin/admin-30esmtp.html (alink): Update default list
	of DNSbls.

	* courier/submit.C (getrcpts): Implement SPF checking on the From:
	header.

2004-08-16  Mr. Sam  <mrsam@courier-mta.com>

	* courier/submit.C (check_spf_result): Added BOFHSPFNOVERBOSE=1
	flag.

	* rfc1035/spf.c (rfc1035_spf_lookup): Adjust default SPF error message
	verbiage.

	* courier/webadmin/admin-47webmail.pl: Fix pcp restart.

2004-08-15  Mr. Sam  <mrsam@courier-mta.com>

	* rfc1035/spf.c (rfc1035_spf_lookup): draft-mengwong-spf-01.txt
	implementation.

2004-08-12  Mr. Sam  <mrsam@courier-mta.com>

	* imap/imapd.c (do_imap_command): [READ-WRITE] and [READ-ONLY] reflect
	ACL rights.

2004-08-07  Mr. Sam  <mrsam@courier-mta.com>

	* courier/libs/comsubmitclient.c (submit_set_teergrube): Install
	callback function on an error message from submit, called before
	the error message is printed (implementing tarpit wait before
	returning the error message).

2004-08-06  Mr. Sam  <mrsam@courier-mta.com>

	* authlib/configure.in: Fix usage of mysql_config

2004-08-05  Mr. Sam  <mrsam@courier-mta.com>

	* imap/testsuite (IMAP_SHAREDINDEXFILE): Fix a bash-ism.

0.46.0

2004-07-26  Mr. Sam  <mrsam@courier-mta.com>

	* courier/doc/Makefile.am: Moved some man pages to more appropriate
	man sections.

2004-07-23  Mr. Sam  <mrsam@courier-mta.com>

	* soxwrap: use the Courier Socks library.

2004-07-22  Mr. Sam  <mrsam@courier-mta.com>

	* gpglib/export.c (libmail_gpg_exportkey): Fix off-by 1 in GPG key
	export.

2004-07-21  Mr. Sam  <mrsam@courier-mta.com>

	* authlib/authmysqllib.c (auth_mysql_getuserinfo): Fix options field.

2004-07-18  Mr. Sam  <mrsam@courier-mta.com>

	* webmail/folder.c (get_textlink): Fix HTTP redirect in the anomalous
	case where SCRIPT_NAME is empty.

	* imap/imapscanclient.c (fnamcmp): Ignore :s when comparing filenames
	during maildir scan (fixes anomalous cases with nonstandard filenames).

2004-07-12  Mr. Sam  <mrsam@courier-mta.com>

	* imap/outbox.c (is_outbox): Make OUTBOX work again.

2004-06-27  Mr. Sam  <mrsam@courier-mta.com>

	* all: Update GNU toolchain.

	* rfc1035/rfc1035qptr.c (ptr): IPv6 reverse DNS lookups switch to
	ip6.arpa.

2004-06-22  Mr. Sam  <mrsam@courier-mta.com>

	* courier/doc/Makefile.am (nohtmlin): Add link to
	http://www.courier-mta.jp

2004-06-18  Mr. Sam  <mrsam@courier-mta.com>

	* authlib/authldaplib.c: Conditionally define LDAP_OPT_SUCCESS if
	not defined by <ldap.h>.

2004-06-18  Laurent Wacrenier <lwa@teaser.fr>

	* maildir/maildirquota.c (docount): Fix quota parsing bug on 64bit
	off_t systems.

2004-06-13  John Morrissey <jwm@horde.net>

	* imap: Add MAILDIRPATH setting to imapd-ssl and pop3d-ssl
	configuration files.

2004-06-13  Mr. Sam  <mrsam@courier-mta.com>

	* imap/smap.c (dump_hdrs): Added FETCH RAWHEADERS command.

2004-06-12  Mr. Sam  <mrsam@courier-mta.com>

	* liblog/logger.c (startchild): Close stderr after initializing
	the monitored process.  Fixed hanging file descriptor to the terminal.

0.45.6

2004-06-11  Mr. Sam  <mrsam@courier-mta.com>

	* folder.c (print_header_uc): Escape header name.

2004-06-06  Mr. Sam  <mrsam@courier-mta.com>

	* courier/submit.C (do_checkfreemail): Temporary DNS lookup failures
	will not fault freemail.

	* rfc2045/rfc2045.h: Clean up and re-factor out MIME header parsing
	into a new function: rfc2045_parse_mime_header.

2004-05-24  Mr. Sam  <mrsam@courier-mta.com>

	* authlib/configure.in: Add #include <sys/types.h> in probe for
	-lresolv.

2004-05-21  Mr. Sam  <mrsam@courier-mta.com>

	* webmail/maildir.c: Purging the Trash folder didn't
	update the quota correctly when compiled with --with-trashquota.

2004-05-19  Mr. Sam  <mrsam@courier-mta.com>

	* maildir/maildirquota.c (do_deliver_warning): Make quota warning
	message work correctly with NFS.
	(do_maildir_openquotafile): Make quota calculations 64bit-safe (based
	on patch from Michael Kefeder <ml@weird-birds.org>).

2004-05-18  Mr. Sam  <mrsam@courier-mta.com>

	* acl.c (maildir_shared_index_file): Complain if shared index file
	does not exist.

	* mailboxlist.c (maildir_shared_index_file): Complain if shared
	index file does not exist.

	* courier/submit.C (getrcpts): Rename original Return-Path: header as
	Old-Return-Path. instead of >Return-Path.

2004-05-17  Hatuka*nezumi - IKEDA Soji <nezumi@jca.apc.org>

	* all: Improve MIME encoding of message headers for East Asian
	character sets.

2004-05-17  Mr. Sam  <mrsam@courier-mta.com>

	* imap/capability.c (imapcapability): Announce XMAGICTRASH capability

	* imapd.c (do_imap_command): Fix #shared in NAMESPACE reply

0.45.5

2004-05-10  Mr. Sam  <mrsam@courier-mta.com>

	* esmtpd.dist.in (TCPDOPTS): Bump version of AUTHMODULES, so that
	upgrade correctly initializes it, where it was empty before.  Get
	rid of AUTHMODULES_WEBADMIN.

	* esmtpd-ssl.in (AUTHMODULES): AUTHMODULES environment variable must
	now list the authentication modules even if authenticated SMTP is
	disabled.  Turn off only ESMTPAUTH.

	* esmtpd.in: Ditto.

	* courier/webadmin/admin-30esmtp.pl: Webadmin will not set
	AUTHMODULES anymore, only ESMTPAUTH.

2004-05-09  Mr. Sam  <mrsam@courier-mta.com>

	* authlib/authpgsqllib.c: fixed dash-extensions

2004-05-09  Jeff Potter <jpotter-courier@codepuppy.com>

	* authlib/authmysqllib.c: fixed dash-extensions

2004-05-09  Mr. Sam  <mrsam@courier-mta.com>

	* courier/doc/courier.sgml: Removed description of 'authmodulelist'
	configuration file from the courier(8) man page.

	* makedat/makedat.in: Skip subdirectories named "CVS".  Allows all
	directory-based lists (makesmtpaccess, etc...) to be managed via CVS.

	* courier/sendmail.c (main): Clear AUTHMODULES environment variable,
	preventing it from being set via the command line.  As always,
	mail from local is not recipient-verified, so that the authentication
	verification will be completely bypassed in the local module.

	* courier/module.local/local.c (rw_del_local): Read authentication
	module list from the AUTHMODULES environment variable.

	* courier/module.esmtp/authstart.c: Read authentication module list
	from the AUTHMODULES environment variable.  Mandate that authstart
	must be invoked by the mail user.

	* authlib/configure.in: Back out the patch to disable creation of
	authdaemon.msg - needed by the Courier-IMAP build.

	* pcp/pcpdauth.c: Make pcp use AUTHMODULES environment variable instead
	of the deprecated authmodules file.

2004-05-09  Brian Candler <B.Candler@pobox.com>

	* sqwebmail: Update startup banner msg to reflect new startup command.

2004-05-08  Mr. Sam  <mrsam@courier-mta.com>

	* Makefile.am: Do not install authmodulelist.

	* webmail/html: update copyright date.

2004-05-08  Brian Candler <B.Candler@pobox.com>

	* pop3dserver.c (do_retr): If error occured during RETR drop the
	connection (only sane thing to do).

2004-05-02  Brian Candler <B.Candler@pobox.com>

	* authlib: additional debugging.

	* maildir/maildirquota.c: additional debugging.

2004-05-07  Mr. Sam  <mrsam@courier-mta.com>

	* rfc1035/rfc1035qa.c (we_have_that_ipv4): Fix pointer comparison.

	* rfc1035/rfc1035dumprrdata.c (rfc1035_dumprrdata): Fix pointer
	comparison.

	* maildir/maildirkw.c (doit_locked): Fix pointer comparison.

	* maildir/maildirfilter.h: Compilation fix.

2004-05-03  Mr. Sam  <mrsam@courier-mta.com>

	* webmaild.in: Fix PCP start script.

2004-05-01  Brian Candler <B.Candler@pobox.com>

	* sqwebmail: convert startup scripts to use new courierlogger wrapper.

	* sqwebmail: replace all syslog calls to stderr, now captured by
	courierlogger.

2004-04-24  Mr. Sam  <mrsam@courier-mta.com>

	* maildrop/recipenode.C (Evaluate): Do not trap the exit statement
	within an exception {} block. exit will now really exit.

2004-04-24  Brian Candler <B.Candler@pobox.com>

	* authlib/authdaemond.c (authnext): Do not report unknown
	authentication modules -- unwanted noise.

2004-04-24  Lloyd Zusman <ljz@asfast.com>

	* courier/courier.c (main): --version option to the courier command.

	* courier/module.esmtp/courieresmtpd.c: new config option
	ESMTP_LOG_DIALOG

2004-04-24  Mr. Sam  <mrsam@courier-mta.com>

	* liblog/courierlogger.sgml: courierlogger man page.

2004-04-23  Brian Candler <B.Candler@pobox.com>

	* liblog/courierlogger: New courierlogger.

	* pop3dserver.c (scancur): Report an error if authentication module
	started pop3d in a wrong directory.

	* Makefile.am: Do not overwrite existing PAM configuration files.

2004-04-20  Brian Candler <B.Candler@pobox.com>

	* authlib/authmysqllib.c (auth_mysql_getuserinfo): More SQL fixes.

	* maildir/maildirgetnew.c (do_maildir_getnew): Fix infinite loop if
	rename() syscall fails.

2004-04-19  Brian Candler <B.Candler@pobox.com>

	* authlib/authtest.c: Additional logging messages.

	* Documentation fixes.

2004-04-18  Mr. Sam  <mrsam@courier-mta.com>

	* liblog: new directory for courierlogger, moved out of tcpd.

2004-04-11  Brian Candler <B.Candler@pobox.com>

	* all: additional logging messages.  Set log level via --with-syslog

2004-04-11  Alessandro Vesely <vesely@tana.it>

	* courier/filters/courierfilter.c: Various fixes.

2004-04-11  Lloyd Zusman <ljz@asfast.com>

	* courier/submit.C (getrcpts): Add the internal queue ID to the
	Received: header.

2004-04-11  Mr. Sam  <mrsam@courier-mta.com>

	* rfc822/rfc2047.c (a_rfc2047_encode_str): Improve compliance with
	RFC 2047 for MIME-encoded recipient lists.
	(rfc2047_encode_callback): New argument: qp_allow - function that
	indicates acceptable characters in QP-encoded words.
	(rfc2047_encode_str): Ditto.
	(rfc2047_qp_allow_any, rfc2047_qp_allow_comment) 
	(rfc2047_qp_allow_word): Possible arguments to qp_allow for various
	situations.

	* webmail/maildir.c (subjectcmp): Decode message subject to UTF-8
	before sorting folder by subject.

	* imap/thread.c (thread_ref_callback): MIME-decode the subject header
	to UTF-8 before running the THREAD REFERENCES algorithm.

2004-04-09  Mr. Sam  <mrsam@courier-mta.com>

	* rfc2045/rfc2045cdecode.c (do_decode_base64): Long overdue - use
	a precomputed base64 decoding table.

	* rfc822/encode.c: Moved rfc2045/rfc2045encode.c here, renamed all
	functions to use the libmail_ prefix.

0.45.4

2004-04-05  Willi Mann <newsletters@wm1.at>

	* newmsg.c (dosendmsg): Fix corrupted return address.

2004-03-29  Dmitry Sukhodoev <raven@bingo.ru>

	* newmsg_create.c (lookup_addressbook): Fix double-RFC2047 encoding
	when sending a message.

2004-04-01  Mr. Sam  <mrsam@courier-mta.com>

	* courier/Makefile.am: use _SCRIPTS target for sharedindexsplit
	and sharedindexinstall (some install programs are finicky).

0.45.3

2004-03-31  Mr. Sam  <mrsam@courier-mta.com>

	* imapd.c (do_expunge): Fix expunge from Trash when
	IMAP_MOVE_EXPUNGE_TO_TRASH is set.

2004-03-30  Mr. Sam  <mrsam@courier-mta.com>

	* courier/dotforward.c (readforward): Make dotforward understand
	"" on .forward lines with multiple addresses.

2004-03-26  Mr. Sam  <mrsam@courier-mta.com>

	* courier/configure.in: Make the better ulimit probe even better.

2004-03-25  Brian Candler <B.Candler@pobox.com>

	* imap/imapd.dist.in: Clarify AUTHMODULES setting.

	* imap/pop3d.dist.in: Clarify AUTHMODULES setting.

2004-03-25  Ondrej Jombik <nepto@pobox.sk>

	* imap/fetch.c (fetchitem): Fix sigsegv caused by null ptr deref on
	open error.

2004-03-25  Lloyd Zusman <ljz@asfast.com>

	* courier/configure.in: Use a better probe for the right ulimit option.

2004-03-21  Mr. Sam  <mrsam@courier-mta.com>

	* imapd.c (getacl_cb): Fix negative rights for ACL1.
	(acl2_identifier): Ditto.

2004-03-17  Mr. Sam  <mrsam@courier-mta.com>

	* testsuite (OPTIONS): Fix a bash-ism.

	* smaptestsuite (IMAP_SHAREDINDEXFILE): Ditto.

0.45.2

2004-03-16  Mr. Sam  <mrsam@courier-mta.com>

	* courier/webadmin/admin-30esmtp.html: monkeys.com BL is defunct.
	Replace with spamhaus.org.

2004-03-13  Flavio Stanchina <flavio@stanchina.net>

	* rfc2045/reformime.c (extract_pipe): Program invoked by reformime -X
	must exit with zero exit status.  A non-zero exit status terminates
	reformime.  reformime's exist status will be 20+child process's exit
	status.

2004-03-13  Mr. Sam  <mrsam@courier-mta.com>

	* imapd.c (acl_read_folder): Add the 'x' right for filesystem-based
	shared folders, even though it's not true; but it's needed for ACL1
	compatibility.

2004-03-11  Mr. Sam  <mrsam@courier-mta.com>

	* authlib/configure.in: netinet/in.h needs sys/types.h on xBSD.

	* courier/configure.in: Ditto.

2004-03-10  Mr. Sam  <mrsam@courier-mta.com>

	* maildir/maildirkeywords.h: Sun C++ compiler fix.

0.45.1

2004-03-09  Mr. Sam  <mrsam@courier-mta.com>

	* maildir/maildirrename.c (scan_aclhier2_rename): Check dirp is not
	NULL before closing it.
	* maildir/maildirrename.c (scan_maildir_rename): Ditto.

	* maildir/maildirmake2.c (maildir_del): xBSD portability fix.

2004-03-09  Aleksander Adamowski <aleksander.adamowski.courier@altkom.pl>

	* courier/ldapaliasd.c (search_virtual): Remove hardcoded source
	field.

0.45

2004-03-02  Mr. Sam  <mrsam@courier-mta.com>

	* authlib/configure.in: BSD needs netinet/in.h before resolv.h

	* courier/configure.in: BSD needs netinet/in.h before resolv.h

2004-02-29  Mr. Sam  <mrsam@courier-mta.com>

	* webmail/maildir.c (maildir_markread): Check for SEEN permission.
	(maildir_markreplied): Check for WRITE permission.
	(do_msgmove): If appropriate, check for SEEN, WRITE, and DELETEMSGS
	permission on the destination folder, and turn off the respective
	flags on the message being copied into that folder.
	(foldercountfilename): Move message count cache files from each folder
	into the sqwebmail-curcache directory, to avoid race conditions from
	concurrent access.
	(maildir_checknew): Check for EXPUNGE permission before expunging
	messages.
	(dodirscan): Read message count cache file from the sqwebmail-curcache
	directory.

	* webmail/folder.c (folder_delmsgs): Check for DELETE permission.
	Also check for INSERT permission on destination folder if moving the
	messages.
	(savepath): Cache public folder accounts we've seen, for message
	move dropdown list (so that messages can be moved between public
	accounts).  Up to two most recent public folder accounts are cached.
	(show_transfer_dest_real): Include cached public folder accounts in
	the dropdown list.
	(do_folderlist): Various fixes.

2004-02-22  Mr. Sam  <mrsam@courier-mta.com>

	* webmail/maildir.c (maildir_delete): After deleting a folder, delete
	its ACLs.

	* webmail/folder.c (checkrename): Check ACLs for folder rename.
	(checkcreate): Check ACLs for folder create.
	(folder_list): Check ACLs for folder delete.

	* webmail/acl.c (acl_computeRightsOnFolder): Plug leak.

	* webmail/folder.c (folder_contents): Check for ACL_READ permission
	when opening a folder.
	(show_transfer_dest): Only show folders with ACL_INSERT permissions
	in the drop-down for the destination folder of message move.
	(folder_list): Fix memory stomp.
	(folder_rename_dest_real): Only show hierarchies with ACL_CREATE
	permissions in the drop-down for destination folder of folder rename.

2004-02-19  Mr. Sam  <mrsam@commodore.email-scan.com>

	* sqwebmail.c (start_daemon): Close stdin/stdout/stderr after
	starting authdaemond.

2004-02-18  Mr. Sam  <mrsam@courier-mta.com>

	* courier/ldapaliasd.c (search_maildrop): Replaced hardcoded "source"
	with the proper variable.

	* Various fixes for the X86-64 platform.

2004-02-17  IKEDA Soji <nezumi@jca.apc.org>

	* webmail/auth.c: new config file authcharset specifies character set
	for account names, from the authentication record.

2004-02-16  Mr. Sam  <mrsam@courier-mta.com>

	* webmail: Initial partial virtual shared folder implementation. New
	screen to modify folder ACLs.  Partial ACL implementation: implement
	the "visible (lookup)" and "administer" ACLs.  Other ACLs are ignored
	for now.  Some minor things are known to be broken when used on
	virtually-shared folders.

2004-02-15  Mr. Sam  <mrsam@courier-mta.com>

	* maildir/maildiraclt.c (maildir_acl_canlistrights): New function
	moved from imap code, to be shared by sqwebmail.

2004-02-13  IKEDA Soji <nezumi@jca.apc.org>

	* ldaplist.c (getfiltern): Convert query to utf8. New query
	operators "ends with" (*=) and "contains" (*=*).

2004-02-11  Mr. Sam  <mrsam@courier-mta.com>

	* smap.c (do_listcmd): Fix SMAP ACL.

	* unicode/big5.c (c2u_doconv): C portability fix.
	gb2312: ditto.

2004-02-09  IKEDA Soji <nezumi@jca.apc.org>

	* Big5, euc-jp, gb2312, ksx1001, shiftjis: let these functions handle
	their own conversion errors.

2004-02-07  IKEDA Soji <nezumi@jca.apc.org>

	* Big5:  Add non-hanzi maps.  Add ETen extension.  Add Big5-HKSCS
	charset.

	* Gb2312: Add non-hanzi maps.

	* Let iso2022-jp functions handle their own conversion errors.

2004-02-07  Jan Zimmerschied <jan@z4fun.de>

	* RPM spec file for SUSE.

2004-02-02  IKEDA Soji <nezumi@jca.apc.org>

	* iso2022jp.h: Maps for CJK Compatibility Ideographs has been added.

	* ksx1001.c: New character sets: ISO-2022-KR, EUC-KR, CP949,
	ISO-2022-JP-1.

2004-02-01  Mr. Sam  <mrsam@courier-mta.com>

	* sqwebmail.c (rename_sent_folder): Fix internal error boner.

	* unicode/iso88597.c: Updated from unicode.org.

	* unicode/unicode_ultcasetab.c: Updated from unicode.org

2004-02-01  IKEDA Soji <nezumi@jca.apc.org>

	* iso2022jp.pl / iso2022jp.h: JIS X 0208 mapping has been updated
	based on latest regional standard (JIS X 0208:1997) and some vendor 
	standards. Errorneous (lacking or false) mappings has been fixed.
	Support for older JIS X 0208 (JIS C 6226:1978) mapping was added.
	JIS X 0212:1990 mapping was added.

	* iso2022jp.c: Converters became (upper-)compatible with ISO-2022-JP 
	(RFC1468 / JIS X 0208:1997 Annex 2) and ISO-2022-JP-1 (RFC2237).
	Buffer overflow vulnerability (when Unicode character is out 
	of BMP range) has been closed. Convert error handling was implemented.

	* shiftjis.c: Broken SHIFT_JIS converters has been fixed and became 
	(upper-)compatible with Shifted Encoding Method (JIS X 0208:1997
	Annex 1). Buffer overflow vulnerability (when Unicode character is out 
	of BMP range) has been closed. Convert error handling was implemented.

	* eucjp.c: New converters for EUC-JP.

2004-01-31  Mr. Sam  <mrsam@courier-mta.com>

	* maildir.c (xlate_mdir): Temporary diagnostics if
	maildir_info_imap_find() fails; looking for the real fix.

2004-01-31  Mr. Sam  <mrsam@courier-mta.com>

	* courier/module.esmtp/courieresmtpd.c (rcpttolocal): Rewrite
	RCPT TO:<user@[TCPLOCALIP]> as RCPT TO:<user@defaultdomain>

	* courier/doc/courier.sgml: Supplement defaultdomain documentation.

	* courier/module.uucp/configure.in (SYSCONFDIR): Set same as sysconfdir
	for Docbook.

2004-01-31   Jon Nelson <jnelson-courier@jamponi.net>

	* courier/filters/filterctl.in (pidfile): Use value of --with-piddir
	option, instead of assuming the default location.

	* courier/module.esmtp/esmtpd-ssl.dist.in (SSLPIDFILE): Ditto.

	* courier/module.esmtp/esmtpd-msa.dist.in (PIDFILE): Ditto.

2004-01-25  Mr. Sam  <mrsam@courier-mta.com>

	* sqconfig.c (write_sqconfig): Update config file by writing to temp
	file, then renaming.  Makes sure that sqwebmail_curcnt files will be
	safe for concurrent updates in the future.

2004-01-24  Mr. Sam  <mrsam@courier-mta.com>

	* Massive overhaul of the folder naming scheme to match Courier-IMAP's,
	in preparation for support of virtual shared folders.

2004-01-24  Mr. Sam  <mrsam@courier-mta.com>

	* maildir/maildirinfo.c: replace getenv("AUTHENTICATED") with an
	extra parameter.

2004-01-23  Malcolm Rowe <malcolm-courier@farside.org.uk>

	* html/en-us/smileys.txt: Add HTML tags to smileys.

2004-01-23  Alessandro Vesely <vesely@tana.it>

	* tcpd/tcpd.c (parseaddr): One-liner.

2004-01-23  Jan Zimmerschied <jan@z4fun.de>

	* Add MAILDIRPATH to config files, that defines the default Maildir
	location in the startup script.  Fix autoconf paths in the config
	files.

2004-01-23  Mr. Sam  <mrsam@courier-mta.com>

	* authlib/authmysqllib.c (auth_mysql_getuserinfo): It's really
	named MYSQL_AUXOPTION_FIELD.

2004-01-18  Mr. Sam  <mrsam@courier-mta.com>

	* Implement account options: disableimap, disablepop3, sharedgroup.

	* Courier-IMAP: Move courierlogger from libexecdir to sbindir

	* authdaemond: replace stderr diagnostics to syslog().  authdaemond's
	stderr doesn't go anywhere.

2004-01-14  Courier User <courier@asfast.net>

	* maildrop: VAR="" does not remove the variable.  New unset command
	does that.

2004-01-14  Troy Benjegerdes <hozer@hozed.org>

	* maildrop/maildir.C: AFS patch - rename if link fails due to EXDEV

2004-01-13  Mr. Sam  <mrsam@courier-mta.com>

	* Rebuild all docbook SGML stuff.

	* Fix SMAP testsuite.

2004-01-13  Michael Bowe <mbowe@pipeline.com.au>

	* authvchkpw update.
	
2004-01-12  Mr. Sam  <mrsam@courier-mta.com>

	* mailboxlist.c (list_newshared_shortcut): Fix list #shared.%.%, for
	Mozilla.

	* imapd.c (do_imap_command): ACL fixes.  Quota fixes.

2004-01-11  Mr. Sam  <mrsam@courier-mta.com>

	* smap.c: Fix SMAP ACL implementation.

	* imapd.c (aclstore): Fix gcc-ism.

2004-01-10  Michael Bowe <mbowe@pipeline.com.au>

	* authvchkpw update.
	
2004-01-10  Mr. Sam  <mrsam@courier-mta.com>

	* imap: Implement virtual shared folders + ACL.

2004-01-08  Mr. Sam  <mrsam@courier-mta.com>

	* courier/cdmsgq.C (queuescan3): Remove orphaned queue file name.

2003-12-27  Mr. Sam  <mrsam@courier-mta.com>

	* maildir/maildirmake2.c (maildir_make): Fix memory leak.

	* maildir/maildirkeywords2.c (doReadKeywords2): Fix memory leak
	when keywords are not enabled.

2003-12-25  Mr. Sam  <mrsam@courier-mta.com>

	* unicode/unicode.h: Formal unicode structure for IMAP's modified-UTF7
	coding.

2003-12-23  Mr. Sam  <mrsam@courier-mta.com>

	* rfc1035/configure.in: Fix --with-ipv6 option parsing.

2003-12-20  Mr. Sam  <mrsam@courier-mta.com>

	* imap/imapd.c (do_imap_command): Drop kludge for Sun's StarOffice.

2003-12-13  Mr. Sam  <mrsam@courier-mta.com>

	* imap/smap.c: Remove legacy SHARED support from SMAP1.

2003-12-12  Mr. Sam  <mrsam@courier-mta.com>

	* imap/imapscanclient.c (do_imapscan_maildir2): autocreate
	courierimapkeywords directory if a folder doesn't have it.

2003-12-07  Mr. Sam  <mrsam@courier-mta.com>

	* imap/imapd.c (set_namespace_options):  Drop #allfolders hack.
	Conflicts with new ACL code.
	* README.html (href): Remove #allfolders description.

2003-12-03  Mr. Sam  <mrsam@courier-mta.com>

	* imap/fetchinfo.c (alloc_headerlist): Allow header names to be
	quoted (+more).

2003-11-30  Mr. Sam  <mrsam@courier-mta.com>

	* imap/mailboxlist.c (mailbox_scan): Replaced mailbox_list() with a
	callback-based mailbox_scan(), fixing empty reference name case
	along the way.  The mailboxes are listed in the callback function.

2003-11-29  Mr. Sam  <mrsam@courier-mta.com>

	* maildir/maildirdelfolder.c: maildir_mddelete superceded by
	maildir_del().


2003-11-28  Mr. Sam  <mrsam@courier-mta.com>

	* maildir/maildirshared2.c (maildir_shareddir): Move maildir_shareddir
	from maildirshared.c, so that a reference to this function does not
	pull in the entire db dependency tree.

0.44.3

2003-12-19  Mr. Sam  <mrsam@courier-mta.com>

	* unicode: Fix toupper_func/tolower_func/totitle_func for shiftjis,
	big5, utf8, utf7, iso2022jp: function may return a NULL even when
	requested to ignore conversion errors.

2003-12-17  Mr. Sam  <mrsam@courier-mta.com>

	* authlib/authmysqllib.c (get_variable): Fix warning.

2003-12-16  Mr. Sam  <mrsam@courier-mta.com>

	* rfc1035/rfc1035.h (RFC1035_ADDRANY): Fix definition for non-IPv6
	systems.

2003-12-15  Gordon Messmer <yinyang@eburg.com>

	* ReiserFS fix.

2003-12-15  Johannes Erdfelt <johannes@erdfelt.com>

	* courier/module.esmtp/esmtpclient.c (get_sourceaddr): Option to
	bind outgoing ESMTP socket to a specific IP address.

2003-12-15  Mr. Sam  <mrsam@courier-mta.com>

	* configure.in: Fix disable-root-check.

2003-12-14  James A Baker <jabaker@mac.com>

	* folder.c: Optimize HTML on the folder index screen.

2003-12-09  Mr. Sam  <mrsam@courier-mta.com>

	* maildir/maildirrename.c (validrename): Rename foo to foo.bar is not
	kosher.  Compile list of directories to rename first, sort, then
	rename.

2003-11-23  Jeff Potter  <jpotter-courier@codepuppy.com>

	* courier/libs/islocal.c: Added .domain.com checks so that hosteddomain
	entries can support wildcard DNS.
	* courier/doc/makehosteddomains.{8,html}.in: Added info on how to use
	wildcard DNS with hosteddomains.

0.44.2

2003-11-28  Mr. Sam  <mrsam@courier-mta.com>

	* courier/pop3d-ssl.in (sysconfdir): Fix typo.

0.44.1

2003-11-27  Mr. Sam  <mrsam@courier-mta.com>

	* Simple check in startup scripts that make install-configure has been
	run.

2003-11-25  Mr. Sam  <mrsam@courier-mta.com>

	* sqwebmail.h (VALIDCGIVAR): Forward all SQWEBMAIL_ environ variables
	to sqwebmaild.

2003-11-23  James A Baker <jabaker@mac.com>

	* folder.c (folder_navigate): Show folder navigation bar at top and
	the bottom of the message list.

2003-11-18  Tim Rice <tim@multitalents.net>

	* rfc822/configure.in: Fix MSG_WARN.

2003-11-15  Mr. Sam  <mrsam@courier-mta.com>

	* Update to automake 1.7.8, autoconf 2.57, libtool-1.5, gettext-0.12.1

2003-11-11  Mr. Sam  <mrsam@courier-mta.com>

	* courier/cmlm3.C (fromverp): Allow lower or uppercase hexadecimal
	VERP encoding.

2003-11-04  John Belmonte <jvb@prairienet.org>

	* courier/cmlm.C (goodconfirm): Added SIMPLECONFIRM option.

2003-11-01  Mr. Sam  <mrsam@courier-mta.com>

	* sqwebmail: Split sqwebmail into sqwebmail and sqwebmaild.
	sqwebmaild is now a root daemon process that listens on a UNIX
	domain socket.  sqwebmail is a tiny, unprivileged cgi-bin stub that
	forwards the HTTP request to the daemon process.  Update INSTALL
	and SECURITY.  Remove FastCGI support; not compatible with the new
	framework.

	The stub passes the client's file descriptor to sqwebmaild, on
	platforms that support passing file descriptors, else it proxies
	http traffic in both directions.

2003-10-30  Mr. Sam  <mrsam@courier-mta.com>

	* maildir/maildirlock.c (maildir_lock): Fix double-free() call.

2003-10-30  James A Baker <jabaker@mac.com>

	* folder.c: CSS fixes; Javascript-based select/unselect all button;
	show "xx-yy of zzz" on the folder index screen.

	* folder.c: Show first/last button; jump-to button.

	* images: New PNG images.

0.44.0

2003-10-15  Filipe Brandenburger <filipe@procergs.rs.gov.br>

	* maildrop/message.C (Init): If compiled with CRLF_TERM, account for
	CRs in the message size.

2003-10-10  Dmitry Lebkov <dima@sakhalin.ru>

	* maildrop/mdldapconfig.c (get_ldap_config): Allow comments in
	ldap config file (N/A).

	* maildrop/mdmysqlconfig.c (get_mysql_config):  Allow comments
	in mysql config file.  Remove redundant mailstatus field. (N/A)

2003-10-27  Mr. Sam  <mrsam@courier-mta.com>

	* imap/search.c (search_body_func): Ignore charset conversion errors
	when doing a SEARCH (GIGO principle).

2003-10-25  Jon Nelson <jnelson-courier@jamponi.net>

	* imapd.c (main): Reset umask before opening the debug file.

2003-10-24  Mr. Sam  <mrsam@courier-mta.com>

	* courier/doc/links.html: Added link to courier-users.jp

2003-10-21  Mr. Sam  <mrsam@courier-mta.com>

	* courier/Makefile.am: Respect $(EXEEXT)

	* tcpd: Respect $(EXEEXT)

	* authlib: Respect $(EXEEXT)

	* libhmac: Respect $(EXEEXT) 

	* rfc2045/testsuite: Fix enable-mimecharset breaking make check.

2003-10-20  Mr. Sam  <mrsam@courier-mta.com>

	* rfc822/rfc2047u.c (rfc2047_print_unicode): Unicode-aware version of
	rfc2047_print().

	* webmail/folder.c (showmsgrfc822_addressheader): Use
	rfc2047_print_unicode.

2003-10-13  Mr. Sam  <mrsam@courier-mta.com>

	* imapd.c (imap_addRemoveKeywords): Remove duplicate message sequence
	numbers from message list (causes infinite loop due in keyword
	support for +FLAGS/-FLAGS).
	* maildir/maildirkeywords2.c (read_updates): Ditto.

2003-10-11  Paul L. Allen <pla@softflare.com>

	* webmail/sv-make_timezonelist.pl: Autogenerate timezones for the
	login dropdown.

2003-10-10  Brian Candler <B.Candler@pobox.com>

	* maildir/loginexec.c (maildir_loginexec): Hook for Maildir/loginexec,
	if exists it's executed, then removed.  Used for migration-type
	situations.

	* images/sqwebmail.css: Set background colors via the style sheet.

	* sqwebmail.c (error3): More informative error messages.

2003-10-05  Mr. Sam  <mrsam@courier-mta.com>

	* courier/cdfilters.C (dofilter): Try five times to connect to a
	filter, before giving up.

	* imap/imapscanclient.c (do_imapscan_maildir2): Workaround for
	filesystems that keel over if files are deleted in the directory
	that's being read at the same time.
	* maildir/maildirgetnew.c (do_maildir_getnew): Ditto.

	* maildir: Cleanup.  Remove config.guess and config.sub.

	* pop3dserver.c (main): Replaced scannew with maildir_getnew().

2003-10-02  Mr. Sam  <mrsam@courier-mta.com>

	* imapd.c: When IMAP_MOVE_EXPUNGE_TO_TRASH is set, be smart and
	do not move to Trash a message that's been expunged after it was
	copied to another folder.

2003-10-01  Mr. Sam  <mrsam@courier-mta.com>

	* courier/filters/perlfilter/perlfilter-example.pl: Comments, update
	to Perl 5.8, mark as %config in RPM.

2003-09-30  Mr. Sam  <mrsam@courier-mta.com>

	* courier/submit.C (checkdns): Ignore BOFHCHECKDNS if BLOCK is
	already set.

2003-09-29  Mr. Sam  <mrsam@courier-mta.com>

	* courier/filters/dupfilter.sgml: dupfilter and mailing lists don't
	mix.

	* maildrop/mio.C: Cleanup. Drop some dead code.

	* imapd.c (store_mailbox): Optimize APPEND performance.  Based on a
	patch by Anssi Raittila <Anssi.Raittila@tecnomen.fi>.

	* courier/module.local/localmail.c (wait_delivery): Log the error 
	message from submit when an internal forward fails.

2003-09-28  courier@asfast.net

	* courier/bofh.c (chkusersubdom): bofh badfrom user@.domain rejects
	all mail with the return address of <user@anything.domain>.

2003-09-25  Mr. Sam  <mrsam@courier-mta.com>

	* bdbobj/bdbobj.c (bdbobj_open): Fix dbf_open call for db 3.x

2003-09-22  Mr. Sam  <mrsam@courier-mta.com>

	* courier/submit2.C (MessageEnd): Do not run localmailfilters against
	DSNs.

	* webmail/newmsg_create.c (header_wrap): Wrap excessively long
	headers to multiple lines.

	* webmail/maildir.c (maildir_readheader_mimepart): When folding
	multiline headers, replace newline+spaces with a single space.

2003-09-22  Gordon Messmer <yinyang@eburg.com>

	* courier.spec.in: Cleanup and reformatting.

2003-09-22  Mr. Sam  <mrsam@courier-mta.com>

	* imap/smap.c:  getenv("MAILDIRQUOTA") as last argument to
	maildir_quota_add_start().

2003-09-22  Brian Candler <B.Candler@pobox.com>

	* imap/imapd.c: getenv("MAILDIRQUOTA") as last argument to
	maildir_quota_add_start().

2003-09-21  Mr. Sam  <mrsam@courier-mta.com>

	* userdb/makeuserdb.in: Make sure makeuserdb emits a trailing
	newline after each processed file.

2003-09-13  Mr. Sam  <mrsam@courier-mta.com>

	* courier/doc/links.html (href): RAV bought by Microsoft, no more
	RAV support.

0.43.2

2003-09-07  Mr. Sam  <mrsam@courier-mta.com>

	* maildrop/main.C (nouser): Really use EX_NOUSER for undefined
	recipients.

2003-09-02  Mr. Sam  <mrsam@courier-mta.com>

	* courier/submit.C (getsender): Implement BOFHCHECKHELO.

	* courier/module.esmtp/courieresmtpd.c (ehlo): If received spaces
	in HELO/EHLO, silently change them to underscores.

	* courier/module.local/preline.c: Add usage() if no arguments.

2003-09-01  Sergio Gelato <Sergio.Gelato@astro.su.se>

	* imap: Set timestamp on new message file after it is moved from tmp
	to new.

2003-08-27  Mr. Sam  <mrsam@courier-mta.com>

	* imap/smap.c (applyflags): Fix SMAP STORE KEYWORDS again.

2003-08-26  Mr. Sam  <mrsam@courier-mta.com>

	* imap/smap.c (smap): Fix SMAP STORE KEYWORDS.

	* Makefile.am (install-check-umask): Check umask before running the
	rest of make install.

	* tcpd/starttls.c (connect_completed): Initialize
	TLS_CONNECTED_PROTOCOL before running the wrapped child process.

	* tcpd/libcouriertls.c (tls_connecting): New function checks if
	SSL/TLS negotiation is still in progress on a non-blocking socket.

	* courier/module.esmtp/courieresmtpd.c (main): If invoked within a
	couriertls-wrapped connection, log TLS_CONNECTED_PROTOCOL in headers.

0.43.1

2003-08-19  Mr. Sam  <mrsam@courier-mta.com>

	* courier/doc/index.html (href): Add link to maildirkw.html

2003-08-18  Mr. Sam  <mrsam@courier-mta.com>

	* courier/webadmin/admin-35fax.pl: @s in dialing string weren't
	shown, sometimes.

	* imap/imapd.c (addRemoveKeywords): Do nothing unless keywords are
	enabled (fix CPU spin if IMAP_KEYWORDS are manually disabled).

0.43

2003-08-17  Mr. Sam  <mrsam@courier-mta.com>

	* authlib/authpgsqllib.c (auth_pgsql_getuserinfo): Fix memory
	corruption with custom select clause is enabled and long userids.

	* authlib/authmysqllib.c (auth_mysql_getuserinfo): Fix memory
	corruption with custom select clause is enabled and long userids.

2003-08-12  James A Baker <jabaker@mac.com>

	* folder.c (showaddressheader_printsep): Fix message preview.

	* html/en-us/index.html: Fix the frameset.

2003-08-09  Mr. Sam  <mrsam@courier-mta.com>

	* maildrop/main.C (nouser): Use EX_NOUSER for undefined virtual
	recipients.

	* maildrop/maildir.C (MaildirSave): Use KEYWORDS to initialize
	keywords for a maildir message.

	* imap/smap: attempt to detect whether someone else modified
	keywords while we were doing +KEYWORDS or -KEYWORDS, and, if so,
	rerun these commands.

2003-08-09  Brian Candler <B.Candler@pobox.com>

	* sqwebmail.c (catch_sig): Ignore signals when running under FastCGI.

2003-08-03  Mr. Sam  <mrsam@courier-mta.com>

	* Added the maildirkw command+man page.

2003-08-02  Mr. Sam  <mrsam@courier-mta.com>

	* bdbobj/bdbobj.c (bdbobj_open): Fix for DB 4.1 API.

2003-08-01  Mr. Sam  <mrsam@courier-mta.com>

	* Moved keyword support code into libmaildir.a.   Major cleanup.

2003-07-31  Mr. Sam  <mrsam@courier-mta.com>

	* imapscanclient.c: Keyword support cleanup.

	* imapd.c (bye): Clean up after an aborted APPEND.

2003-07-29  Mr. Sam  <mrsam@courier-mta.com>

	* authlib/configure.in: Add notice to forward all vpopmail
	questions to the vpopmail mailing list.

2003-07-24  James A Baker <jabaker@mac.com>

	* authlib/README.authmysql.html: Cleanup.

	* authlib/README.authpostgres.html: Cleanup.

	* courier/doc/courierd.html: Cleanup.

	* courier/doc/FAQ.html: Cleanup.

	* courier/doc/history.html: Cleanup.

	* courier/doc/index.html: Cleanup.

	* gpglib/README.html: Cleanup.

	* imap/FAQ.html: Cleanup.

	* imap/README.html: Cleanup.

	* maildir/README.maildirfilter.html: Cleanup.

	* maildir/README.sharedfolders.html: Cleanup.

	* maildrop/README.html.in: Cleanup.

	* pcp/README.html: Cleanup.

	* webmail/html/README_LANG.html.in: Cleanup.

	* html/en-us/folder.html: Cleanup.

	* html/en-us/quickadd.html: Cleanup.

	* html/en-us/newmsg.html: Cleanup.

	* html/en-us/eventdelete.html: Cleanup.

	* html/en-us/abooklist.html: Cleanup.

	* html/en-us/eventdaily.html: Cleanup.

	* html/en-us/eventweekly.html: Cleanup.

	* html/en-us/login.html: Cleanup.

	* html/en-us/ldapsearch.html: Cleanup.

	* html/en-us/eventmonthly.html: Cleanup.

	* html/en-us/spellchk.html: Cleanup.

	* html/en-us/gpgcreate.html: Cleanup.

	* html/en-us/keyimport.html: Cleanup.

	* html/en-us/gpgerr.html: Cleanup.

	* html/en-us/navbar3.inc.html: Cleanup.

	* html/en-us/navbar.inc.html: Cleanup.

	* html/en-us/navbar2.inc.html: Cleanup.

	* html/en-us/print.html: Cleanup.

	* html/en-us/calendarlogin.inc.html: Cleanup.

	* html/en-us/index.html: Cleanup.

	* html/en-us/printnocookie.html: Cleanup.

	* html/en-us/empty.html: Cleanup.

	* html/en-us/redirect.html: Cleanup.

	* html/en-us/printredirect.html: Cleanup.

2003-07-24  Mr. Sam  <mrsam@courier-mta.com>

	* imapscanclient.c: Create an API layer for the keyword read/update
	functionality in imapscan_readKeywords(), divorcing the implementation
	from the IMAP-specific data structure, in preparation for moving
	the entire logic into the generic maildir library.

	* smap.c (createSearch): Added SMAP SEARCH [range] command.

2003-07-23  James A Baker <jabaker@mac.com>

	* html/en-us/eventshow.html: Cleanup.

	* html/en-us/readmsg.html: Cleanup.

	* html/en-us/eventacl.html: Cleanup.

	* html/en-us/autoresponder.html: Cleanup.

	* html/en-us/invalid.html: Cleanup.

	* html/en-us/expired.html: Cleanup.

2003-07-21  Brian Candler <B.Candler@pobox.com>

	* webmail/sqwebmail.c (do_output_form_loop): Make bannerprog work with
	FastCGI

2003-07-22  Mr. Sam  <mrsam@courier-mta.com>

	* imap/smap.c (createSearch): Added SMAP SEARCH ALL command.

	* testsuite: Replace find with chmod -R, more portable.

2003-07-19  Mr. Sam  <mrsam@courier-mta.com>

	* imapscanclient.c: Move #define of KEYWORDDIR to maildirwatch.h

	* imapd: Plug several memory leaks found by valgrind.  One of the
	leaks is in libfam.  Reported the bug upstream.

	* maildirwatch: Use a single FAM connection, where possible, in order
	to minimize libfam leak.  Open another FAM connection only if the
	first one breaks.

	* pop3dserver.c (print_uidl): Redo UIDL computation once again.
	Version 2 UIDL format is upwards compatible from version 0/1
	courierpop3dsizelist formats, preserving legacy UIDLs.  See comments
	for the description of error recovery from out-of-disk space
	(quota-related) issues.

2003-07-18  Brian Candler <B.Candler@pobox.com>

	* imap/smaptestsuite: Ignore leading space from wc -l, differs between
	platforms.

2003-07-17  Mr. Sam  <mrsam@courier-mta.com>

	* imapscanclient.c: Rename new keyword update files after installing
	a new :list file.

	* tcpd/tcpd.c (mksockets): Use AF_INET for binds to IPv4 addresses,
	even on IPv6-capable machines.

2003-07-16  Mr. Sam  <mrsam@courier-mta.com>

	* webmail/sqwebmail.c (fix_xml_header): Emit correct charset in <?xml >
	header.

	* imap/smap: Implement custom keywords.  Custom keywords may be
	enabled/disabled in the configuration file.  Additionally, error
	checking has been tightened up: stuff that used to be tolerated,
	such as invalid messages flags, is now reported as an error.

2003-07-14  Jesse Guardiani <jesse@wingnet.net>

	* INSTALL.html: Document SQWEBMAIL_IMAGEURL

2003-07-14  James A Baker <jabaker@mac.com>

	* webmail/html/en-us/newevent.html: Cleanup.

	* webmail/html/en-us/filter.html: Cleanup.

	* webmail/html/en-us/preferences.html: Cleanup.

2003-07-14  Mr. Sam  <mrsam@courier-mta.com>

	* search.c (fill_search_preparse): Make SEARCH parse message flags and
	keywords only once, instead of once for each message.
	(search_oneatatime): Move main loop of search iteration into a
	separate function, which evaluates the search criteria for a given
	message only (leave indentation alone, will reindent later).

2003-07-13  Mr. Sam  <mrsam@courier-mta.com>

	* imapd.c (doNoop): Drop automatic FETCH FLAGS of new messages.

2003-07-09  Mr. Sam  <mrsam@courier-mta.com>

	* rfc822/imaprefs.c (rfc822_threadmsgrefs): New function takes
	an array of References: headers, instead of a single References:
	string (merged from the cone tree).

2003-07-09  Jesse Guardiani <jesse@wingnet.net>

	* webmail/sqwebmail.c (get_imageurl): Use SQWEBMAIL_IMAGEURL to
	override image URL location, determine at compile time.

	* sqwebmail.c (do_output_form_loop): [#IMAGEURL#] tag substitutes
	URL to the image directory.

2003-07-08  Mr. Sam  <mrsam@courier-mta.com>

	* courier/module.fax/faxstub.c (VALIDCHAR): Valid characters in
	the dialing string include + and -.
	(MAXLEN): Expanded maximum dialing string length to 80 characters.
	(rwfax): Replace #s with ~s, instead of @s (temporarily).
	Replace -s with ,s.
	Replace +s with @s.
	(rw_del_fax): Plug a memory leak.

	* courier/module.fax/faxrc.dist: Update comments.

	* courier/module.fax/courierfax.sgml: Update documentation.

2003-07-07  Mr. Sam  <mrsam@courier-mta.com>

	* rfc2646html.c (rfc2646tohtml_handler): Put back
	blockquote type="cite", and use three different background colors
	to highlight quoting level, plus some borders to make stuff purty.

2003-07-06  James A Baker <jabaker@mac.com>

	* webadmin: HTML output cleanup.

2003-07-04  Mr. Sam  <mrsam@courier-mta.com>

	* folder.c (charset_warning): Fix null ptr deref if sqwebmail is
	misconfigured to use an undefined HTML template character set.

2003-06-30  Brian Candler <B.Candler@pobox.com>

	* cgi/cgi.c (cgi_setup_1): FastCGI fix.

2003-06-30  Mr. Sam  <mrsam@courier-mta.com>

	* courier/doc/courier.sgml: Revise documentation of the
	enablefiltering control file.

	* courier/libs/moduledel.c: Implement watchdog timer, used for local
	mail deliveries.

	* courier/module.local/localmail.c (main): Use a separate process
	group id for the delivery process, killed by a watchdog timer.

	* tcpd/tcpd.c: Typo prevents IPv6 sockets from being created on BSD.

2003-06-25  Mr. Sam  <mrsam@courier-mta.com>

	* courier/module.esmtp/courieresmtpd.c (ehlo): Do not send extended
	reply format to a HELO.

2003-06-24  Mr. Sam  <mrsam@courier-mta.com>

	* authlib/authdaemond.c (start): Fix authdaemon idle processing.

	* courier/doc/courier.sgml: Added documentation on webmail
	template files.

2003-06-23  Mr. Sam  <mrsam@courier-mta.com>

	* webmail/logindomainlist.c (get_defaultdomainfields): Default
	SERVER_ADDR and HTTP_HOST, if not set.

	* webmail/folder.c (folder_download): Drop quotes around charset
	name in	the Content-Type: header, apparently mozilla doesn't like that.

	* webmail/sqwebmail.c (error): Ditto.
	(error2): Ditto.
	(output_form): Ditto.

	* courier/doc/FAQ.html: New FAQ entry on ESMTP connection delays.

	* maildrop/main.C (find_in_ldap): Fix crash if ldap is enabled but
	ldapconfig is not installed (does not affect Courier build, only
	maildrop standalone).

2003-06-22  Mr. Sam  <mrsam@courier-mta.com>

	* pop3dserver.c (cmpmsgs): Ignore maildir message flags when sorting
	message lists (eliminated dup POP3 downloads after 2003-06-18).

2003-06-20  Mr. Sam  <mrsam@courier-mta.com>

	* imap/smap.c: Do not use BUFSIZ to size I/O buffers (make check will
	fail if BUFSIZ != 8192).

2003-06-20  Mr. Sam  <mrsam@courier-mta.com>

	* rfc2045/rfc2045reply.c (mkforward): Fix MIME decoding of forwarded
	text.

2003-06-18  Mr. Sam  <mrsam@courier-mta.com>

	* http11/contentlanguage.c (http11_content_charset): Fix return code
	
2003-06-17  Mr. Sam  <mrsam@courier-mta.com>

	* webadmin: handle new defaultDelivery setting for LDAP, MySQL,
	and PgSQL.

	* pop3dserver.c: Generate shorter message UIDs.  UIDs based on the
	filename may be too long for some clients.  Save a counter in
	courierpop3dsizelist that is, essentially, an IMAP UID.

2003-06-17  James A Baker <jabaker@mac.com>

	* courier/cmlmfetch.C (doindex): HTML output cleanup.

	* webmail/logindomainlist.c: HTML output cleanup.

	* webmail/rfc2646html.c: HTML output cleanup.

	* cgi/cgi.c: HTML output cleanup.

	* webmail/token.c: HTML output cleanup.

	* webmail/html.c: HTML output cleanup.

2003-06-12  James A Baker <jabaker@mac.com>

	* webmail/addressbook.C: HTML output cleanup.

	* webmail/pref.C: HTML output cleanup.

	* webmail/sqwebmail.C: HTML output cleanup.

	* webmail/mailfilter.C: HTML output cleanup.

	* webmail/attachments.C: HTML output cleanup.

	* webmail/autoresponse.C: HTML output cleanup.

	* webmail/gpg.C: HTML output cleanup.

	* webmail/sqispell.C: HTML output cleanup.

2003-06-12  James A Baker <jabaker@mac.com>

	* webmail/pcp.c: HTML output cleanup.

	* webmail/ldaplist.c: HTML output cleanup.

	* webmail/newmsg.c: HTML output cleanup.

2003-06-12  James A Baker <jabaker@mac.com>

	* webmail/folder.c: HTML output cleanup.

	* webmail/sqwebmail.css: cleanup.
	
2003-06-13  Mr. Sam  <mrsam@courier-mta.com>

	* gpglib/export.c (libmail_gpg_exportkey): Fix bug that exports all
	keys, not just the selected key.

2003-06-12  Mr. Sam  <mrsam@courier-mta.com>

	* tcpd/tlspasswordcache.c (tlspassword_save): Use EIO instead of
	EPROTO (which is not defined everywhere).

	* tcpd/configure.in: More thorough check for OpenSSL 0.9.7.

2003-06-11  Mr. Sam  <mrsam@courier-mta.com>

	* authlib/authldap.schema: Remove duplicate definition of
	virtualdomainuser.

	* maildir/maildirwatch.c (maildirwatch_alloc): Fix test for error
	return from getcwd().

	* gpglib/gpglib.h: Added errstatus to libmail_gpg_info.

	* gpglib/gpg.c (dogpgsign): Fix a C++ism.

	* webmail: Mark default templates as utf-8 preferred, so browsers
	that support utf-8 will receive all content in utf-8.  Supress
	charset conversion warning for utf-8 browsers.

	* http11/contentlanguage.c (http11_content_charset): Allow a 
	comma-separated list in {templatedir}/CHARSET, select the first
	charset found in the Accept-Charset: HTTP header.

2003-06-07  Mr. Sam  <mrsam@courier-mta.com>

	* gpglib/gpg.c (dogpgsign): Fix a C++ism.

2003-06-05  Mr. Sam  <mrsam@courier-mta.com>

	* tcpd: merge tlspasswordcache from cone's tree.

2003-06-02  Mr. Sam  <mrsam@courier-mta.com>

	* gpglib cleanup.

	   + Return an error indication on a fatal error, instead of calling
	     exit().

	   + Rename functions to use a consistent naming convention.  The two
	     primary functions are called libmail_gpg_signencode and
	     libmail_gpg_decode, and both take a structure that provides
	     the rest of the parameters and callback functions.

	   + Replace I/O to stdin/stdout with function calls to input and
	     output functions.

	   + When signing, do not fork and run reformime in order to convert
	     8bit text to quoted-printable.  Convert it directly, on the fly.

	   + Finally, wrap the result in a nice API library, and have sqwebmail
	     invoke the library, instead of forking and running mimegpg.

2003-05-31  Mr. Sam  <mrsam@courier-mta.com>

	* imap/smap.c (hashdr): Fix c++-ism.

2003-05-29  Mr. Sam  <mrsam@courier-mta.com>

	* imap/thread.c (thread_ref_callback): Extra argument to
	rfc822_threadmsg() specifies message date as time_t.

2003-05-27  Mr. Sam  <mrsam@courier-mta.com>

	* Added experimental SMAP protocol.

	* rfc2045/rfc2045header.c: eat leading space when folding header lines.
	
2003-05-26  Mr. Sam  <mrsam@courier-mta.com>

	* courier/ldapaliasdrc.c (readconfigfile): Fix file descriptor leak
	in "courierldapaliasd restart".

2003-05-19  Mr. Sam  <mrsam@courier-mta.com>

	* maildir/README.maildirquota.html: Clarify that lines in maildirsize
	are padded to 14 character lengths.

2003-05-18  Mr. Sam  <mrsam@courier-mta.com>

	* rootcerts/configure.in: Allow custom rootcertdir.

	* courier.spec.in: Enable UTF-8 when building RPMs. 

	* webmail/folder.c (folder_contents): Temporarily reset LC_CTYPE while
	we're usign wcwidth().

2003-05-15  "Hatuka*nezumi \(IKEDA Soji\)" <nezumi@jca.apc.org>

	* webmail/folder.c (truncate_at): take into account double-width chars.
	
2003-05-15  Mr. Sam  <mrsam@courier-mta.com>

	* webmail/folder.c (truncate_at): use wcwidth(), if available.


0.42.2

2003-05-14  Mr. Sam  <mrsam@courier-mta.com>

	* maildir/maildirdelfolder.c (delsubdir): Sometimes we don't get
	an EISDIR, even though we should <sigh>...

2003-05-14  Stefan Hornburg <racke@linuxia.de>
	
	* userdb/makeuserdb.sgml: Fix command names.

2003-05-14  Mr. Sam  <mrsam@courier-mta.com>

	* unicode/utf7.c: UTF-7 mapping.

	* webmail/folder.c (truncate_at): Unicode-aware long text string
	truncation.


2003-05-13  Mr. Sam  <mrsam@courier-mta.com>

	* courier/submit2.C (isbase64text): opt BOFHNOBASE64TEXT rejects
	base64-encoded text/plain and text/html content.

0.42.1
	
2003-05-12  Mr. Sam  <mrsam@courier-mta.com>

	* courier/cmlmbounce.C (getbounceaddr): Fix bounces.

2003-05-11  James A Baker <jabaker@mac.com>

	* courier/webadmin/admin-47webmail.pl: Do not sort logindomainlist,
	breaks new enhanced features.  Make logindomainlist input area bigger.

2003-05-09  Mr. Sam  <mrsam@courier-mta.com>

	* courier/makealiases.in (aliasdir): Default aliasdir.

2003-05-08  Mr. Sam  <mrsam@courier-mta.com>

	* webmail/folder.c: Properly decode MIME-encoded headers.

2003-05-01  Mr. Sam  <mrsam@courier-mta.com>

	* authlib: split DEFAULTDELIVERY from MAILDIR for LDAP, MySQL, Postgres
	(used by courier instead of MAILDIR)

2003-05-01  Mr. Sam  <mrsam@courier-mta.com>

	* courier/doc: Minor documentation updates.

2003-04-30  Mr. Sam  <mrsam@courier-mta.com>

	* courier/cdmsgq.C (tmpscan): Must use ReverseFind() instead of
	Find(); fixes race if installation directory root path contains a
	period.

	* webmail/maildir.c (do_msgmove): Do not refuse to remove
	multiply-linked	message files, probably some cleanup situation after
	a crash.

2003-04-29  Mr. Sam  <mrsam@courier-mta.com>

	* Replace U+0x00A0 in SGML documentation with spaces.

2003-04-27  Mr. Sam  <mrsam@courier-mta.com>

	* maildir/maildircache.c (maildir_cache_purge): Temporarily reset
	SIGCHLD to SIG_DFL while waiting for the purge process to finish.

2003-04-26  Mr. Sam  <mrsam@courier-mta.com>

	* pcp/pcpd.c (accept_pcpd): Reset child's SIGCHLD to SIG_DFL

2003-04-25  Mr. Sam  <mrsam@courier-mta.com>

	* gpglib/configure.in: Bless gpg 1.2.1

	* maildir/maildirdelfolder.c (maildir_mddelete): A more "thorough"
	folder delete.

	* webmail/maildir.c (maildir_delete): Use the new maildir_mddelete().

2003-04-23  Mr. Sam  <mrsam@courier-mta.com>

	* courier/cdmsgq.C (queuescan3): Log message source on submission.

2003-04-23  Rodrigo Severo <rodrigo.lists@fabricadeideias.com>

	* authlib/authmysqlrc: Fix comments

2003-04-21  Mr. Sam  <mrsam@courier-mta.com>

	* Updated toolchain to automake 1.6.3, autoconf 2.57,
	libtool 1.4.3, gettext 0.11.4, new Docbook style sheets.

	* bdbobj/bdbobj2.c (bdbobj_nextkey): Eliminate 0-length malloc.

2003-04-19  Dmitriy Kuznetsov <eth0@dol.ru>

	* maildir/maildirfilter.c (maildir_filter_saverules): webmail:
	Do not explicitly set MAILDIRQUOTA -- recent versions of maildrop
	take care of this automatically.

2003-04-19  Mr. Sam  <mrsam@courier-mta.com>

	* courier/ldapaliasd.c (loop): Use SIG_DFL when waiting for child
	procs to terminate.

2003-04-18  Mr. Sam  <mrsam@courier-mta.com>

	* authlib/authmysqllib.c (validateMyPassword): Rename
	validate_password to validateMyPassword (MySQL 4 conflict).

2003-04-13  Jesse Guardiani <jesse@wingnet.net>

	* sqwebmail.c (do_output_form_loop): Fix logindomainlist.

2003-04-12  Jesse Guardiani <jesse@wingnet.net>

	* logindomainlist.c: Enhanced drop-down domain listing on the login
	screen.

2003-04-12  Mr. Sam  <mrsam@courier-mta.com>

	* All beta and releases will now be signed by
	http://www.courier-mta.com/KEYS.bin

2003-04-11  Mr. Sam  <mrsam@courier-mta.com>

	* tcpd: configure and makefile cleanup

2003-04-09  Mr. Sam  <mrsam@courier-mta.com>

	* authlib/README.authpostgres.html: Documentation updates.

	* courier/doc/makehosteddomains.sgml: Documentation updates.

2003-04-04  Mr. Sam  <mrsam@courier-mta.com>

	* courier.spec.in (Provides): Fix for rpm 4.2

	* autoconf 2.57 fixes.

2003-04-03  Mr. Sam  <mrsam@courier-mta.com>

	* rfc2045/rfc2045.c (content_location): Plug a leak.

	* unicode/unicode.c (unicode_xconvert): Plug a memory leak.

	* liblock/mail.c (ll_mail_free): Plug a memory leak.

2003-03-22  Brian Candler <B.Candler@pobox.com>

	* sqwebmail: FastCGI update.

2003-03-22  Alain NAKACHE <alain@cal.fr>

	* authenticate_auth.c (authenticate): Add AUTHSERVICE functionality
	to IMAP SASL, and POP3 plain+SASL authentication methods.
	* pop3login.c (main): Ditto.

2003-03-21  Mr. Sam  <mrsam@courier-mta.com>

	* maildir/maildirpurgetmp.c (maildir_purge): Fix maildir_purge(".");

2003-03-20  Mr. Sam  <mrsam@courier-mta.com>

	* rfc2047.c (rfc2047_encode_callback): Fix MIME encoding of "_".

2003-03-19  Mr. Sam  <mrsam@courier-mta.com>

	* courier.spec.in (BuildPreReq): Default to /var/www

	* imap/imapscanclient.c (imapscanfail): Explicit error message
	referring to potential fam daemon problems.
	(imapscanfail): Include login id in error message.

	* unicode/iso2022jp.c (read_jis_char): Fix various bugs that result
	in crashes, as a result of invalid character sequences.

2003-03-19  James A Baker <jabaker@mac.com>

	* configure.in: Search additional directories for mime.types

0.42

2003-03-12  Mr. Sam  <mrsam@courier-mta.com>

	* courier/submit2.C: Rephrase wording in message content errors to
	place more onus on the buggy software that generated the invalid
	content.

2003-03-11  Mr. Sam  <mrsam@courier-mta.com>

	* rfc1035/configure.in: Grok Solaris 8 IPv6 header files.

2003-03-10  "Håvard Lygre" <hklygre@online.no>

	* authlib/authmysqllib.c (auth_mysql_getuserinfo): Fix NULL ptr result
	from mysql.

2003-03-10  Mr. Sam  <mrsam@courier-mta.com>

	* imapscanclient.c (do_imapscan_maildir2): Create tmp file for the new
	courierimapuiddb in the folder's tmp dir.

	* maildrop/maildropex.sgml: Fix typo.

2003-03-09  James A Baker <jabaker@mac.com>

	* numlib/strhdevt.c: OS/X Linker bug.

2003-03-07  Mr. Sam  <mrsam@courier-mta.com>

	* courier/courierd.C (courierbmain): Create new configuration setting,
	queuefill, to force a queue refill a given number of seconds after
	the queue is filled to the high watermark level.

	* tcpd/libcouriertls.c (tls_transfer): Fix error recovery - an aborted
	connection negotiation may result in an infinite loop with some
	versions of OpenSSL.

2003-03-06  Mr. Sam  <mrsam@courier-mta.com>

	* maildir/maildirpurgetmp.c (maildir_purge): Adjust quota when
	autopurging Trash --with-trashquota.

	* rfc2045/configure.in: rename config.h to rfc2045_config.h

	* unicode/configure.in: rename config.h to unicode_config.h

2003-03-04  Mr. Sam  <mrsam@courier-mta.com>

	* rfc2045/rfc2045encode.c (rfc2045_encode_autodetect_fp): Bump line
	limit for non-encoded text to 990 chars.

	* webadmin/webadmin.pl.in: Comment fix.

2003-03-01  Mr. Sam  <mrsam@courier-mta.com>

	* webmail/autoresponse.c (read_headers): Use rfc2045_parse_partial() to
	properly size-up content without trailing newlines.

	* webmail/folder.c: Ditto.

	* cgi/cgi.c (cgi_formdata): Ditto.

	* rfc2045/reformime.c (read_message): Ditto.

	* rfc2045/rfc2646create.c (rfc2646create_free): Emit the trailing
	newline.

	* configure.in: Conditionally probe if SA_NOCLDWAIT could be used.
	
	* rfc2045/pcpd.c (start): Use SA_NOCLDWAIT, if blessed by configure.

	* courier/ldapaliasd.c (loop): Use SA_NOCLDWAIT, if blessed.


2003-02-26  Mr. Sam  <mrsam@courier-mta.com>

	* pop3dserver.c (savepop3dlist): Recover from out-of-disk-space
	situation.

	* imapd.dist.in (IMAP_TRASHFOLDERNAME): Explain how purging works.

	* authlib/success.c (authsuccess): More clear error message.

2003-02-22  Mr. Sam  <mrsam@courier-mta.com>

	* courier/doc/Makefile.am (install-man-extra): someone's choking
	on 'ln -s -f'.

2003-02-22  Toshikazu Ichikawa <ichikawa@toshikazu.org>

	* unicode/iso2022jp.pl: iso2022jp update.

2003-02-19  Mr. Sam  <mrsam@courier-mta.com>

	* imap/imapd.c (do_expunge): Autocreate INBOX.Trash only if
	IMAP_MOVE_EXPUNGE_TO_TRASH is enabled.

2003-02-17  Mr. Sam  <mrsam@courier-mta.com>

	* imap/imapd.c (do_imap_command): Transform a DELETE of a shared folder
	to an UNSUBSCRIBE.
	(do_imap_command): STATUS won't autosubscribe to a shared folder.

	* authenticate_auth.c (send_auth_reply): Fix SASL response to empty
	client input.

2003-02-17  Kurt Bigler <kkb@breathhost.net>

	* HTML template cleanup.

2003-02-15  Mr. Sam  <mrsam@courier-mta.com>

	* webmail/folder.c (folder_list):  Recalculate maildir quota after
	a DELETE or RENAME (new function: maildir_quote_recalculate).

2003-02-15  Mr. Sam  <mrsam@courier-mta.com>

	* msgenvelope.c (msgenvelope): Default reply-to and sender
	headers in ENVELOPE reply to the from header (partially reverting
	2002-08-26, which fixed Pine's misbehavior, but broke Mulberry).

2003-02-12  Mr. Sam  <mrsam@courier-mta.com>

	* INSTALL:  Document that --with-trashquota breaks make check.
	imap/configure.in: If any option is used which is known to break
	make check, issue a friendly error message telling the organic
	entity to rerun configure without those options.

	* imaplogin.c (main): Add [CAPABILITY] tag to the initial greeting.

	* imapd.c (do_imap_command): Recalculate maildir quota after
	a DELETE or RENAME (new function: maildir_quote_recalculate).

2003-02-11  Kurt Bigler <kkb@breathhost.net>

	* webmail: HTML template cleanup.

2003-02-09  dave@britiany.com

	* imap/search.c (search_internal): Optimize SORT by not parsing the
	entire message, when we only want the headers.

2003-02-09  Mr. Sam  <mrsam@courier-mta.com>

	* maildir/maildirwatch.c: Fix timeout.

2003-01-30  Mr. Sam  <mrsam@courier-mta.com>

	* rfc2045/rfc2045encode.c: clean up base64/qp encoding.

	* tcpd/configure.in: Handle kerberized openssl 0.9.7

	* configure.in: Fix search path for binaries.

0.41
	
2003-01-26  Mr. Sam  <mrsam@courier-mta.com>

	* folder.c (download_func): Fix platforms with broken putchar()s.

	* Final maildir creation revision.

	* maildrop/message.h (MessageSize): Fix estimated message size.

	* authlib/authmysqllib.c (append_username): Same fix as authpgsqllib,
	even though mysql does not need it.

2003-01-23  Mr. Sam  <mrsam@courier-mta.com>

	* authlib/authpgsqllib.c (append_username): Escape 's too.

	* imapd.c (main): Implement IMAP UIDPLUS (RFC 2359)
	(do_imap_command): Reset renamed folders' UIDVs.

	* imapd.dist.in (IMAP_CAPABILITY): Add UIDPLUS

2003-01-19  Mr. Sam  <mrsam@courier-mta.com>

	* maildir/maildircreate.c: Removed old maildir creation code.

	* courier/module.local/deliver.c: New maildir creation code.

	* maildir/maildirfilter2.c: New maildir creation code.

	* images/sqwebmail.css: Cleanup.

	* pcp.c: New maildir creation code.

	* ldaplist.c: New maildir creation code.

	* folder.c: New maildir creation code.

	* maildir.c: New maildir creation code.

	* maildir/maildircreateh.c: Optimizations.

2003-01-17  Mr. Sam  <mrsam@courier-mta.com>

	* imapd.c (maildir_mkfilename): Fix maildir_mkfilename().

	* storeinfo.c (copy_message): Use fixed maildir_mkfilename().

	* imapscanclient.c (imapscan_maildir): Convert to the new maildir
	creation library.
	(do_imapscan_maildir2): Ditto.

	* maildir/maildirshared.c: Convert to the new maildir creation
	library.

	* pop3dserver.c (savepop3dlist): Converted to the new maildir
	creation library.

2003-01-16  Mr. Sam  <mrsam@courier-mta.com>

	* maildir/deliverquota: Initial implementation of new maildir
	creation library.  Converted deliverquota.

2003-01-14  Mr. Sam  <mrsam@courier-mta.com>

	* courier/module.local/deliver.c (savemessage): Use maildir_movetmpnew.

	* webmail/maildir.c (do_msgmove): Use maildir_movetmpnew.
	(maildir_closemsg): Use maildir_movetmpnew.

	* imap/storeinfo.c (copy_message): Use maildir_movetmpnew.

	* imap/imapd.c (store_mailbox): Use maildir_movetmpnew.

	* maildir/deliverquota.c (deliver): Use maildir_movetmpnew.

	* maildir/maildircreateh.c (maildir_try_create_hostname): Include
	microseconds in message filename.
	(maildir_movetmpnew): Encapsulate move from tmp to new by trying
	link first, and only if it fails with exdev try rename.

2003-01-08  Mr. Sam  <mrsam@courier-mta.com>

	* imap/imapd.c (main): imapd --version prints my version.

	* POP3: Create courierpop3dsizelist to cache POP3-sizes of
	individual messages.

2003-01-04  Mr. Sam  <mrsam@courier-mta.com>

	* all: cleanup: rename function groups to a consistent namespace.

2003-01-03  Mr. Sam  <mrsam@courier-mta.com>

	* courier.spec.in: Really fix the spec file.

2003-01-03  "Thomas T. Thai" <tom@minnesota.com>

	* Custom query patch for authpgsql

0.40.2

2002-12-23  Mr. Sam  <mrsam@courier-mta.com>

	* imap/configure.in: Use ulimit -v instead of ulimit -d, if available.

	* courier.spec.in (case): Don't officially package /etc/userdb,
	if custom site install replaces it with a file, it gets deleted on
	upgrades.

	* rfc2047.c (rfc2047_encode_callback): Fix hang on
	locales where isspace(U+0x00A0) is true.

2002-12-11   Brian Candler <B.Candler@pobox.com>

	* tcpd/tcpd.c: couriertcpd -denymsg option

2002-12-11  John D. Rowell <jdrowell@exerciseyourbrain.com>

	* md5/md5_hash.c:  Rename md5_has to md5_hash_courier (namespace
	conflict with postgres).

2002-12-11  Mr. Sam  <mrsam@courier-mta.com>

	* courier/sendmail.c (main): Expliticitly reset SIGCHLD.

	* courier/submit2.C (MessageEnd): Fix 8bit char test (results in an
	incorrect MAIL FROM with 8BITMIME extension).

	* courier/module.local/local.c (rw_del_local): Explicitly reject
	null local address.  Fixes an uninitialized ptr dereference.

2002-12-01  Mr. Sam  <mrsam@courier-mta.com>

	* courier/doc: updated sgml2html and sgml2man.  Added manpage.css.

2002-11-25  Mark Anthony Lisher <markal@markal.net>

	* imaptoken.c (nexttoken_nouc_okbracket): LOGIN parsing patch.

2002-11-23  John Morrissey <jwm@horde.net>

	* Add -w option to maildrop by moving quota warning code from
	deliverquota to libmaildir.a, and reusing it.

2002-11-21  Mr. Sam  <mrsam@courier-mta.com>

	* courier/module.local/localmail.c (wait_delivery): handle exit
	code 100 from .courier-invoked programs as a hard error.

2002-11-17  Mr. Sam  <mrsam@courier-mta.com>

	* unicode/mkultcase.pl: Fix titlecase mapping.

	* unicode: all unicode functions now receive the ptr to the unicode
	structure as their first argument.  Added a flags field to the unicode
	structure to describe charset properties (multibyte, utf, uses shift
	sequences...)

2002-11-17  Dr. Peter Bieringer <pb@bieringer.de>

	* html/en-us/quickadd.html: <title> fix.

2002-11-17  Mr. Sam  <mrsam@courier-mta.com>

	* courier/makealiases.in (xaliaspfix): Fix.

2002-11-11  Mr. Sam  <mrsam@courier-mta.com>

	* html/en-us/preferences.html: Remove double-dashes in the comment
	to fix some stupid mozilla parser bug.

0.40.1

2002-11-10  Mr. Sam  <mrsam@courier-mta.com>

	* courier/module.local/deliver.c (savemessage): Make mbox deliveries
	work again.

2002-11-07  Mr. Sam  <mrsam@courier-mta.com>

	* imapscanclient.c (imapscan_maildir): Recover if FAM dies.

	* webmail/html/en-us: Typos

2002-11-05  Mr. Sam  <mrsam@courier-mta.com>

	* courier/doc/links.html: #courier on irc.freenode.net

	* rfc2045/rfc2045acchk.c (rfc2045_ac_check): Check for a NULL

0.40

2002-10-31  Aki Immonen <aki@golftalma.fi>

	* imapd.c (main): Configurable Trash Folder Name.

2002-10-31  Christian Hammers <ch@westend.com>

	* maildir.c (maildir_save_start): More verbose logging messages

2002-10-30  Mr. Sam  <mrsam@courier-mta.com>

	* courier/webadmin/admin-30esmtp.html (alink): ORBZ is now dead.

2002-10-29  Mr. Sam  <mrsam@courier-mta.com>

	* courier.spec.in (BuildPreReq): Add pgsql-devel and mysql-devel
	build prereqs.

2002-10-25  Mr. Sam  <mrsam@courier-mta.com>

	* courier/pop3d.in: Fix initscripts, again.

	* pop3dcapa.c (pop3dcapa): It's STLS.

	* webmail/sqwebmail.c (main2): Drop root privs before showing
	invalid.html and printnocookie.html

0.40.0

2002-10-24  Mr. Sam  <mrsam@courier-mta.com>

	* courier/imapd-ssl.rc.in (bindir): Set bindir.

2002-10-23  Mr. Sam  <mrsam@courier-mta.com>

	* imap/thread.c (printthread): Fix THREAD REFERENCES.

2002-10-18  Mr. Sam  <mrsam@courier-mta.com>

	* tcpd/libcouriertls.c (cache_add): Fix compiler warning.

	* userdb/userdb.c (userdb_getu): Fix compiler warning.
	(userdb_gets): Fix compiler warning.

	* rfc1035/rfc1035.c (mkpacketq_full): Fix compiler warning.

2002-10-16  Mr. Sam  <mrsam@courier-mta.com>

	* courier/module.*/configure.in: Fix broken configures

2002-10-15  Mr. Sam  <mrsam@courier-mta.com>

	* authlib/debug.c (auth_debug_login_init): Make it work if
	DEBUG_LOGIN_ENV is not set.

2002-10-14  Olivier Girondel <olivier.girondel@cw.com>
	
	* authlib/authldaplib.c (authldap_read_config): LDAP_FILTER fix.

2002-10-14  Mr. Sam  <mrsam@courier-mta.com>

	* maildir/maildirwatch.h: Fix include file.

	* courier.spec.in: Explicitly define the %configure macro.

2002-10-13  Mr. Sam  <mrsam@courier-mta.com>

	* imapd.c (imapenhancedidle): Added libfam-based IDLE implementation.
	Updated man page.

2002-10-10  Mr. Sam  <mrsam@courier-mta.com>

	* courier/module.local/deliver.c: Implemented --with-dirsync 

	* courier/module.local/deliver.c: Use new dotlocking code for
	delivery to mboxes.

	* courier/module.local/deliver.c: Fix error reporting of maildir
	deliveries.

2002-10-07  Mr. Sam  <mrsam@courier-mta.com>

	* Major toolchain upgrade - gcc 3.2, automake 1.6, autoconf 2.53,
	libtool 1.4.

2002-10-05  Mr. Sam  <mrsam@courier-mta.com>

	* rfc1035/rfc1035ifconf.c: Fix infinite loop if same IP address
	is assigned to multiple interfaces.

2002-10-03  Mr. Sam  <mrsam@courier-mta.com>

	* maildir/*.c: various cleanups.

	* maildir/maildirsearch.h: use std namespacing.

2002-10-02  Mr. Sam  <mrsam@courier-mta.com>

	* courier/submit: new configure switch --with-dirsync

	* maildrop/maildir.C (MaildirSave): ditto.

	* imap/imapd.c: ditto
	
2002-09-30  Ragnar Kurm <ragnar@uninet.ee>

	* imap/pop3: Added DEBUG_LOGIN_ENV to imap and pop3 config files that
	produces additional login diagnostics.

2002-09-28  Mr. Sam  <mrsam@courier-mta.com>

	* imapd.c (noop): Return updated message flags if called within IDLE,
	even with workaround enabled.

	* courier-imap.spec.in: add fam-devel to build-prereq.

	* IMAP_USELOCKS: Switch from flocks to dotlocks.  Time out stale
	network dotlocks after 120 seconds.  Use FAM, if available, while
	waiting on a dotlock file to go away.  Update config file comments.

	* maildir/maildirwatch.[ch]: Abstraction layer wrapping SGI's
	File Alteration Monitor, if it's available.

	* imapd.c (do_imap_command): Handle IDLE in authenticated state as,
	essentially, a NOOP.  Enable IDLE in the default CAPABILITIES
	string (but keep the same version string, so sysconftool will not
	touch an existing CAPABILITIES setting on an upgrade).	

2002-09-25  Mr. Sam  <mrsam@courier-mta.com>

	* html: Amaya 6.4 is out. iso-8859-1 0xA0 chars replaced with &nbsp;

2002-09-21  Mr. Sam  <mrsam@courier-mta.com>

	* autobloat: check for gmake, check for gcc in top level makefile.

2002-09-20  Mr. Sam  <mrsam@courier-mta.com>

	* reformime, makemime: implemented RFC 2231-parsing of Content-Type:
	and Content-Disposition: headers.  Other related changes in the imap
	and webmail code.

2002-09-18  Mr. Sam  <mrsam@courier-mta.com>

	* courier/pop3d-ssl.in (bindir): Fix bindir initialization.

2002-09-14  Mr. Sam  <mrsam@courier-mta.com>

	* courier/module.esmtp/esmtpclient.c (sendesmtp): Disable MX loopback
	check if the IP address was fished out of esmtproutes.

	* pop3login.c (main): Allow spaces in POP3 login id and password.

2002-09-10 Alessandro Vesely <vesely@tana.it>

	* authlib/authdaemond.c: Fix error logging.

2002-09-10  Mr. Sam  <mrsam@courier-mta.com>

	* liblock/lockmail.c (main): More lockmail fixes.

2002-09-09  Mr. Sam  <mrsam@courier-mta.com>

	* imap/search.c (fill_search_veryquick): Fix search for \Draft

2002-09-07  Mr. Sam  <mrsam@courier-mta.com>

	* authlib/authdaemond.c (idlefunc): Renamed idle() to idlefunc() -
	name clash with old libc.

	* courier/bofh.c (chkbadlist): @.domain.tld will match
	foo@anything.domain.tld

2002-09-06  Mr. Sam  <mrsam@courier-mta.com>

	* courier/doc/links.html: Started a section on virus scanners. 


2002-09-05  Mr. Sam  <mrsam@courier-mta.com>

	* authlib/authdaemond.c (start): Rename idle() to idlefunc().

	* tcpd/starttls.c (dump_x509): Print not-before and not-after
	timestamps.

	* Replaced dotlock with lockmail.

2002-08-29  "Binand Raj S." <binand@gmx.net>

	* courier/module.esmtp/courieresmtpd.c:  Fix EXDATA detection. 

2002-08-28  Mr. Sam  <mrsam@courier-mta.com>

	* pop3: For completeness sake, implement POP3 STLS.

2002-08-26  Mr. Sam  <mrsam@courier-mta.com>

	* imap/msgenvelope.c (msgenvelope): Do not default reply-to and sender
	headers in ENVELOPE reply to the from header, and do not default
	the name to the address if the name is not specified for an address.

2002-08-24  Mr. Sam  <mrsam@courier-mta.com>

	* http11/contentlanguage.c (parse_accept_language): Fix
	Accept-Language: header parsing.

2002-08-23  Mr. Sam  <mrsam@courier-mta.com>

	* webmail: Added an option to request delivery confirmation receipts.

2002-08-21  Mr. Sam  <mrsam@courier-mta.com>

	* esmtp/tls: move tlsclient.c and tlsclient.h into a separate
	library module that gets built even if openssl support is not
	available (cleanest way to fix courieresmtp).

	* maildrop/maildir.C (MaildirOpen): Clean up temp file if delivery
	to maildir goes over quota.

2002-08-19  Mr. Sam  <mrsam@courier-mta.com>

	* authlib/authdaemond.c (start): After 5 mins of inactivity call
	the newly-defined module 'idle' function.

	* courier/ldapaliasd.c (child): Close ldap connection after 5 mins
	of inactivity.

2002-08-12  Mr. Sam  <mrsam@courier-mta.com>

	* tcpd/libcouriertls.c: fix error reporting (esp at shutdown)

	* maildir/maildirsearch.h: added a C++ wrapper.

	* imap/utf8.c: cleanup, exposed internal unicode-to-utf8 conversion
	function.

2002-08-11  Mr. Sam  <mrsam@courier-mta.com>

	* imap: cleanup: extracted text search macros into a separate module
	in the maildir directory (for potential code reuse).

2002-08-11  Brian Candler <B.Candler@pobox.com>

	* imap/pop3: initscripts/*.in: fix paths.

2002-08-11  Mr. Sam  <mrsam@courier-mta.com>

	* maildrop/maildrop.sgml: Typo.

2002-08-11  Alessandro Vesely <vesely@tana.it>

	* authlib/authmysqllib.c (validate_password): Fix password change
	buffer overflow.

2002-08-08  Mr. Sam  <mrsam@courier-mta.com>

	* rfc2047.c (rfc2047_encode_callback): Fix MIME encoding of words
	with = and ? characters.

0.39.3

2002-08-07  Mr. Sam  <mrsam@courier-mta.com>

	* tcpd/libcouriertls.c (tls_destroy): it looks like SSL_CTX_free
	might invoke the ssl/tls cache call.  Free tls_info after
	SSL_CTX_free comes back.  Explicitly call SSL_CTX_flush_sessions to
	work around a bug in OpenSSL which blows away application data prior
	to calling SSL_CTX_flush_sessions in SSL_CTX_free().

2002-08-05  Mr. Sam  <mrsam@courier-mta.com>

	* courier.spec.in: Fix %is_not_mandrake.

0.39.2

2002-08-01  Mr. Sam  <mrsam@courier-mta.com>

	* courier/ldapaliasd.c (sigalarm): Reestablish handlers for SIGHUP
	and SIGALRM, after catching those signals.

	* tcpd/tcpd.c (sighup): Reestablish handler for SIGHUP, after catching
	it.

2002-07-28  Mr. Sam  <mrsam@courier-mta.com>

	* courier.spec.in (BuildPreReq): Typo fix.

2002-07-26  Mr. Sam  <mrsam@courier-mta.com>

	* ldapaddressbook/abooksearch.c (ldapabook_search): Fix ldapsearch
	option.

	* authlib/configure.in: Fix invocation of pg_config.

	* authlib/authsyschangepwd.c (dochangepwd): Call setsid() and
	setlogin() on OpenBSD (make webmail passwd change work).

2002-07-24  Mr. Sam  <mrsam@courier-mta.com>

	* courier/cmlmbounce.C: Ignore case of bounce tokens. 

2002-07-15  Mr. Sam  <mrsam@courier-mta.com>

	* tcpd/tlscache.c (doadd): Fix tlscache file corruption on platforms
	where sizeof(off_t) != sizeof(size_t).

2002-07-14  Mr. Sam  <mrsam@courier-mta.com>

	* maildir/maildirquota.c (maildir_quota_delundel_end): Typo fix.

	* libcouriertls:  By George, I think I've got it.  Implement
	orderly SSL/TLS session shut down.  The libcouriertls library is now
	fully event-driven; SSL/TLS errors are properly reported; an error
	is reported if the SSL/TLS connection was closed without an orderly
	shut down.

2002-07-13  Mr. Sam  <mrsam@courier-mta.com>

	* courier/cmlmcleanup.C (cmdhourly): Use mtime instead of atime to
	check for moderation reminders.

	* libcouriertls: The saga continues.  Suppress whining on
	SSL_ERROR_ZERO_RETURN

2002-07-12  Mr. Sam  <mrsam@courier-mta.com>

	* couriertls: more cleanup, better error reporting.

	* esmtpclient: fix /SECURITY.

	* couriertls: Fix tlscache make check

2002-07-11  Mr. Sam  <mrsam@courier-mta.com>

	* courier/module.esmtp/esmtpclient.c (starttls): couriertls cleanup
	got rid of -verifyfailmsg.

	* authlib/Makefile.am: cleanup - move changeuidgid.c to numlib.

	* couriertls: cleanup.

	* maildir/README.maildirquota: clarify maildirsize format.

	* webadmin: orbl.org is dead.

2002-07-10  Mr. Sam  <mrsam@courier-mta.com>

	* tcpd/configure.in (LIBCOURIERTLS): Disable building libcouriertls.a,
	in addition to couriertls, if openssl-devel is not installed.

2002-07-09  Mr. Sam  <mrsam@courier-mta.com>

	* Renamed logger to courierlogger

2002-07-07  Yu Kobayasi <mail@yukoba.jp>

	* shift-JIS encoding.  Search in iso-2022-jp and shift-JIS.

2002-07-07  Mr. Sam  <mrsam@courier-mta.com>

	* courier.spec.in (case): Merge courier-sendmail-wrapper into
	main courier RPM if alternatives scripts are present.

2002-07-06  Mr. Sam  <mrsam@courier-mta.com>

	* webmail: Bless GnuPG 1.0.7; add a dropdown to set the keysig trust
	level.

2002-06-30  Mr. Sam  <mrsam@courier-mta.com>

	* rfc1035/rfc1035.c:  Use a random number generator to initialize the
	ID field on DNS queries

	* imap/fetch.c (dofetchmsgbody): Fix BODY[n] for message/rfc822 MIME
	sections.

2002-06-29  Mr. Sam  <mrsam@courier-mta.com>

	* pcp: Refreshed to gettext 0.11.1-2

2002-06-27  Mr. Sam  <mrsam@courier-mta.com>

	* courier/doc: make web icon show up in Mozilla 1.0

2002-06-25  Alexander Skwar <lists.ASkwar@DigitalProjects.com>

	* courier.spec.in: spec file fixes for Mandrake.

2002-06-24  Mr. Sam  <mrsam@courier-mta.com>

	* rfc1035: added rfc1035_ifconf(), an interface to SIOCGIFCONF

	* courier/module.esmtp/courieresmtp.c: use SIOCGIFCONF to improve
	MX loop detection.

2002-06-23  Mr. Sam  <mrsam@courier-mta.com>

	* couriertls: code cleanup of the SSL/TLS wrapper.  Code cleaned up
	and modularized as libcouriertls.a, with a mini-API library.
	Implemented SSL/TLS session caching.

	* imapd.dist, pop3d.dist: new configuration settings for the
	SSL/TLS session cache file.

0.39.1
	
2002-06-27  Mr. Sam  <mrsam@courier-mta.com>

	* authlib/authldaplib.c: Fix null ptr deref in new LDAP_MAILROOT
	code.

0.39

2002-06-22  Mr. Sam  <mrsam@courier-mta.com>

	* courier/webadmin/admin-30esmtp.pl (parsebl): Typo fix.

2002-06-19  Mr. Sam  <mrsam@courier-mta.com>

	* courier/filters/courierfilter.c (start): Close old stdout before
	starting filter child processes.

	* webmail/pcp.c (do_login): Squash bad error message if initial
	groupware calendar login fails for some reason.

	* courier.spec/README: ... and the initial groupware calendar
	login was failing on platform that use PAM because PAM needs to
	be configured to authenticate the "calendar" service.  Updated the
	RPM spec file to set this up, and update pcp/README to indicate that.

	* courier.spec - updated to install actual files in /etc/pam.d,
	instead of soft links, this is cleaner.  Also, install updated
	pop3/imap files that use the system-auth PAM module, where available.

2002-06-17  Mr. Sam  <mrsam@courier-mta.com>

	* maildir/maildirfilter.c: Fix FROM being incorrectly set for mailbot
	autoreplies.

	* maildir/maildirfilter.c: Do not use the -t flag when running
	SENDMAIL to forward a message.

2002-06-13  Mr. Sam  <mrsam@courier-mta.com>

	* maildir/maildirquota.h: Renamed maildirsize struct member to
	maildirsizefile - some compiler is having a cow about a struct member
	having the same name as the struct.

	* imap/outbox.c (check_outbox): Bug fix.

2002-06-12  Mr. Sam  <mrsam@courier-mta.com>

	* maildir/maildirquota.c (do_maildir_openquotafile): Fix quotas
	on FreeBSD (fcntl("/dev/null", F_SETFL) doesn't work on FreeBSD)

	* authlib/cryptpassword.c: Added missing include of stdlib.h

2002-06-11  Mr. Sam  <mrsam@courier-mta.com>

	* authlib/authldaprc: Added LDAP_MAILROOT

2002-06-09  Mr. Sam  <mrsam@courier-mta.com>

	* numlib/strofft.c: off_t may be negative.

	* +++ maildirquota API update +++

	   + allows documented way to change the set quota on a maildir

	   + major internal cleanup, established a sane API library

	External changes:

	   + quota no longer set by deliverquota or MAILDIRQUOTA, new -q
	     option to maildirmake.  Both deliverquota, maildrop, and
	     Courier now read the maildirsize no matter what, and observe
	     the quota

	   + maildirmake and deliverquota now installed by the Courier-IMAP,
	     maildrop, and sqwebmail standalone builds.

	   + updated README.maildirquota, and man pages to reflect all these
	     changes.

	* courier/courierctl.start.in: Use a subshell to start courierd
	(some bug in old sh's).

2002-06-06  Mr. Sam  <mrsam@courier-mta.com>

	* imap/thread.c (printos): Sort threads by starting thread date.

2002-06-05  Mr. Sam  <mrsam@courier-mta.com>

	* imap/pop3dserver.c (main): Check the sticky bit, just like IMAP.

2002-06-05  James F.Hranicky <jfh@cise.ufl.edu>

	* imap/imapd.c (main): Log to stderr if failed to chdir to the maildir.

2002-06-05  Peter C. Norton <spacey-courier@lenin.nu>

	* courier/module.local/deliver.c (savemessage): Log maildir pathname
	if failed to create a message.

2002-06-02  Mr. Sam  <mrsam@courier-mta.com>

	* imap/outbox.c: Added #include <signal.h>

2002-05-29  Mr. Sam  <mrsam@courier-mta.com>

	* imap/outbox.c: Added the OUTBOX feature.

0.38.2

2002-05-26  Ron van den Dungen <ron@dse.nl>

	* authlib/authmysqllib.c (do_connect): Fix server connect via
	filesystem socket.

2002-05-25  Mr. Sam  <mrsam@courier-mta.com>

	* Generate and validate a hash for redirect requests, to prevent
	unauthorized use of the redirector.

2002-05-24  Mr. Sam  <mrsam@courier-mta.com>

	* webadmin/login.html: Use POST for the login form, instead of a
	GET.

2002-05-22  Gordon Messmer <yinyang@eburg.com>

	* courier.spec.in (Provides): Add provides: to sendmail-wrapper
	subpackage.

2002-05-22  Mr. Sam  <mrsam@courier-mta.com>

	* imap/fetch.c (dofetchmsgbody): Fix BODY[x.MIME] replies for
	message/rfc822 sections.

2002-05-20  Mr. Sam  <mrsam@courier-mta.com>

	* rfc822_parsedt.c (rfc822_parsedt): Ignore obviously invalid years
	(someone else can worry about Y10K).

2002-05-19  Mr. Sam  <mrsam@courier-mta.com>

	* sqwebmail.c (open_langform): Fix crash if a form template cannot be
	opened.

2002-05-17  Mr. Sam  <mrsam@courier-mta.com>

	* newmsg.c (dosendmsg): Fix quota update when new message is NOT
	saved in the Sent folder.

2002-05-17  Mr. Sam  <mrsam@courier-mta.com>

	* tcpd/tcpd.c (doallowaccess): Code cleanup.

	* courier/submit.C (getrcpts): Fix failure to inject a bounce message
	when the original message had corrupted MIME content.

2002-05-15  Gordon Messmer <gmessmer@real.com>

	* courier.spec.in: Clean up alternatives support for valhalla

2002-05-14  Mr. Sam  <sam@email-scan.com>

	* html/en-us/readmsg.html: Mozilla bug workaround

2002-05-09  Mr. Sam  <mrsam@courier-mta.com>

	* authlib/Makefile.am (libauth-modules): Get rid of some cruft in
	the Makefile.

2002-05-08  Norihisa Washitake <nori@washitake.com>

	* iso-2022-jp charset update

2002-05-07  Mr. Sam  <mrsam@courier-mta.com>

	* courier/doc/links.html: Added a link to the log analyzer, mb2md
	script.

	* maildrop/mailbot.c (main): Added a -f option to mailbot.

	* courier/submit2.C (copymessage): Add an X-Original-Content-Type:
	header marking an encapsulated message.

2002-05-07  Keith T. Garner <kgarner@kgarner.com>

	* authlib: Additional LDAP authentication filter. 

2002-05-07  John Morrissey <jwm@horde.net>

	* authlib: Solaris LDAP fix.

0.38.1

2002-04-30  Mr. Sam  <mrsam@courier-mta.com>

	* unicode/big5.c (c2u): Fixed a crash caused by invalid big5 chars.

2002-04-24  Mr. Sam  <mrsam@courier-mta.com>

	* maildrop/filter.C (xfilter): Set O_NDELAY on file descriptors for
	xfilter() since select() only works correctly on non-blocking fds.

2002-04-22  Mr. Sam  <mrsam@courier-mta.com>

	* courier/aliasexp.C (normalize): Fix makealiases lockup due to a bad
	alias file.

2002-04-17  Norihisa Washitake <nori@washitake.com>

	* iso-2022-jp unicode map.

2002-04-08  "tonix (Antonio Nati)" <tonix@interazioni.it>

	* webmail: maildir.c, html/en/folder.html: use strftime string from
	folder.html to format message dates.

	* webmail: folder.c, html/en/readmsg.html: selectively replace rfc822
	mail headers from readmsg.html

2002-04-08  Mr. Sam  <mrsam@courier-mta.com>

	* maildrop/formatmbox.C (GetFromLine): Do not write a newline before
	every From_ line...
	
	* maildrop/deliver.C (delivery): ... only for 2nd and subsequent msgs.

2002-04-07  Mr. Sam  <mrsam@courier-mta.com>

	* rfc822/rfc822_mkdate.c (rfc822_mkdate_buf): Explicit (int) cast gets
	the file compiled under Cygwin.

2002-04-06  Mr. Sam  <mrsam@courier-mta.com>

	* courier.spec.in: fix alternatives package.

	* imap/imapd.c (do_imap_command): If SELECT fails, close the old folder
	anyway.

2002-04-05  Mr. Sam  <mrsam@courier-mta.com>

	* courier/webadmin/admin-30esmtp.html: Added a canned setting for
	monkeys.com open proxy blacklist.

2002-04-02  Mr. Sam  <mrsam@courier-mta.com>

	* webadmin/webadmin.pl.in (display_form): Fixes for Mozilla 0.9.9

2002-04-01  Mr. Sam  <mrsam@courier-mta.com>

	* rfc1035/rfc1035dump.c: print control characters in hostnames.

	* authlib/authmysqllib.c (auth_mysql_setpass): Fix password change in
	the custom MySQL driver.

2002-03-29  Mr. Sam  <mrsam@courier-mta.com>

	* courier/doc/makealiases.sgml (info): Got rid of some misplaced
	cruft, left over from Docbook conversion.

	* courier/module.esmtp/courieresmtpd.c (domailfrom): Tarpit 5xx
	errors to MAIL FROM:
	(dorcptto): Tarpit ONLY 5xx errors to RCPT TO:

2002-03-26  Mr. Sam  <mrsam@courier-mta.com>

	* authlib/authldaplib: Added an option to implement two-stage
	LDAP lookups, for authentication purposes.

0.38

2002-03-23  Mr. Sam  <mrsam@courier-mta.com>

	* courier.spec.in: Add some spaghetti for the RH Skipjack beta
	release.  For skipjack, the courier-sendmail-wrapper subpackage
	will installs the alternatives links to Courier.

2002-03-22  Mr. Sam  <mrsam@courier-mta.com>

	* newmsg_create.c (sentmsg_reformat): Use SQWEBMAIL_TEMPLATEDIR,
	if defined, instead of HTMLLIBDIR.

2002-03-22  Mr. Sam  <mrsam@courier-mta.com>

	* courier/doc/FAQ.html: Added Tru64 gmake check failure. 

2002-03-21  Mr. Sam  <mrsam@courier-mta.com>

	* authlib/configure.in: Fix broken vpopmail_home test.

2002-03-18  Mr. Sam  <mrsam@courier-mta.com>

	* rfc2045/reformime: Fix handling of unencoded nulls in text/plain
	content.

2002-03-17  Mr. Sam  <mrsam@courier-mta.com>

	* ldaplist.c (parsesearch): Attempt to decode base64-encoded LDAP
	attributes.  Allow configuration of LDAP server SASL parameters.

2002-03-15  Mr. Sam  <mrsam@courier-mta.com>

	* html.c: Tighten up HTML parsing.

2002-03-15  Jason Gilbert <jason@doozer.com>

	* courier/module.esmtp/courieresmtpd.c: ESMTPAUTH_TLS actually works
	now.

2002-03-15  Mr. Sam  <mrsam@courier-mta.com>

	* courier/courierd.dist.in (TLS_VERIFYPEER): Change the default
	for TLS_VERIFYPEER to NONE.  3/13 starttls change would otherwise
	begin requiring peer certificate validation.

2002-03-14  Brian Candler <B.Candler@pobox.com>

	* maildir/maildirmkdir.c (maildir_mkdir): Create tmp subdir last,
	when creating a maildir.

2002-03-14  Toshikazu Ichikawa <ichikawa@toshikazu.org>

	* sqwebmail.c (main2): Optionally disable monthly Sent folder rename.

2002-03-13  James Collier <james.collier@fifthweb.net>

	* tcpd/starttls.c (ssl_verify_callback): Fix client peer certificate
	check.

2002-03-09  Mr. Sam  <mrsam@courier-mta.com>

	* courier/webadmin/admin-34fax.pl: Added incoming fax notification
	configuration screen.

	* rfc2045/reformime.c (main): Added -h, -o, and -O options.

	* rfc822/rfc2047.c (rfc2047_encode_callback): Fix MIME-encoding of
	spaces.

2002-03-09  Mr. Sam  <mrsam@courier-mta.com>

	* courier/module.fax/courierfax.c:  Check sendfax's exit code,
	and retry only if exit code < 10 (in accordance to published
	sendfax documentation).

2002-03-08  Mr. Sam  <mrsam@courier-mta.com>

	* courier/module.fax: whipped up a better new_fax for mgetty to
	automatically convert incoming faxes to PNGs and mail them out.
	New config file: faxnotifyrc


2002-03-07  Mr. Sam  <mrsam@courier-mta.com>

	* rootcerts/certs.sh: Refreshed trusted X.509 root certs from
	Mozilla's CVS tree.

	* courier/doc: Documentation updates.

	* courier.spec.in: Moved outbound fax webadmin screen into the
	courier-fax RPM.

2002-03-06  Mr. Sam  <mrsam@courier-mta.com>

	* courier/module.fax/faxrc.dist: Replace the default canned set
	of rewriting rules with something better.  Prefix a dummy rewriting
	rule that disables fax transmission by default (it must be manually
	removed to enable fax transmissions).

	* Added a webadmin screen to set up outgoing fax transmissions.

	* courier/module.fax/courierfax.c: Include number of pages in the
	fax cover page in the delivery report.

	* waitlib/configure.in: Fix check for sighold() function.

	* courier/module.fax/faxrc.dist: Default setting accepts faxes
	from the esmtp module (but FAXRELAYCLIENT still needs to be set,
	see the following deltas for an explanation).

	* courier/module.esmtp/courieresmtpd.c (main): Set FAXRELAYCLIENT
	after successful ESMTP authentication.

	* courier/doc/makesmtpaccess.sgml: Documented the FAXRELAYCLIENT
	variable.

	* courier/doc/install.html: Documented FAXRELAYCLIENT in the
	outgoing fax configuration section.

2002-03-05  Mr. Sam  <mrsam@courier-mta.com>

	* courier/module.esmtp/esmtp.c (rfc822check): Do not reject
	ESMTP recipient addresses of the form @fax[-opts] (leave it on the
	fax module to reject esmtp fax requests), allow it if
	FAXRELAYCLIENT is set.

	* courier/sendmail-esmtpd-wrapper.c (esmtpd): Set FAXRELAYCLIENT
	for the 'sendmail -bs' invocation automatically.

2002-03-04  Mr. Sam  <mrsam@courier-mta.com>

	* rfc822/rfc822.c (rfc822_prname_orlist): Dequote quoted-strings.

	* Courier: Added module.fax

	* courier/libs: added faxqueuetime config setting.  Modified
	showconfig, dsn, to use it.

2002-03-01  "Peter C. Norton" <spacey-courier@lenin.nu>

	* Added authlib/README.authpostgres.html

2002-03-01  Mr. Sam  <mrsam@courier-mta.com>

	* courier, maildrop: fix configure and makefile scripts for
	autoconf 2.52 and automake 1.5

2002-02-27  Mr. Sam  <mrsam@courier-mta.com>

	* mimegpg: when encrypting, include Mime-Version: 1.0 header in
	the headers of the encrypted portion of the message.

	* folder.c (folder_initnextprev): Remove spurious hidden field
	left outside a form.

	* courier/libs/lcrewrite.c: Tighten checks on valid envelope
	addresses to prohibit character <, >, (, ), ;, whitespace, and
	control characters.

	* authlib/configure.in: Replace test ~vpopmail (home directory) with
	a Perl script (~username not supported by Solaris's sh).

0.37.3

2002-02-25  Mr. Sam  <mrsam@courier-mta.com>

	* ldaplist.c (parsesearch): Expect LDIF-formatted output from
	ldapsearch, now.

	* imap/imapd.c: fix GETQUOTAROOT response

	* imap/testsuite: dump imapd output to a file instead of /dev/null,
	BSD's fcntl(O_NONBLOCK) chokes on /dev/null.

2002-02-24  Mr. Sam  <mrsam@courier-mta.com>

	* imap/imapscanclient.c: fix UIDNEXT in the STATUS response to take
	into account new mail.

2002-02-23  Mr. Sam  <mrsam@courier-mta.com>

	* courier/module.local/deliver.c:  Hack around the FreeBSD issue with
	mixing of stdio and unistd seek calls.

2002-02-22  Mr. Sam  <mrsam@courier-mta.com>

	* courier/module.esmtp/addcr.c (main): Fix breakage introduced by
	O_NONBLOCK 2002-02-19 - for some reason addcr executed by sendmail -bs
	has its stdin go into nonblock mode as a result of O_NONBLOCK from
	courieresmtpd.

2002-02-20  Mr. Sam  <mrsam@courier-mta.com>

	* submit, couriermlm: fstream constructor append ios::trunc to
	ios::in and ios::out (fix for gcc 3.1).

	* couriermlm: replace calls to ifstream.get(const char *, int) with
	manual code (fix for gcc 3.1).  Someone was smoking crack when they
	decided that get() reading a blank line should end up setting failbit.

2002-02-19  Mr. Sam  <mrsam@courier-mta.com>

	* mimegpg, courieresmtp, courieresmtpd: must set O_NONBLOCK on file
	descriptors even if select() is used to check for read/write
	availability.

2002-02-17  Mr. Sam  <mrsam@courier-mta.com>

	* imap/searchinfo.c: allow numerical SEARCH strings without quoting.

2002-02-15  Mr. Sam  <mrsam@courier-mta.com>

	* authlib/configure.in: Link against $CRYPTLIBS when probing for
	open_smtp_relay()

	* rfc2045/reformime.sgml: Documented the -m and -D options. 

	* Perl 5.6.1 fixes.

2002-02-13  Mr. Sam  <mrsam@courier-mta.com>

	* webmail: import SENDER from the environment, in maildirfilter,
	and use that for the return address on forwarded mail.

2002-02-12  Mr. Sam  <mrsam@courier-mta.com>

	* Fixes for gcc 3.1

	* courier/configure: Get rid of obsolete maildrop setgid warning.

2002-02-12  "Stefan Hornburg (Racke)" <racke@linuxia.de>

	* webmail: Disable Trash folder autopurge by setting # of days to 0.

2002-02-06  Mr. Sam  <mrsam@courier-mta.com>

	* pcp: Initial set of changes for the forthcoming remote calendaring
	proxy:  build pcp/uids.h from the Makefile; added pcpuid() and
	pcpgid() functions; moved auth_myhostname() into a separate module;
	split pcp_open_proxy() function into two functions: pcp_find_proxy()
	(with an extra parameter that specifies which pcp servers to skip,
	we want to make sure a remote proxy connection doesn't multihop) and
	pcp_set_proxy().

2002-02-02  Mr. Sam  <mrsam@courier-mta.com>

	* rfc1035: Fix rfc1035search functions if the original rfc1035
	library call did not use a FQDN.

2002-01-31  Mr. Sam  <mrsam@courier-mta.com>

	* courier/submit2.C: BOFHBADMIME=accept implies MIME=none.

2002-01-28  Mr. Sam  <mrsam@courier-mta.com>

	* imapscanclient.c (do_imapscan_maildir2): Fix uninitialized nextuid
	variable when folder without courierimapuiddb is opened read-only.

2002-01-27  Mr. Sam  <mrsam@courier-mta.com>

	* courier/module.esmtp/configure.in: Fix typo.

	* userdb/configure.in: Fix typo.

	* random128/configure.in: Fix typo.

2002-01-25  Mr. Sam  <mrsam@courier-mta.com>

	* courier/doc: documented the BOFHBADMIME option.  Revised the
	makesmtpaccess, courier, and submit documentation.

	* courier/bofh.c (bofh_init): Added the 'opt' bofh configuration
	file keyword (mainly for BOFHBADMIME).  Added the corresponding
	webadmin screen.

	* courier/imapd-ssl.rc.in, courier/imapd.rc.in: cleanup. 

	* courier/module.esmtp/esmtpd.in: cleanup.

	* courier/module.esmtp/esmtpd-ssl.in: cleanup.

	* rfc2045/rfc2045.c (doline): Fix incorrect calculation of the
	end of a multipart MIME section that's inside another multipart
	MIME section.

2002-01-24  Mr. Sam  <mrsam@courier-mta.com>

	* webadmin: Added webadmin screen to set up BOFHBADMIME,
	EMSTP over SSL.  Added missing options to esmtpd-ssl.dist.in.

2002-01-22  Mr. Sam  <mrsam@courier-mta.com>

	* courier/submit2.C: Environment variable BOFHBADMIME to specify
	handling of invalid MIME mail: "reject" - bounce it, "accept" -
	accept it untouched.  Default stays the same - encapsulate it.

2002-01-21  Gordon Messmer <yinyang@eburg.com>

	* courier.spec.in: Optimize shell profile scripts.

	* Add support script for ESMTP over TLS on port 465.

0.37.2

2002-01-21  Mr. Sam  <mrsam@courier-mta.com>

	* courier/libs/comctlfile.c (ctlfile_openfn): Eliminate <CR> in
	queue control files, which can result in corrupted memory, and
	server restart.  Problem noted by Nat Sakimura <sakimura@marimba.org>
0.37.1
	
2002-01-17  Mr. Sam  <mrsam@courier-mta.com>

	* courier/submit2.C: Message encapsulation incorrectly set transfer
	encoding on encapsulate replacement, in certain instances.

2002-01-17  Bob Pepin <bob@gms.lu>

	* imap/thread.c (printthread): Fix THREAD REFERENCES.

2002-01-14  Mr. Sam  <mrsam@courier-mta.com>

	* docbook/sgml2html: Fix Docbook/OpenJade silliness that converts
	<note> to an IMG tag to a fixed image file.

2002-01-13  Mr. Sam  <mrsam@courier-mta.com>

	* folder.c (folder_nextprev): Add "Download Message" option.

	* attachments.c (attachments_head): Display a meaningful error message
	if makemime fails.

	* pcp.c (sqpcp_displayevent): Add class=calendarevent to event time
	table.

2002-01-12  Mr. Sam  <mrsam@courier-mta.com>

	* authlib/authldaplib.c (auth_ldap_do): Escape punctuation in
	userid string.

2002-01-11  Mr. Sam  <mrsam@courier-mta.com>

	* courier/sendmail.c: Intelligently set the exit code from sendmail
	based on the SMTP errcode from submit (EX_NOUSER if 5xx, EX_TEMPFAIL
	otherwise).  Mental note: double check anything that runs sendmail,
	to make sure it is happy with the new exit codes.

	* ESMTP: Changed the VERP ESMTP keyword to XVERP=Courier.
	Courier will only send a VERPed message if the remote server lists
	XVERP=Courier.  Postfix in Aug 2001 introduced a different XVERP
	implementation that conflicts with Courier's, even though Courier
	used the VERP keyword since 1999.  Impact: 0.37.1, and higher,
	will not use VERP when talking to 0.37, or earlier, and instead will
	fallback to the non-VERP compatibility mode.  0.37.1 will only use
	VERP with other 0.37.1+ relays.

2002-01-10  Mr. Sam  <mrsam@courier-mta.com>

	* webmail/html/en/eventshow.html: Added some missing tags for
	displaying attachments.

2002-01-08  Tomas Fasth <tomas@euronetics.se>

	* imap/imapd.c (imapidle): Call noop() before entering IDLE.

2002-01-08  Robert L Mathews <rob@tigertech.com>

	* webmail/ispell.c (ispell_run): Handle '?' replies from ispell.

2002-01-08  Oliver Hitz <oliver@net-track.ch>

	* authlib/Makefile.am (libauth-modules):  Fix Makefile build
	with no authentication modules selected.

2002-01-07  Pawel Wilk <siefca@kernel.pl>

	* authlib/authmysqllib.c: Major update to the authmysql driver
	that adds the option to create hand-crafted SQL queries.

2002-01-06  Mark Anthony Lisher <markal@iname.com>

	* courier/cdmsgq3.C (flushmsg): Fix 'courier flush qid'.
