# Changes in 3.0.0-beta3

- This document is no longer being maintained, and will be removed soon. Please refer to the release notes for the respective version, in the `doc/html/` directory of the source distribution, or on the Cyrus IMAP website.

# Changes in 3.0.0-beta2 since the 2.5.x series

## Major changes

- Support added for FastMail-style conversations (threaded messages). (See the conversations options in imapd.conf)

- Optional Xapian integration for faster and shinier search. Note that this requires custom patches to Xapian, in this release. (See the search_engine option in imapd.conf, and doc/README.xapian in the source distribution.))

- Archive support has arrived! Requires addition of an archive partition. (See archive_* options in imapd.conf)

- Optional ClamAV integration for AntiVirus support is now working again. Requires separate installation of ClamAV. (See configure.ac --with-clamav=DIR)

- Dropped support for Berkeley DB.

- The handling of configure options has changed, dropping support for --with-cyrus-prefix and --with-service-path in favour of the more conventional --prefix, --bindir, --sbindir, and --libexecdir.

- Binaries executed by the cyrus-master(8) service process are now installed to --libexecdir. Other binaries are installed to --bindir and/or --sbindir.

  The make installbinsymlinks target can be used to set up symlinks to everything in --bindir, if you need that in your environment.

- Added support for replicating mailboxes/users to a particular partition. sync_client now accepts a -p option.

- The defaultdomain setting in imapd.conf now defaults to “internal” (was: NULL)

- Added experimental backup service. See docs/install-backup.html in the source distribution for preliminary installation/configuration/administration documentation.

- Support for Apple’s Push service (XAPPLEPUSH). See Cyrus Event Source

- Sieve now supports special use folders. See Cyrus Sieve

- New numeric header available for sorting: X-Spam-Score

- Added IMIP notification support to notifyd(8). See imipnotifier in imapd.conf

- Optimised CRC32 implementation

- Added support for reverse ACLs, enabling faster LIST response. See reverseacls in imapd.conf

- Added cross-domain sharing support. See crossdomains and crossdomains_onlyother in imapd.conf

- Added experimental object storage for mail data, with preliminary support for OpenIO and Caringo backends. See configure.ac --enable-objectstore, and the object_storage_*, openio_* and caringo_* options in imapd.conf.

- Configurable POP3 UIDL format for compatibility with other mail servers. Supports Courier Mail Server and Dovecot formats, in addition to Cyrus formats. See uidl_format in imapd.conf

- Sieve now supports the RFC 5490 Checking Mailbox Status and Accessing Mailbox Metadata extensions. See sieve_extensions in imapd.conf

- Under delete_mode: delayed, only the 20 most recently deleted mailboxes are kept for any given name.

## Significant bugfixes

- Lots of fixes to caldav and carddav.

  Includes the addition of a new daemon (calalarmd) which periodically processes a global database containing the “next” alarm for each item, and sends the relevant mboxevents. (See configure.ac --with-calalarmd)

- Replication reliability fixes.

- Improved LIST-EXTENDED: more imap tests now succeed.

- Extensive cleanup of mailbox name handling

- master now requests a sane maximum number of open file descriptors, and only complains if this isn’t allowed.

- Fixes to compiling on Solaris (thanks Jens Erat, Marty Lee)

- Improved handling of mailbox renames during replication

# Changes from 2.4 to 2.5

- Check the release notes online at https://docs.cyrus.foundation/imap/release-notes/2.5.0.html

# Changes to the Cyrus IMAP Server since 2.4.17-caldav-beta10

- Properly do time range filtering on a recurring event where the recurring component isn't the first component in the iCalendar stream.
- Properly do time range filtering on an uncompleted task with no due time.
- Added short-circuits to calculation of recurring event time span.
- Faster free/busy calculation for non-recurring events.
- Added `caldav_mindatetime` and `caldav_maxdatetime` options.

# Changes to the Cyrus IMAP Server since 2.4.17-caldav-beta9

- DAV DB changes now occur in the mailbox API which means that replication works for calendars and addressbooks.
- IMAP XFER is now based on replication.
- Added support for free/busy query URL to CalDAV.
- Authentication for GET/HEAD requests is now done on-demand so that free/busy queries and/or calendar subscriptions can be done anonymously (subject to ACL).
- Added support for VAVAILABILITY, VPOLL, RSCALE to CalDAV based on current drafts (requires libical from git).
- Updated http_timezone.c to be compliant with current draft.
- Numerous other CalDAV fixes/enhancements.

# Changes to the Cyrus IMAP Server since 2.4.17-caldav-beta8

- Fixed bug in parsing of Accept header (now accepts `*/*` and `type/*`).
- Fixed telemetry logging bug (old garbage appearing in log).
- Added a workaround for the DELETE bug in MacOS X 10.9.0 Calendar client.

# Changes to the Cyrus IMAP Server since 2.4.17-caldav-beta7

- Added Timzone Service module along with associated admin tools (ctl_zoneinfo, vzic).
- Added support for accepting/returning jCal (requires Jansson) and xCal data wherever iCalendar data is allowed.
- Proxied responses (including chunked) are now piped to client rather than being buffered and forwarded.
- Better handling of COPY/MOVE between backends (including LOCKs).
- Fixed "annotation truncation" bug where the largest allowed annotation value was slightly less than 4k (solves problem reading CalDavZAP settings).
- GET on ./well-known now returns a list of /.well-known/ URLs on the server.
- Added support for X-HTTP-Method-Override header in POST requests.
- Added replacement functions for those not present in libxml2 < v2.8.0
- Plugged a few more memory leaks found by Valgrind.

# Changes to the Cyrus IMAP Server since 2.4.17-caldav-beta6

- Plugged several memory leaks found by Valgrind
- Less verbose reconnect communication between frontend and backend
- GET on calendar-home-set now returns a list of subscribe-able calendars
- Auto-provisioning of calendars/addressbooks now works via a frontend proxy
- Fixed several conformance bugs detected by CalDAVTester
- Added support for optionally adding Content-MD5 header to responses (see `httpcontentmd5` option)
- Fixed time-based queries for components other than VEVENT

# Changes to the Cyrus IMAP Server since 2.4.17-caldav-beta5

- RSS module now produces Atom 1.0 output rather than RSS 2.0 (we prefer IETF standards)
- PROPFIND/REPORT allprop/propname requests are now supported
- `unixhierarchysep` is now supported by all HTTP modules
- Completely rewrote write_body() - Range requests are now supported on non-chunked Content-Encoded data
- Added cache control response headers where appropriate to make Redbot happy
- Fixed handling of telemetry log file descriptors and truncation
- Allow GET on calendar collections for "exporting" entire calendar
- Fixed POST on calendar collection (add-member)
- Fixed parsing of calendar-query filter
- Added several CalDAV/iCalendar validation checks based on CalDAVTester results

# Changes to the Cyrus IMAP Server since 2.4.17-caldav-beta4

- Always verify authorization credentials supplied by the client (a proxy may be reusing an existing connection as a different user)
- Don't bother supporting Digest qop=auth-int since no clients seem to use it
- Don't show addressbook mailboxes in IMAP LIST output
- Plugged leaked memory found by Valgrind
- Better handling of request/response bodies
- Added `httpprettytelemetry` option
- Added `httpallowcors` option (Cross-Origin Resource Sharing)

# Changes to the Cyrus IMAP Server since 2.4.17-caldav-beta3

- Plugged leaked memory found by Valgrind
- Rewrote list_feeds() to not use memmem()
- OPTIONS method can be used without authentication
- Better handling of Connection:keep-alive
- Added `httpallowedurls` option

# Changes to the Cyrus IMAP Server since 2.4.17-caldav-beta2

- Fixed security bug where a user-agent could access files outside of `httpdocroot`.
- Changed annotation entry name scheme to be "/vendor/cmu/cyrus-httpd/<" ns-href ">" prop

# Changes to the Cyrus IMAP Server since 2.4.17-caldav-beta1

- Fixed Bug #3792: Build failures on Solaris 10
- Path to user's DAV DB will be created, if necessary
- Fixed bug where calendars and addressbooks were using the same mailbox type flag
- Fixed [un]signed int / size_t mismatches in formatted output

# Changes to the Cyrus IMAP Server since 2.4.17

- Added httpd service with CalDAV, CardDAV, RSS, and iSchedule modules

# Changes to the Cyrus IMAP Server since 2.4.16

- A bunch of cleanups and fixes to compiling
- A bunch of sieve cleanups
- Fixed bug #3691: unixhierarchysep is now obeyed when printing the mailbox name in unexpunge
- Fixed bug #3718: crashes fetching message parts
- Fixed bug #3719: pop3 seen update of final message in a mailbox
- Improved documentation of "proxyservers" option
- Fixed bug #3737: lost emails in XFER delivery race
- Fixed bug #3725: inefficient statuscache use in some cases
- Fixed bug #3484: use of sasl property types (compile fix)
- Fixed bug #3754: failure to support binary append. This was found by a popular library switching to using binary appends
- Fixed bug #3735: user prefix searching now works with fulldirhash
- Fixed bug #3696: can no longer rename the same mailbox twice, which left things in a corrupted state if you caught the race.
- Fixed bug #3715: using berkeley for mailboxes.db was very broken. It now works.
- Fixed bug #3733: reconstruct with missing cyrus.index will use file timestamps for internaldate rather than setting it to NOW if internaldate_heuristic is set to standard
- Fixed bug #3729: better documentation for xlist-* in 2.4.
- Fixed bug #2717: fetches of individual messages or short ranges no longer need to parse over the entire index.
- Fixed bug #3742: reconstruct can now fix multiple folders with the same uniqueid again (regression from 2.3) and also sync_client avoids a crash in that broken case.

# Changes to the Cyrus IMAP Server since 2.4.15

- Bug #3651 - 64 bit dirhash breaks existing systems. NOTE this includes a fix to the re-written rehash tool released with 2.4.15

# Changes to the Cyrus IMAP Server since 2.4.14

- Bug #3664, #3665 - Sieve filters don't work if mailbox contains dots
- Bug #3651 - 64 bit dirhash breaks existing systems. NOTE - this includes a complete rewrite of tools/rehash, making it much simpler and more reliable. Check the usage statement
- Bug #1228 - mailbox dumps need to dump quotaroots
- Bug #3613 - CATENATE command returns BADURL
- Bug #3627 - enabling improved_mboxlist_sort documentation mention subscription files
- Bug #3661 - Memory leaks in sync_server, nntpd, popd
- Bug #3621 - quota bug involving nested quota roots
- Bug #3667 - FLAGS.SILENT needs to return new MODSEQ if QRESYNC enabled

# Changes to the Cyrus IMAP Server since 2.4.13

- Bug #2685 - folder delete and annotations
- Bug #3381 - tools/rehash script is not 64bit safe
- Bug #3405 - Cyrus IMAP tls support for ctl_mboxlist
- Bug #3485 - cyr_expire tries to delete parent directories that are not empty
- Bug #3582 - Extra LF+SP characters been inserted in the middle of the XML attachments
- Bug #3598 - lmtp auditlog for murder proxy mode
- Bug #3623 - OpenBSD (and other platforms without working mmap) multiple bugs
- Bug #3626 - Renaming a mailbox doesn't remove old folder
- Bug #3628 - folders with spaces and subfolders with same prefix as parent folder don't show up
- Bug #3634 - RENAME INBOX no longer works
- Bug #3635 - cmd_rename() fails to check error codes
- Bug #3636 - unexpunge locks mailbox until all output is emitted
- Bug #3637 - imapd and ipop3d in 2.4 no longer log expunge events to syslog
- Bug #3638 - sessionid logging improvements for murder environments
- Bug #3640 - LMTP accepts NULL bytes in headers, resulting in incorrect header/mail size in meta-data
- Bug #3642 - iPhone 5 expects SPECIAL-USE in LIST output
- Bug #3649 - unable to remove mailbox
- Bug #3650 - ENVELOPE contains unexpected CRLF
- Bug #3645 - Ability to delete folder "shared"

# Changes to the Cyrus IMAP Server since 2.4.12

- Bug #3565 - fix gcc compiler warnings - thanks Dilyan Palauzov <dilyan.palauzov@aegee.org>
- Bug #2685 - rename annots in delayed folder delete. Avoids annotations "reappearing" when a folder is recreated
- Bug #3566 - actually fix in a backward compatible way. 2.4.12 broke older versions of bison
- Lots of small cleanups from CMU as they prepared to build RSS into their 2.4 build. Thanks Ken
- Bug #3591/#3609 - fix crash in mupdate on partition move
- Bug #3610 - fix replication of partition move
- Bug #3564 - document the way prefork interacts with multiple network protocols
- Bug #3586 - allow rename of "\Noselect" if subfolders exist
- A handful of small cleanups (#3593, #3594, #3595) from David Carter <dpc22@cam.ac.uk>. Very much appreciated
- Disabled duplicate_check DEBUG level log messages by default. Thanks Philip Prindeville <philipp@redfish-solutions.com>
- Bug #3608 - log mailbox name in more sync failure cases
- Bug #3615 - fix proxyd_disable_mailbox_referrals. Thanks Andrew Morgan <morgan@orst.edu>
- Bug #3611 - fix crash in sync_mailbox_full if expunge fails
- Backported some nice fixes from master, including safer thread/sort (there were some crashes on bad messages before)
- Fixed infinite loop on suppress_capabilities with substrings of other capabilities. Ouch.
- Fixed LIST and LSUB again - this time to make LIST "" "*%" work without breaking other things
- Bug #3588 - make XFER not break if the wrong server name was used. The start of making murder safer
- Bug #3603 - tidied up usage of kick_mupdate so it never gets called on standard murder backends
- Bug #3604 - always suppress the DELETED.* mailbox names, even if delete_mode is immediate. It means a config change or different frontend won't show undeletable mailboxes
- Bug #3602 - allow UpperCase in service names to work

# Changes to the Cyrus IMAP Server since 2.4.11

- Bug #3150 - fix issue with overview and messages without a References header
- fixed nntp login with tab and space in password
- Bug #3501 - be more relaxed about names of DELETED folders
- Bug #3553 - fix QRESYNC passing to murder backend - thanks alec <alec@alec.pl>
- Bug #3554 - only show ENABLED response the first time each option is ENABLEd
- Lots of cleanup of build process and backporting of APIs
- Bug #3502 - make configure.in more portable - thanks OBATA Akio <obata@lins.jp>
- Bug #3533 - add missing break statements in sieve - thanks Thomas Jarosch <thomas.jarosch@intra2net.com>
- Bug #3550 - support wildcards for ACLS in cyradm - thanks <mark.cave-ayland@siriusit.co.uk>
- Bug #3556 - print remote server in mbpath - thanks Wolfgang Breyha <wbreyha@gmx.net>
- Bug #3559 - make XFER work with unlimited quota - thanks Wolfgang Breyha <wbreyha@gmx.net>
- Bug #3547 - use strconcat() in writefile()
- fixed a case where skiplist library could write error messages directly to stdout
- Bug #3545 - fix sign extension in squat_decode_64
- Bug #3558 - return error if backend doesn't support LIST-EXTENDED
- Bug #3565 - clean up in preparation for automake
- fixed incomplete authentication checks in nntpd, reported by Secunia as SA46093 - thanks Stefan Cornelius, Secunia Research

# Changes to the Cyrus IMAP Server since 2.4.10

- fixed replication recovery from different messages at the each end
- Bug #3489 - fixed quotalegacy handling of prefixes so only exact subfolders match
- Bug #3498 - fixed deletion of users quota files with unixheriarchysep enabled, thanks Leena Heino
- Bug #3491 - NOOP and UNAUTHENTICATE for timsieved, thanks Dilyan Palauzov
- Bug #3492 - better response codes for timsieved, thanks Dilyan Palauzov
- Bug #3497 - fix cmd syslog from master, thanks Kristof Katus
- Bug #3503 - compilation of perl libraries on dragonfly and freebsd, thanks OBATA Akio
- Bug #3451 - allow CC to have spaces
- Bug #3505 - fix sync_reset, thanks David Carter
- Bug #3506 - use literal+ for sync_(client|server), thanks David Carter
- Bug #3300 - use portable function for TCP constants, thanks OBATA Akio
- Bug #3507 - fix replication recovery with non-delayed expunge, thanks Julien Coloos
- Bug #3495 - improved duplicate suppression, thanks Kristof Katus
- Bug #2772/3463 - fixed crashes in THREAD by correcting folding of references headers
- Bug #3439 - fix ugly syslog message for vacation
- Bug #3499 - options to disable namespaces to reduce load on big servers with no shared folders. Thanks Olivier ROLAND
- Changed skiplist to truncate old files after checkpoint, which can save disk space on tmpfs or small ssds when old copies were held open by other processes
- Made Cyrus more robust against corruption in mailboxes.db data, so it will return an error rather than crashing on invalid entries
- Fix for CVE-2011-3208, a remotely exploitable buffer overflow in nntpd - thanks Coverity

# Changes to the Cyrus IMAP Server since 2.4.9

- fixed handling of unparsable emails during append (which would cause invalid cyrus.index records otherwise)
- quota: fix a pile of bugs. #1801, virtdomain support; #2728, slow user delete; #3178, "file name too long" with big mailbox names; #3179, quota -f doubles usage.
- Bug #3043 - parse multiple groups in headers correctly
- Bug #3158 - lmtp backend connection timeout
- Bug #3223 - limit MIME parsing depth to avoid stack overflows
- Bug #3273 - add SORT=DISPLAY support (but note: still questions about correctness of unicode sorting)
- Bug #3504 - convert all sieve scripts to \r\n line endings on upload
- Bug #3402 - options to munge 8bit characters in headers during lmtp delivery to avoid backscatter
- sync_client: fix broken keepalive TCP options (I doubt anyone ever tried to use it)
- Bug #3482 - add "-o" option to ipurge to only purge messages with \Deleted flag set

# Changes to the Cyrus IMAP Server since 2.4.8

- fixed crashes in seen handling
- Bug #3453 - fixed LSUB replication
- Bug #3442 - allow disabling PCRE if it's buggy at your site
- Bug #3443 - LSUB response fixes
- Bug #3448 - XFER error handling (murder)
- Bug #3437 - fixed regression: quotaroot wasn't being updated on rename
- Bug #3456 - fixed crash on rename user.foo user.foo without partition change
- config update: database paths for most databases are now configurable in imapd.conf
- Bug #3303 - fixed index lock breaking on XFER (thanks Julien Coloos)
- Bug #3457 - fixed ESEARCH parsing (was breaking iPhones)
- Bug #3188 - fixed XFER with unlimited quota (thanks again Julien Coloos)
- Misc other quota fixes (there are still known bugs with the quota system)
- Bug #3169 - fixed GETQUOTAROOT for domain quotaroots
- Bug #3465 - fixed compilation with Perl 5.14 (thanks hsk@imb-jena.de, and also thanks to Ondrej Sury who reported it separately)
- Bug #3464 - fix for sendmail exec failure. This was a nasty one, and sat with a patch for years. Big thanks to Jesús Roncero for the original patch, and to Donald Buczek for re-reporting it.
- Bug #3467 - compilation fix for stricter compilers
- Bug #3466 - fix FUD client handling of 64 bit time datatypes
- Bug #3477 - this is a replay of 3444 and 3446 which only got fixed on master, not in stable (thanks Leena Heino for the patch this time)
- Bug #3470 - finally fix the underlying logic for LIST/LSUB and children matches, which has been bandaid-fixed a few times in the past few stable releases
- Bug #3438 - fix authentication (-a option) for deliver command
- Bug #3431 - actually an enhancement - look for config files in $ENV{CYRUS_PREFIX} first
- Bug #3430 - fractional days and other units in cyr_expire

# Changes to the Cyrus IMAP Server since 2.4.7

- Bug #3428 - allow charset argument to "thread" to be quoted
- Bug #3429 - fixed mupdate crash
- Bug #3404 - had crept back in! Fix LIST "" user properly
- Bug #3388 - fix reconstruct internaldate flap when file hardlinked with different internaldates
- Bug #3410 - don't require a partition on murder frontends
- Bug #3406 - fix compile on FreeBSD
- Bug #3415 - fix nntpd
- Bug #3390 - add 'proc_path' config variable
- Bug #3364 - allow setting unlimited quota through a proxy server
- Bug #3433 - append '0.' file rather than deleting in reconstruct
- Fixed bug in reconstruct where a record rewrite lost the cache pointer until you did a SECOND reconstruct (no bug number)
- Bug #3440 - fixed cyr_expire crash if run with -x

# Changes to the Cyrus IMAP Server since 2.4.6

- Fixed Bug #3357 - lmtpd offering STARTTLS in pre-authorized mode.
- Fixed Bug #3392 - allowing INBOX.INBOX to be created if the case didn't match
- Fixed Bug #3404 - incorrect LIST "" "user" response
- Fixed Bug #3417 - crash on zero-byte quota file
- Fixed numberous bugs with mailbox upgrades
- Fixed replication errors, which have been reported many times on the mailing list, but don't have bug numbers.
- Increated "paranoia" about record ordering in mailbox, which would have detected some bad bugs in replication that caused the infinite runaway mailbox filling reported in 2.4.6 and below
- Increased syslogging detail about replication issues
- Fixed reconstruct crash with zero-byte index file
- Fixed cyradm perl library path finding
- Fixed incorrect use of LITERAL+ formats in our responses to clients. Unreported, but could be causing wierd hard-to-track-down bugs out there
- Fixed append immediately on create
- Upgraded Unicode database to version 6.0
- Fixed reconstruct crash on folder names with many digits (i.e. ebay auction numbers)
- Fixed reconstruct crash with file called '0.'
- Made reconstruct '-n' option actually exist, as advertised in the man page
- Fixed bug #3423 - STARTTLS plaintext command injection vulnerability
- Bug #3382 Added "failedloginpause" config option
- Bugs #3383/3385 Removed some obsolete config options
- Bug #3389 $confdir/proc not created on the fly
- Bug #3394 fix imtest parsing of MECHLIST
- Bug #3399 fix with_ldap option default
- Bug #3307 fix mbpath crash on remote mailbox
- Bug #3420 use getpassphrase on Solaris, now passwords over 8 characters long work with cyrus tools
- Bug #3400 and others - lots of bugs with XFER between different versions in murder clusters fixed, including a bug that caused only mailboxes with zero messages to be rejected for upgrade
- Bug #3391 fix rename which just moves between partitions
- Bug #3103 fix imtest using plain authentication when it must not
- Bug #3426 fix TLS on sockets other than stdin
- Added support for BDB versions 5 and above

# Changes to the Cyrus IMAP Server since 2.4.5

- Fixed Bug #3370 - corruption on OpenBSD and other systems without a reliable mmap
- Fixed Bug #3360 - race condition which could lose seen data on XFER with upgrade
- Lots of documentation updates
- Fixed Bug #3355 - added an option to suppress items from the capability response (and bug #3356 when the first attempt was buggy)
- Fixed Bug #3357 - crash when calling ctl_mboxlist on mailboxes with annotations
- Fixed Bug #3369 - crash when undumping mailbox during XFER
- Fixed Bug #3361 - shared folders not listing in LSUB "" % - only with unixheirsep and altnamespace
- Fixed Bug #3362 - "too many open files" when doing XFER of a user with too many sub mailboxes. Makes XFER less "atomic", but now it works, which is good!
- Fixed Bug #3313 - md5 library usage. Properly this time!

# Changes to the Cyrus IMAP Server since 2.4.4

- Tidy up of the git version number added to the ID response
- Fixed incorrect time field in date searches (Bug #3339) - thanks Greg Banks for noticing this one
- Fixed reconstruct crash and other potential issues (Bug #3353) - first reported Paul Dekkers
- Fixed ACL passing for rename/delete on murder backends (Bug #3342) - first reported by Robert Spellman
- Fixed corruption of long (>1024 byte) seen records on replica (Bug #3344) - found at FastMail by Bron Gondwana
- Made all perl utilities use /usr/bin/perl in the #! line (Bug #2275) - reported by Yann Rouillard over 5 years ago!
- Fixed crash on message with incomplete final boundary (Bug #3345) - found at FastMail by Bron Gondwana
- Regression: sync_crc was being set to 00000000 on repack - introduced in 2.4.4 (Bug #3347) - first found at FastMail, but also seen at multiple other sites
- Always print [CLOSED] response when selecting a new mailbox, even if a CONDSTORE enabling command has not been sent (Bug #3352) - reported by Jan Kundrát, author of the Trojita IMAP client
- Fixed crash with reconstruct -rf and missing mailboxes.db entries (Bug #3351) - reported by Giles Malet
- Made sync_server report errors earlier if there are extra records on the master which aren't present on the replica (Bug #3355) - thanks to David Carter for finding it and a first pass at a fix
- Stopped expunges to never-reported-messages being showed (basically if the 'EXPUNGE' command was run, and it expunged a message that the client had never even seen - seriously rare race condition, Bug #3356) - discovered by Bron Gondwana hammering a testbed with Dovecot's imaptest tool
- Fixed compile with old PCRE (Bug #3358) - found and fixed by Simon Matter
- Fixed missing quota usage after XFER (Buf #3349) - found by Dave McMurtrie

# Changes to the Cyrus IMAP Server since 2.4.3

- Rewrite index_upgrade to always parse the message files and re-create cyrus.cache, to avoid upgrade upgrade failures where cache errors occured.
- Fixed sync_reset handling of user deletions
- Fixed proc file handling of LOGIN and folder unselect
- use cyrus.expunge file (if still present) to delete bogus records from a failed index upgrade (cause by bugs in earlier version)
- detect version 2.5 in XFER to support use with master git branch in a murder
- made pop3 expunge much more efficient
- handle missing seen file in XFER

# Changes to the Cyrus IMAP Server since 2.4.2

- Many fixes to replication edge case handling
- Added missing flags to reconstruct
- Replicate DELETED.user folders in sync_client -u (matches XFER behaviour now)
- Make sync_client only connect after forking in rolling mode. Fixes two things - ssl crashes due to shared resource conflicts, and also means master will start up even if the replica is not contactable
- Fixed crash on cyr_expire and ipurge annotation based expiry
- Many XFER fixes for compatibility across versions:
  - allowing XFER in from delayed_expunge mailboxes
  - allowing XFER back all the way to Cyrus 2.2.12. This was accomplished by adding logic that can generate backwards-compatible older version indexes, and version detection from the imapd banner.
  - correctly fixing seen information for sub-mailboxes on XFER in
- Multi-target replication. Strictly this is a new feature - there was a broken implementation in 2.4.0, which is how this snuck in to the bugfix release. It's not super-well documented yet, but it works by creating a separate log file for each destination "channel", and then running one sync_client process per channel, so replication can fall behind on one without affecting replication to the other.
- Fixed some crashes and errors which occured when upgrading and opening corrupted mailboxes
- Modified AFS ptloader configure options to allow building on more modern systems

# Changes to the Cyrus IMAP Server since 2.4.1

- Fix build on Solaris

# Changes to the Cyrus IMAP Server since 2.4.0

- Fix cyrdump to work with -C for alternate config
- Change master to process all pending child messages once per loop, which fixes a DoS situation if there is too much message churn in a slower box - thanks to Henrique de Moraes Holschuh <hmh@debian.org>
- Reconstruct added flags -R, -U, -o, -O to give options handling corrupt or missing files
- Reconstruct fixed a pile of bugs, including a nasty one which created mailboxes with a UIDVALIDITY of 0
- Fixed EXPUNGE in murder
- Fixed LSUB where subscribed mailboxes are on different murder backends
- New build system using git commit ID rather than CVS date information to uniquely identify a release or development build via the "ID" command. Also changes the CYRUS_VERSION string for builds directly from git.

# Changes to the Cyrus IMAP Server since 2.3.x

- All databases are now default skiplist, and ctl_cyrusdb will automatically convert database type on startup.
- make_sha1 and make_md5 are removed (replaced by GUID and reconstruct changes)
- Charset subsystem rewritten - Unicode 5.2 rather than Unicode 2, and UTF-8 support in sieve.
- Core mailbox handling code largely rewritten with new APIs, CRC checksums, new locking mechanisms, merging of cyrus.index and cyrus.expunge, inclusion of user \Seen flag, and much more.
- Replication code largely rewritten to provide better performance, consistency checking, and recovery from "split-brain" scenarios.
- Added support for LIST-EXTENDED IMAP extension. Removed support for deprecated (compile-time) LISTEXT IMAP extension. Based on work by Martin Konold <martin.konold@erfrakon.de>
- Added support for ESEARCH IMAP extension.
- Added support for WITHIN extension to IMAP SEARCH.
- Added support for ENABLE IMAP extension.
- Added support for QRESYNC IMAP extension.
- Added support for URLAUTH=BINARY IMAP extension.
- Removed legacy IMAP[2|3|4] cruft. We now only support IMAPrev1 + extensions.
- Added support for marking QoS on traffic. (courtesy of Philip Prindeville <philipp@redfish-solutions.com>)
- Modified `user_deny.db` code to open database once at service startup time.
- ... and hundreds of tiny things too numerous to mention in a short change log ...

# Changes to the Cyrus IMAP Server since 2.3.17

- Fix for incomplete authentication checks in nntpd, reported by Secunia as SA46093 - thanks Stefan Cornelius, Secunia Research

# Changes to the Cyrus IMAP Server since 2.3.16

- Fix for CVE-2011-3208, a remotely exploitable buffer overflow in nntpd

# Changes to the Cyrus IMAP Server since 2.3.15

- Added `user_deny.db` to be able to selectively deny users access to Cyrus services.
- Added `disconnect_on_vanished_mailbox` option. See `imapd.conf(5)` for details
- Reworked SQL detection code in configure. See install-upgrade.html for more details.
- Added `popuseimapflags` option which enables setting and obeying IMAP flags in the POP server.
- Added optimized method of handling an empty maildrop in pop3d. Requires `statuscache` to be enabled. (based on work of Cyril Servant <elfejoyeux@gmail.com>)
- Added `annotation_definitions` option for specifying external (third-party) annotations. (courtesy of Thomas Viehmann <tv@beamnet.de>)
- Added `sync_compress` option to compress replication traffic
- Added `user_folder_limit` option to limit the number of folders a non-admin user is allowed to create.
- Added `-x` option to `cyr_expire` to disable expunge
- Track idle state so a shutdown doesn't leave idled killing random other processes on a busy system
- Fix missing closedir() - bug #3159 (thanks Simon Matter)
- Make Cyrus compile with older GCC (thanks Simon Matter)

# Changes to the Cyrus IMAP Server since 2.3.14

- Fixed CERT VU#336053 - Potential buffer overflow in Sieve.
- Added new `cyr_df` tool for reporting Cyrus spool partition disk space usage.
- Fixed a crash when selecting a folder after using the SCAN command
- Split mupdate_synchronize() into network scarfing and mailbox comparision pieces. This allows us to not lock out the mailboxes.db and mupdate clients while scarfing the UPDATE response, which can be quite time consuming over slow links.
- Added support for MUPDATE COMPRESS and IMAP COMPRESS commands which help speed up bulk data commands over slow links. Inspired by work of Dave Cridland <dave@cridland.net>
- Allow frontend servers in a Murder to proxy the CREATE, DELETE, SETACL, SETQUOTA, and GETQUOTA commands for toplevel mailboxes. In order for a frontend to know where to CREATE a toplevel mailbox, either the `defaultserver` option must be set (ALL new toplevel mailboxes are created on this particular server), or the `serverlist` option must be set (new toplevel mailboxes are created on whichever server has the most available spool space).
- Use delayed expunge in ipurge to avoid corrupting cache file and as a bonus make it unexpungable.
- Run daily tasks at the same time each day instead of exactly 24 hours apart to detect daylight savings changes
- Fixed Bug #2727 by immediately expunging old messages on INBOX to INBOX.sub rename
- Fixed incorrect quota calculations on sync_server when replicating unexpunged messages (thanks David Carter)
- Allow user rename to succeed even if the user is over quota
- Fixed a skiplist foreach bug and various datatype size issues that caused problems on some 64 bit architectures
- Added additional logging of mailbox events if condstore is enabled to ensure modseq values are always correctly replicated
- Fixed "DBERROR db4: environment reference count went negative" by forking idled before opening the database environment.
- Fixed a squatter bug where any short search term (< 4 characters) would cause squatter to return all messages regardless of the other filters being applied

# Changes to the Cyrus IMAP Server since 2.3.13

- Fixed incompatibility between older ManageSieve clients and newer servers that issue an auto-capability response after AUTH with a SASL security layer.
- Fixed quota calculation to ignore files not mentioned in the index
- Correct cache truncation after an aborted append (was leaving empty holes in the cache file>)
- Fixed ACLs copying when renaming users
- Fixed TLS session reuse
- Log more detail about changes done by a reconstruct (indicating that there were problems with the mailbox before hand - mainly as a debugging aid)
- Ensured that the longest possible named mailbox can still be deleted when delayed delete is enabled by increasing buffer sizes
- Add configuration option mailbox_default_options allowing (for example) modsequences to be turned on for all new mailboxes
- Replication:
  - added -R option to sync_client to do rolling replication in the foreground (to run under supervise or similar)
  - made cyr_synclog run as cyrus user if started as root
  - Changed ADDSUB/DELSUB replication to replicate current state rather than log explicit changes, avoiding a bug where if multiple subscription changes happened in one sync run, the replica could be incorrect
  - Changed replication logging related to user creation and mailboxes to ensure correct replication of delayed delete of entire users
  - Always overwrite the seen DB on the replica with the full DB from the master on "setseen_all" to guarantee consistency
  - Sync all mailbox annotations, not just condstore, ensuring mailbox is consistent on both ends (solves POP3_NEW_UIDL bug)

# Changes to the Cyrus IMAP Server since 2.3.12

- Added an experimental "sql" backend for cyrusdb. Currently MySQL, PostgreSQL, and SQLite are supported. See the new `sql_*` options for details.
- Added support for IMAP [CAPABILITY] response code to client-side of Murder proxies.
- Added support for ManageSieve auto-capability response after STARTTLS and after AUTH with a SASL security layer.
- Made `MAXWORD` and `MAXQUOTED` sizes configurable via `imapd.conf` -- courtesy of Fastmail.fm.
- Rewrote `cyrusdb_quotalegacy.c` to use `readir()` rather than `glob.c`. This avoids a potential crash due to conflicts between glibc and Heimdal implementations of `glob()`.
- Added support for `fulldirhash` to `ctl_mboxlist -v`.
- More skiplist transaction fixes -- courtesy of Fastmail.fm.
- `cyr_expire` no longer has a default of 0 (zero) for `-X` and `-D`. These options must be used explicitly in order to have the desired effect.
- Added `sieve_utf8fileinto` option.
- Added `sieve_sasl_send_unsolicited_capability` and `sieve_sasl_expect_unsolicited_capability` options.
- Several 32/64-bit compatibility fixes.
- Fixed miscellaneous bugs and build issues.

# Changes to the Cyrus IMAP Server since 2.3.11

- Added `statuscache.db` to cache IMAP STATUS data which significantly reduces the amount of I/O necessary when neither the mailbox nor \Seen state has changed -- courtesy of Fastmail.fm.
- Added option to `unexpunge` to restore messages by time interval -- courtesy of David Carter.
- Implemented undocumented IMAP SCAN extension, which allows Pine/Alpine to do cross-mailbox searches -- based on work of David Carter.
- Implemented incremental squat updates (see `squatter.8`) -- courtesy of David Carter.
- Fixed major bugs in `reconstruct -k` implementation -- courtesy of David Carter.
- Added code to promote transaction safety and to track the lock status of skiplist databases -- courtesy of Fastmail.fm.
- Added option to `mbexamine` to compare quota usage in cyrus.index to the actual message file sizes.
- Allow long lines in `imapd.conf` to be split across multiple lines by using backslash as a continuation character.
- The Sieve compiler now translates UTF-8 mailbox names used in `fileinto` to modified UTF-7 so that messages will be successfully inserted into the mailbox.
- Use a more appropriate argument with LHLO command.
- Added `serverinfo` option to control the information displayed in banner greetings and capability responses.
- Fixed miscellaneous bugs and build issues.

# Changes to the Cyrus IMAP Server since 2.3.10

- Fixed several skiplist bugs -- courtesy of Fastmail.fm.
- Add robustness to skiplist recovery -- courtesy of Fastmail.fm.
- Added support for modification sequences to replication protocol (for CONDSTORE) -- courtesy of David Carter.
- Fixed delayed delete replication -- courtesy of Fastmail.fm.
- Allow [un]deleting of user INBOXes (renaming to/from deleted hierarchy) to work when using delayed delete -- courtesy of Simon Matter.
- Fixed interaction with removal of rights and `implicitownerrights`.
- Fixed parsing of single FETCH item when using FETCH modifiers.
- Prevented SSL_accept() from blocking indefinitely when using TLS/SSL. This should eliminate a lot of hung SSL-wrapped processes.
- Allow STARTTLS to be used to externally preauth'd LMTP connections.
- Allow a TLS client certificate to be sufficient authentication for LMTP.
- `timsieved` now automatically sends CAPABILITY response after STARTTLS. This code was reintroduced after being mistakenly removed as part of bug #1338.
- Fixed miscellaneous bugs and build issues.

# Changes to the Cyrus IMAP Server since 2.3.9

- Added support for "delayed" delete, in which mailboxes are renamed to a special admin-only "deleted" hierarchy at the time of the DELETE (hiding them from the client), rather than immediately removing them from the filesystem. This allows messages/mailboxes to be recovered by the admin in case of user error. The mailboxes and messages can be removed at a later time by `cyr_expire`. The new `delete_mode` and `deletedprefix` options in `imapd.conf` controls whether deletes are "immediate" or "delayed" and the mailbox hierarchy for "delayed" deletes. -- courtesy of David Carter and FastMail.fm.
- Fixed the special case of RENAMEing an Inbox, so that it doesn't keep the same mailbox uniqueid, thus allowing it to replicate properly (seen state is still preserved).
- Disabled Nagle's algorithm in `sync_client` and `sync_server` to increase the throughput of the replication protocol. -- courtesy of Wes Craig.
- Added support for a shared \Seen flag on messages (must be enabled on a per-mailbox basis with the `/vendor/cmu/cyrus-imapd/sharedseen` mailbox annotation.
- Added `-g` and `-G` options to `reconstruct` -- courtesy of David Carter.
- Added `SETUIDVALIDITY` command to the replication protocol -- courtesy of David Carter.
- Finally fixed (again?) alignment issues on 64-bit SPARC.
- Changed message GUIDs used by replication to be the SHA1 hash of the messages -- based on work of David Carter and Fastmail.fm.
- Improve the performance of commands that operate on sequence-sets. The sequence-set is now parsed only once, and the commands operate on a sorted list of seq-ranges.
- Added new `cyr_synclog` utility for adding events to the replication log -- courtesy of Fastmail.fm.
- Added support for PCRE library -- courtesy of Fastmail.fm.
- Added support for disabling duplicate delivery suppression on a per-folder basis with the `/vendor/cmu/cyrus-imapd/duplicatedeliver` mailbox annotation -- courtesy of Fastmail.fm.
- Fixed miscellaneous bugs and build issues.

# Changes to the Cyrus IMAP Server since 2.3.8

- Added support for BDB 4.5 and 4.6.
- Fixed bug in frontend handling of CREATE for both proxying and referring. -- courtesy of Gary Mills
- Fixed local deletion during XFER from a unified server. -- courtesy of Gary Mills
- Fixed XFER bug which prevented sieve scripts from being migrated. -- courtesy of Gary Mills
- Allow utilities to be run as root (acquiring 'cyrus' uid on-the-fly).
- Changed the default value of the `allowplaintext` option to disabled (0).
- Finally fixed 64-bit alignment problem with HIGHESTMODSEQ.
- Fixed initialization of UUID subsystem for replication. -- courtesy of Fastmail.fm
- Added `-a` option to `cyr_expire` to ignore to skip annotation check. -- courtesy of Fastmail.fm
- Set the mtime of synchronized message files to INTERNALDATE (makes reconstruction a little friendlier). -- courtesy of Fastmail.fm
- Fixed a bug in `sync_client` which caused it to bail when a message was deleted out from under it.
- Allow `sync_server` to accept unauthenticated connections from `sync_client` on a UNIX socket.
- Drastically reduced the amount of time it takes for a `mupdate` slave to synchronize with a master.
- Added URI contained in the `Content-Location` header to the `BODYSTRUCTURE` response (per RFC 3501). -- inspired by Fastmail.fm
- Fixed `flushseenstate` bug which was causing unsolicited EXPUNGE responses during FETCH/STORE. -- courtesy of David Carter
- Added option to `ctl_mboxlist` to verify the consistency of the mailbox list database and the spool partition(s). See `ctl_mboxlist.8` for details.
- RENAME now copies `cyrus.expunge` index file as well as expunged message files.
- Fixed replication of 64-bit quotas. -- courtesy of David Carter
- Fixed miscellaneous bugs, memory leaks, and build issues.

# Changes to the Cyrus IMAP Server since 2.3.7

- Added `improved_mboxlist_sort` option which fixes LIST/LSUB problem with characters like `'-'` and `' '` in mailbox names. See `imapd.conf.5` for details
- Fixed problem with mupdate randomly spinning.
- Fixed problem with DELETEing mailboxes with split metadata directories.
- Fixed compatibility problem with RFC 4314 ACLs and mixed 2.2/2.3 environments.
- Fixed problem with replication and COPYing \Seen messages.
- Fixed problem with replication and XFER.
- Added options to reconstruct to preserve cyrus.expunge and to synchronize changes to a replica server.
- Removed (broken) support for proxying of pipelined IMAP commands.
- Added new `cyr_dbtool` utility for manipulating Cyrus databases (courtesy of Fastmail.fm).
- Better sanity checking of IMAP URLs.
- Fixed miscellaneous bugs and build issues.

# Changes to the Cyrus IMAP Server since 2.3.6

- Fixed problems with replication and virtual domains.
- Fixed problems with newer cyrus.index files on 64-bit machines.
- Added '`-p <ssf>`' option to services so that PLAIN authentication can be used without TLS in secure environments.
- Added `munge8bit` to control whether unencoded 8-bit characters in headers are changed to 'X' or are left alone.
- Added `sieve_allowreferrals` option to control whether `timsieved` issues referrals or proxys traffic to backends.
- Fixed miscellaneous bugs and build issues.

# Changes to the Cyrus IMAP Server since 2.3.5

- Fixed COPY code so that clients display new messages (added MODSEQ).
- Fixed imtest to be compatible with SASL 2.1.22.

# Changes to the Cyrus IMAP Server since 2.3.4

- Fixed append/delivery code so that clients display new messages.

# Changes to the Cyrus IMAP Server since 2.3.3

- Added support for BINARY APPEND (including CATENATE). Based on contributions from Tom Esh <esh@lucent.com>.
- Added support for CONDSTORE (must be enabled on a per-mailbox basis with the `/vendor/cmu/cyrus-imapd/condstore` mailbox annotation.
- Fixed bug in reconstruct using bad name for cyrus.header.
- Fixed bug with replication and default partition.
- `ctl_mboxlist` now dumps/undumps the mailbox type flags, making it useful for remote mailboxes.
- Better logging to facilitate message tracking (Wes Craig <wes@umich.edu>).
- Implemented CAPABILITY response in banner and after authentication.
- Fixed miscellaneous bugs and build issues.

# Changes to the Cyrus IMAP Server since 2.3.2

- Fixed broken berkeley (btree) backend.

# Changes to the Cyrus IMAP Server since 2.3.1

- Added more extensive output to arbitron.
- Allow responses of any length from backend when proxing IMAP/POP3/NNTP traffic.
- Properly handle timeouts when proxying.
- Added plaintextloginalert option.
- Fixed segfault in deliver.
- Only allow mbpath to be run as Cyrus user.
- Added nntptimeout option for nntpd.
- Added berkeley_hash and berkeley_hash_nosync cyrusdb backends (seem to perform better under heavy loads).
- Added TLS support to cyradm.
- Fixed miscellaneous bugs and build issues.

# Changes to the Cyrus IMAP Server since 2.3.0

- Updated ACL code to RFC 4314 (separate rights for message delete, mailbox delete, and expunge).
- Fixed IDLE to use idled for local mailboxes.
- Fixed miscellaneous build issues.

# Changes to the Cyrus IMAP Server since 2.2.x

- Added support for "unified" and "replicated" Murders. A Murder no longer has to have discrete frontend and backend servers; any one "unified" server can both proxy and serve local mailboxes (proxy functionality in `proxyd` and `lmtpproxyd` has been merged with `imapd` and `lmtpd` respectively), or all "replicated" servers can serve the same mailboxes from a shared filesystem. The new `mupdate_config` option in `imapd.conf` is used to determine whether a Murder is using a "traditional", "unified" or "replicated" configuration.
- Ported/rewrote/integrated David Carter's mailspool replication code. Development sponsored by Columbia University.
- Added support for "delayed" expunge, in which messages are removed from the mailbox index at the time of the EXPUNGE (hiding them from the client), but the message files and cache entries are left behind, to be purged at a later time by `cyr_expire`. This reduces the amount of I/O that takes place at the time of EXPUNGE and should result in greater responsiveness for the client, especially when expunging a large number of messages. The new `expunge_mode` option in `imapd.conf` controls whether expunges are "immediate" or "delayed". Development sponsored by FastMail.
- Added support to place some/all mailbox metadata files (cyrus.* files) on a separate (probably high-speed) partition. See the new `metapartition` and `metapartition_files` options for details. Development sponsored by FastMail.
- Added support for accessing subfolders of INBOX via POP3. See the new `popsubfolders` option for details. Development sponsored by FastMail.
- Added support to `lmtpd` to do "fuzzy" mailbox matching on user+detail addresses. See the new `lmtp_fuzzy_mailbox_match` option for details. Development sponsored by FastMail.
- Added new `sieve_extensions` option to allow individual Sieve extensions to be enabled/disabled.
- The Sieve "include" extension is now supported. This also allows for global sieve scripts. See the new `sieve_extensions` options to enable it.
- The Sieve "body" extension is now supported. See the new `sieve_extensions` option to enable it. Development sponsored by FastMail.
- The $text$ variable for Sieve notify messages is now supported. Development sponsored by FastMail.
- The MIME structure of a new message destined for multiple recipients is now only parsed once rather than once per delivery, resulting in better performance. Development sponsored by FastMail.
- Support 64-bit quota usage (both per mailbox and for the entire quotaroot), based on a patch from Jeremy Rumpf. Development sponsored by FastMail.
- Added new `flushseenstate` option which causes imapd to immediately flush changes in \Seen state to disk rather than caching them until the mailbox is closed. Enabling this option may fix \Seen state weirdness with MS Outlook, at the expense of performance/scalability. Based on a patch by John A. Tamplin (jtampli@sph.emory.edu).
- The Sieve "copy" extension is now supported.
- The IMAP "CATENATE" and "URLAUTH" extensions are now supported.
- Updated Sieve "vacation" extension to draft-ietf-sieve-vacation-04.
- Added support for Sieve scripts on shared mailboxes via the /vendor/cmu/cyrus-imapd/sieve annotation.

# Changes to the Cyrus IMAP Server since 2.2.13

- `ctl_mboxlist` now dumps/undumps the mailbox type flags, making it useful for remote mailboxes.
- Added `sieve_allowreferrals` option to control whether `timsieved` issues referrals or proxys traffic to backends.

# Changes to the Cyrus IMAP Server since 2.2.12

- Allow sieve scripts to be run on shared mailboxes (via `sieve` annotation).
- Updated `nntpd` to be compliant with latest draft (soon to be RFC3977).
- Updated IMAP UIDPLUS extension to be compliant with latest specification (RFC4315).
- Performance improvements to `quota` utility.
- Fixed possible race condition in IMAP IDLE.
- Made `ptloader` runtime configurable.
- Added more extensive output to `arbitron`.
- Allow responses of any length from backend when proxing IMAP/POP3/NNTP traffic.
- Added `plaintextloginalert` option.
- Only allow `mbpath` to be run as Cyrus user.
- Added `berkeley_hash` and `berkeley_hash_nosync` cyrusdb backends (seem to perform better under heavy loads).
- Added `lastpop` mailbox annotation.
- Added subscribe/unsubscribe support to `cyradm`.
- Fixed miscellaneous bugs and build issues.

# Changes to the Cyrus IMAP Server since 2.2.11

- Revert index change which wasn't supposed to make it into 2.2.11

# Changes to the Cyrus IMAP Server since 2.2.10

- Fix possible single byte overflow in mailbox handling code.
- Fix possible single byte overflows in the imapd annotate extension.
- Fix stack buffer overflows in fetchnews (exploitable by peer news server), backend (exploitable by admin), and in imapd (exploitable by users though only on platforms where a filename may be larger than a mailbox name).

# Changes to the Cyrus IMAP Server since 2.2.9

- Fix 0 termination in mysasl_canon_user.
- Check for imap magic plus buffer overflow in proxyd also (CAN-2004-1015).
- Only send an over quota ALERT on SELECT if the quotaroot is different from the last ALERT, or we haven't sent an ALERT in over 10 min.

# Changes to the Cyrus IMAP Server since 2.2.8

- Change ACLs correctly when renaming a user
- Do not abandon std{in,out,err} file descriptors; syslog assumes it can use stderr if syslogd isn't running.
- Clean up imap magic plus to avoid buffer overrun (CAN-2004-1011)
- Fix lack of bounds checking in PARTIAL and FETCH (CAN-2004-1012, CAN-2004-1013)
- Do not attempt to reuse a freed connection in lmtpproxyd.
- Allow login without authentication with -N switch in proxyd.
- Fix use of xrealloc and fold pointers in lmtpengine.

# Changes to the Cyrus IMAP Server since 2.2.7

- Fix a double-free bug in the notify code
- Fix a problem with idled and an empty mailbox list

# Changes to the Cyrus IMAP Server since 2.2.6

- Fix handling of PARTIAL command and partial body fetches
- A large number of portability fixes supplied by Albert Chin <china@thewrittenword.com>
- Added `client_timeout` option to control connect() timeouts for proxy code
- Added `popuseacl` option
- Fix a number of issues with the `quota -f` tool
- Fix thread safety issue in saslserver()
- Fix possible stage file leak in append code
- Fix bugs in handling of MULTIAPPEND introduced in 2.2.3
- Fixed regression bug in Sieve vacation

# Changes to the Cyrus IMAP Server since 2.2.5

- Fix a bug in the proxy code where a backend connection might get closed twice
- Improved consistancy checking in `chk_cyrus`
- Fix segfault in APPEND code
- Fix a bug with an interaction between sieve and unixhierarchysep
- Fix a file descriptor leak in the quotadb code
- Fix a triggered assertation in service-thread services
- Add a number of internal consistancy checks to the skiplist code
- Allow `mbpath` to handle virtual domains
- Fix various MANAGESIEVE client authentication issues
- Other minor fixes

# Changes to the Cyrus IMAP Server since 2.2.4

- Bug fixed in hash table code that could sometimes cause crashes with the quotalegacy database
- Net-SNMP compatibility
- Significantly improved com_err detection
- Assorted minor NNTP improvements
- Assorted other minor bugfixes

# Changes to the Cyrus IMAP Server since 2.2.3

- Quota now uses the cyrusdb interface (`quotalegacy` by default).
- All incoming messages are now staged to disk before locking the destination mailbox (locks are no longer held during a network read).
- Fixed off-by-one error in `fetchnews` (articles are no longer skipped).
- `nntpd` now uses the Followup-To: header (if exists) instead of the Newsgroups: header when constructing post address(es) and adds them to the Reply-To: header instead of the To: header.
- Added `berkeley_locks_max`, `berkeley_txns_max` and `berkeley_cachesize` options.
- Added `imapmagicplus` option.
- Substantial work on afspts/ptloader canonicalization code
- Much improved LDAP ptloader code (no more internal OpenLDAP dependencies)
- Fixed a number of IPv6 related bugs

# Changes to the Cyrus IMAP Server since 2.2.2

- Berkeley DB 4.2 Support - note that the Cyrus Berkeley enviroment needs to be reset (db_recover) before a Berkeley DB version upgrade or you need to remove all berkeley dbs. Special care needs to be taken when berkley db is used for mboxlist.
- Runtime configuration of the Cyrus databases. The cyrudb backend used for each database can be specified with an `imapd.conf` option. NOTE: You MUST convert the database using `cvt_cyrusdb` BEFORE changing the backend in `imapd.conf`.
- Sendmail socket map support (`smmapd`) for verifying that mailboxes exist and are deliverable before accepting the message and sending it to Cyrus.
- New `userid` mode for virtual domains, which does NOT do reverse lookups of the IP address.
- `nntpd` now supports the Xref header.
- `nntpd` can now use the POST command to feed articles to upstream servers.
- `fetchnews` can now be used with NNTP servers which don't support the NEWNEWS command.
- `lmtpd` now initializes `duplicate.db` only when it is necessary (when using Sieve or `duplicatesuppression`).
- Sieve now verifies that text strings are valid UTF-8.
- Sieve now verifies that address tests and envelope tests are done on headers which contain addresses (can be disabled with `rfc3028_strict: no`).
- Services will now notice that a new binary has been installed and will restart using the new binary once the existing connection is closed.

# Changes to the Cyrus IMAP Server since 2.2.1

- Major bugfixes in murder altnamespace/unixhierarchysep/virtdomain support (Thanks in large part to work by Christian Schulte <cs@schulte.it>)
- Improved master process accounting (Henrique de Moraes Holschuh <hmh@debian.org>)
- Significantly improved message header caching (based in large part on code supplied by David Carter <David.Carter@ucs.cam.ac.uk> from the University of Cambridge)
- The sieve bytecode format has been updated once more, to correctly handle short-circuiting of the allof and anyof operators
- Support for warning quota based on absolute mailbox size
- Correct handling of annotations during XFER operations
- Simple support for IMAP BINARY extension
- Support for Automake 1.7 and Autoconf 2.57
- Support for IMAP initial SASL response (the SASL-IR extension)

# Changes to the Cyrus IMAP Server since 2.2.0

- The improved directory hashing (fulldirhash) is now a runtime configuration option.
- The netnews.db has been integrated into deliver.db.
- Full r/w ANNOTATEMORE support, including more annotations that allow the control of operations such as message expiration. ANNOTATEMORE is also always enabled now.
- `expirenews` has been replaced by `cyr_expire` which uses annotations for fine-grained mailbox expiration.
- `squatter` can now use annotations for fine-grained mailbox indexing.
- Many nntpd enhancements including: reader-only and feeder-only modes, support for LIST NEWSGROUPS (via mailbox annotations) and gatewaying news to mail (via mailbox annotations).
- `fetchnews` can now authenticate to the remote server.
- Removed deprecated LAST command from pop3d.
- Sieve Bytecode is now stored in network byte order, meaning that bytecode files can be freely moved between different platforms
- Sieve relational extension now working again.
- Sieve vacation now uses the correct subject.
- A large number of bugs involving virtual domain support have been fixed, including issues with the Murder, and with Sieve.

# Changes to the Cyrus IMAP Server since 2.1.x

- There have been extensive performance and consistancy changes to the configuration subsystem. This will both ensure greater consistancy between the documentation and the code, as well as a more standard format for specifing service-specific configuration options in imapd.conf. Important changes are detailed here:
  - The tls_[service]_* configuration options have been removed. Now use [servicename]_tls_*, where servicename is the service identifier from cyrus.conf for that particular process.
  - Administrative groups (e.g. admins and lmtp_admins) no longer union, service groups completely override the generic group.
  - lmtp_allowplaintext is no longer a defined parameter and must be specified using the service name of your lmtp process if you require a specific value
- libcyrus has been split into libcyrus_min and libcyrus, so as to allow sensative applications (such as master) include the least amount of code necessary for operation
- Virtual domain support. See the virtual domains document for details.
- Users can now be renamed (even across domains). Note that this is not atomic and weirdness may occur if the user is logged in during the rename. See the `allowusermoves` option in `imapd.conf(5)` for details.
- The `db3` and `db3-nosync` database backends have been renamed to `berkeley` and `berkeley-nosync` respectively (to avoid confusion over whether or not db4 is supported).
- The default mailbox list and seen state database formats have changed to skiplist from Berkeley and Flat, respectively.
- ptloader is now a regular cyrus service. This has several implications, see install-upgrade.html for more details.
- NNTP support. Usenet news can now be fed to and read from Cyrus directly via NNTP, without the need for a local news server. See netnews document for details.
- IPv6 support, provided by Hajimu UMEMOTO <ume@mahoroba.org>
- Sieve scripts are now compiled to bytecode to allow for faster execution (and lmtpd no longer needs lex or yacc). See install-upgrade.html for more details.
- The functionality of pop3proxyd has been merged into pop3d. Be sure to update `cyrus.conf` on your frontend machines accordingly.
- The functionality of `ctl_deliver -E` has been moved to `cyr_expire -E`. Be sure to update `cyrus.conf` on your machines accordingly.

## Changes to the Cyrus IMAP Server since 2.1.14

- Correct a potential DOS attack in the fud daemon.
- Arbitron now works again
- Telemetry logging for mupdate
- Duplicate Suppression logging for redirect sieve actions
- A number of bugs in reconstruct have been fixed. also added the -p and -x options
- Better stubbing out of user_deleteacl
- No longer log any shutdown() failures
- Improved IPv6 support (for systems with two getnameinfo implementations)
- Misc Documentation Improvements

## Changes to the Cyrus IMAP Server since 2.1.13

- Be more forgiving in the parsing of MIME boundary headers, specifically those generated by Eudora where the outer boundaries are substrings of the inner boundaries. This feature can be disabled by enabling the `rfc2046_strict` option.
- Allow cyradm to handle aggregate mailbox sets for ACL and DELETE operations.
- Add a lmtp_downcase_rcpt option to force the lowercasing of recipient addresses (Henrique de Moraes Holschuh <hmh@debian.org>).
- Include more MIME headers in sieve rejection notices
- Add an mbexamine command for debugging purposes
- LMTP will now fatal error if we cannot initialize the duplicate delivery database.
- Continued audit by Security Appraisers and Bynari
- Correctly terminate the processes by calling service_abort even on successful exit (helps to fix a db3 lockers problem)
- Fix some murder+altnamespace/unixhiersep issues
- Fix imclient's handling of literals.
- Add support for the windows-1256 character set
- Don't log 'could not shut down filedescriptor' messages when the socket is already not connected
- Now include a script to convert sieve script names to the altnamespace format
- Added a `--with-extraident` configure option to make it easier to set the extra version information that is compiled into the binary.
- Minor build fixes.
- Minor other bug fixes.

## Changes to the Cyrus IMAP Server since 2.1.12

- Add maxfds= option in cyrus.conf
- "The shutdown() Patch" by Henrique de Moraes Holschuh <hmh@debian.org> and Jeremy Howard <jhoward@fastmail.fm>
- Now report both built-with and running-with OpenSSL versions
- Misc other small bugfixes
- Security Appraisers and Bynari review of the majority of the modules in `imap/`

## Changes to the Cyrus IMAP Server since 2.1.11

- Master now will forcibly exit if a service is not executable
- Master now has a daemon mode and pidfile support (-d and -p options)
- Berkeley DB Configuration methods have changed. Hopefully they're more generic now. You can still use --with-dbdir, or you can use --with-bdb-libdir and --with-bdb-incdir
- timsieved now handles usernames with dots (when unixhierarchysep is active)
- tugowar has been removed from the distribution.
- Squatter now has an option to skip unmodified mailboxes.
- Properly hash username to remove a user's sieve scripts when their INBOX is removed.
- Reset output buffer when prot_flush returns EOF.
- Minor Makefile improvements with use of $(srcdir)
- Remotepurge improvement for empty mailboxes
- Fix for AFS overwriting the canonicalized username in ptloader
- Security audit of imapd.c performed by SecurityAppraisers and Bynari

## Changes to the Cyrus IMAP Server since 2.1.10

- Fixed some potential buffer overflows in the sieve code, as well as a pre-login buffer overflow in the IMAP parsing code.
- ipurge can now skip flagged messages
- Fix a problem with the flat backend and tracking new files
- Fix a problem with the memory pool routines on 64-bit machines

## Changes to the Cyrus IMAP Server since 2.1.9

- support Berkley DB 4.1
- more portable use of errno throughout
- timsieved now does telemetry logging
- libcyrus.a no longer supplies fs_get() and fs_give()

## Changes to the Cyrus IMAP Server since 2.1.8

- Fix a strlcpy() off-by-one error.
- Better handling of errors in connecting to LMTP servers for deliver and lmtpproxyd.
- Fix bug in pop3proxyd's pop3s handling.
- Fix Exim install documentation.

## Changes to the Cyrus IMAP Server since 2.1.7

- Fix a severe locking problem during failed CREATEs
- Change default locking method to fcntl from flock
- Don't cleanup the original mailbox during a RENAME while holding the mailbox list lock
- Quoting fixes in cyradm
- Small pathname fix in rehash script

## Changes to the Cyrus IMAP Server since 2.1.6

- Correct some minor version number errors.

## Changes to the Cyrus IMAP Server since 2.1.5

- Better locking of the mailbox list during mupdate operations for CREATE and RENAME
- Permissions fixes for annotations.
- pop3proxyd now does telemetry logging
- Cleanup a number of leaks in the murder code
- Correct semantics of our provided strlcpy(). Fix places where strlcpy() was being used incorrectly.
- Correct a significant memory leak in the memory pool routines
- OpenSSL is now handled correctly for the perl modules
- Small documentation cleanups
- The normal assortment of small bugfixes

## Changes to the Cyrus IMAP Server since 2.1.4

- Sieve is no longer dependent on duplicate delivery suppression (it still uses the duplicate delivery database however).
- Sieve now supports `draft-segmuller-sieve-relation-02.txt`
- `imtest` now includes all the functionality previously kept in pop3test, lmtptest, smtptest, and mupdatetest. imtest will notice if it is invoked with one of these names and do the right thing. The -P flag can be used to force a particular protocol. As part of this, the default install location for mupdatetest has changed to be the same as the other test utilities. `imtest` also includes new MANAGESIEVE functionality (sivtest) as well as the ability to reconnect to the same server multiple times (useful for testing SSL/TLS session caching and DIGEST-MD5 fast reauth).
- snmpgen generates stubbed out code so we don't waste resources on something that just doesn't work. At some point in time, we'll make it work again as it would be useful to gather aggregate statistics on what commands are being used so we can better tune the server. This change closes bug #1191. New bug 1267 opened to re-enable the feature.
- Added the chk_cyrus program to help point out missing message files and/or mailboxes
- ANNOTATEMORE improvements. Server annotation support has been added. We are also now using the /vendor/cmu/cyrus-imapd hierarchy. The "info" command in cyradm now returns annotations for the given mailbox (provided that ANNOTATEMORE support is compiled into the server)
- The RENAME command has been almost entirely rewritten. Now we rely on mailbox-level locking instead of locking the entire mailboxes file for the duration of the rename. `ctl_cyrusdb -r` now also cleans up "reserved" mailboxes that may appear in the event of a crash.
- `ctl_mboxlist` can now dump only a particular partition
- The configuration subsystem now uses a hash table to speed up lookups of options. Additionally, the hash table implementation has been updated to possibly take advantage of memory pools.
- Many bugfixes related to the Cyrus Murder. Includes improvments to subscription handling as well as correct merging of seen state on mailbox moves.
- Can now configure an external debugger (`debug_command` option in imapd.conf.
- Misc. autoconf-related fixes (most notably those related to sasl_checkapop and O_DSYNC).
- Misc. locking-related fixes.
- Security fixes related to handling large literals in getxstring(), as well as correct usage of layers in timsieved.

## Changes to the Cyrus IMAP Server since 2.1.3

- All "MAIL" and "SIEVE" notifications are now handled by `notifyd` which is a daemon that supports multiple notification methods. The `mailnotifier` and `sievenotifier` options have been added to `/etc/imapd.conf` to configure notifications. (Ken Murchison)
- Many feature enhancements and bugfixes for the Cyrus Murder. The code now supports live (but not transparent) moving of mailboxes from one server to another.
- Some warning fixes.
- `fdatasync()` is no longer required.
- Fixed a bug in `imap/append.c` that would show itself if a message was being delivered to five or more different partitions.
- Deliveries now don't create a redudant temporary file using `tmpfile()`; the staging directory is used instead. (Ken Murchison)
- Fix a possible crashing bug in `squatter`. (Ken Murchison)
- Deleting a user now also removes their Sieve scripts.
- `cyrusdb_skiplist`: release locks during iteration. Should prevent denial of service attacks and possibly increase performance.
- `cyrusdb_skiplist`: introduce a new mode using `O_DSYNC` writes which is possibly faster on Solaris. Currently off (it seems to hurt performance on Linux).
- `master` has preliminary code to avoid forking storms.
- `sieveshell` should now loop through all available SASL mechanisms before conceding defeat.
- `sieveshell` can now upload a file to a different name.

## Changes to the Cyrus IMAP Server since 2.1.2

- fud now runs from the Cyrus master process; more generally, the Cyrus master process can deal with UDP services. (Amos Gouaux, `amos@utdallas.edu`)
- Sieve has been updated to be compliant with RFC 3028 and draft-martin-sieve-notify-01. All `notify` actions and any `fileinto` and/or `redirect` actions using stringlists will have to be updated/changed.
- added `cvt_cyrusdb` for quick conversions between different cyrusdb backends.
- fixed a bug in the Sieve header cache, where legal header names were being rejected.
- many Murder-related fixes
- suppress a bogus TLS session reuse DBERROR message
- make the list of acceptable TLS ciphers configurable in `/etc/imapd.conf`
- `cyrusdb_skiplist` fixes; it's now suitable for using in production environments though there are still performance problems outstanding

## Changes to the Cyrus IMAP Server since 2.1.1

- now compatible with Berkeley DB4 (Larry M. Rosenbaum, `lmr@ornl.gov`)
- timsieved now supports proxying via `loginuseacl` (Amos Gouaux, `amos@utdallas.edu`)
- Sieve `vacation` now does a case-insensitive comparison of `:addresses`
- Warning-related bug fixes from Henrique de Moras Holschuh `hmh@debian.org`
- automatic archival of db3 files so that filesystem backups are always consistent (Ken Murchison, `ken@oceana.com`)
- added a skiplist database backend, still needs more testing
- further work on the Cyrus Murder
- fixed bug in `remotepurge` dealing with mailboxes with characters that need to be escaped inside quoted-strings
- Cyrus::IMAP::Admin now supports referrals
- `cyradm`, via Cyrus::IMAP::Shell, now can remove quotaroots
- `timsieved`, `sieveshell`, and the MANAGESIEVE protocol extended with referrals

## Changes to the Cyrus IMAP Server since 2.1.0

- now compatible with Cyrus SASL 2.1.0
- fixed a problem with LMTP AUTH and unix domain sockets
- make deleting users faster
- add a "-n" switch to `remotepurge`
- cyradm now does implicit SASL authorization
- fix for Sieve `:matches` comparator

## Changes to the Cyrus IMAP Server since 2.0.16

- migrated to SASLv2 (Rob Siemborski)
- altnamespace: it is now possible to display user mailboxes as siblings to the INBOX at the top-level (Ken Murchison)
- unixhierarchysep: it is now possible possible to use slash as the hierarchy seperator, instead of a period. (Ken Murchison, inspired by David Fuchs, `dfuchs@uniserve.com`)
- SSL/TLS session caching (Ken Murchison)
- support for IMAP CHILDREN & LISTEXT extensions (Ken Murchison, work in progress)
- check recipient quota & ACL at time of RCPT TO: in `lmtpd` (Ken Murchison)
- support for LMTP STARTTLS & SIZE extensions (Ken Murchison)
- unified deliver.db, using cyrusdb interface, hopefully improving concurrency and performance (Ken Murchison)
- fixed STORE FLAGS () bug (Ken Murchison)
- fixed SEARCH SUBJECT vs. SEARCH HEADER SUBJECT bug (Ken Murchison)
- users without an INBOX can have subscriptions (Ken Murchison; noticing a trend here?)
- added cyrusdb_db3_nosync backend, used for duplicatedb and session cache, to postpone non-critical writes. (Ken Murchison)
- support for STARTTLS and AUTH=ANONYMOUS for timsieved (Ken Murchison)
- do setgid and initgroups in master (as urged by several people)
- added more config info to IMAP ID (in a vain attempt to improve debugging)
- configure now checks for DB3.3
- SQUAT (Rob O'Callahan, `roc@cs.cmu.edu`)
- change SEARCH HEADER x to SEARCH x utilizing internal cache where possible (Rob O'Callahan, `roc@cs.cmu.edu`)
- an improved directory hashing option (Gary Mills, `mills@cc.UManitoba.CA`)
- use of EGD for SSL/TLS (Amos Gouaux, `amos@utdallas.edu`)
- separate certs/keys for services (Henning P. Schmiedehausen, `hps@intermeta.de`)
- ability to force ipurge to traverse personal folders (Carsten Hoeger, `choeger@suse.de`)
- fixed zero quota bugs in cyradm (Leena Heino, `liinu@uta.fi`)
- ignore trailing whitespace in imapd.conf
- Received: header (with TLS and AUTH info)
- added '-i' switch to sendmail command line for SIEVE reject, redirect and vacation
- small fixes to notify_unix
- added "`duplicatesuppression`" switch to imapd.conf for enabling/disabling duplicate delivery suppression (Birger Toedtmann, `birger@takatukaland.de`)

## Changes to the Cyrus IMAP Server since 2.0.15

- fixed a longstanding bug in `quota` that would affect people with unusual top-level hierarchy, fix by John Darrow, `John.P.Darrow@wheaton.edu`.
- some important fixes to db3 interface code, by Walter Wong `wcw@cmu.edu`, prompted by complaints from Scott Adkins `adkinss@ohio.edu`.
- fixed some memory leaks in imclient and in the Perl IMAP module, prompted by Toni Andjelkovic `toni@soth.at`.
- fixed a longstanding authentication error in the Perl IMAP module, should remove pesky extra Password: prompt.
- fixed some allocation bugs in the managesieve perl module.

## Changes to the Cyrus IMAP Server since 2.0.14

- fixed memory management bugs in `imapd`, `lmtpd` that were being hit due to the connection reuse code and causing subtle and annoying problems.
- we now clean up better when deleting a user
- fixed an endian bug in `ipurge`
- `pop3d` now can also reuse processes.
- fix a bug in `imclient` that would strike when `cyradm` specifies a mechanism on the command-line. (SASL mechanism names aren't case sensitive.)
- fix some bugs in handling SIGHUP in `master`
- fix a couple of goofs in `Admin.pm`

## Changes to the Cyrus IMAP Server since 2.0.13

- fixed a silly bug with reusing SSL connections
- `lmtpd` can now service multiple clients in sequence, hopefully improving performance
- changed how Berkeley db databases are opened, hopefully lessening the chance of deadlock and improving performance
- fixed a couple of memory leaks
- lessened the chance of a race condition during `index_check()`

## Changes to the Cyrus IMAP Server since 2.0.12

- refactored code so less duplication
- added alternate config file for partial virtual domain support
- `pop3d` can now disable USER/PASS commands.
- STARTTLS now accepts a SSLv23 hello but doesn't allow SSLv23 to be negotiated.
- `imtest` no longer buffers to aid use as an automated layer.
- `master` now supports maximum number of service processes via the "maxchild" modifier.
- fixed a bug in the Sieve string lexer.
- one `imapd` process can now service multiple clients in sequence, eliminating a large number of forks.

## Changes to the Cyrus IMAP Server since 2.0.11

- portability fixes involving `setrlimit()`
- fixed compiler warnings
- the STARTTLS command will only accept TLSv1 now, not SSLv2/v3. The `imaps` port is unaffected by this change.
- `timsieved` no longer returns garbage strings.

## Changes to the Cyrus IMAP Server since 2.0.9

- some small memory savings
- the "fud" daemon once again works correctly
- the IDLE extension now uses signals correctly
- problems with libwrap have been resolved
- `imapd` and `pop3d` now log connections protected via TLS.
- efficiency improvements when searching for a particular message-id
- fixed an envelope-parsing bug affecting SORT and THREAD
- made RENAME keep the same mailbox uniqueid, preserving seen state across renames
- STOREing flags to multiple messages in one command is now more efficient
- RENAME now preserves the ACL
- LIST is now as efficient as Cyrus v1.6, modulo Berkeley DB issues.
- Sieve zephyr notifications are now correct.
- crash in `reconstruct` now fixed.
- man pages added for `cyrus.conf`, `master`, `lmtpd`, `idled`, `ctl_mboxlist`, and `ctl_deliver`.
- `master` can now listen on specific interfaces
- `master` can now reread `/etc/cyrus.conf` on SIGHUP.
- `timsieved` now uses symlinks instead of hard links.

## Changes to the Cyrus IMAP Server since 2.0.8

- remembered to update this file
- bug in `Cyrus::IMAP` perl module affecting cyradm's setquota fixed
- portability fix with `socklen_t`

## Changes to the Cyrus IMAP Server since 2.0.7

- preliminary implementation of the IDLE extension (Ken Murchison, `ken@oceana.com`).
- THREAD=REFERENCES now part of the normal build.
- tweaks to the installation documentation and suggested Sendmail configuration
- portability fixes and other small bugfixes
- added "`-a`" flag to `lmtpd`
- master process can now export statistics about running processes via UCD SNMP AgentX
- many fixes to Cyrus Murder-related code
- fixes to perl code, especially the Sieve interface. added an IMSP interface to the perl code, but it still needs work.

## Changes to the Cyrus IMAP Server since 2.0.6

- some number of random static variables eliminated, to save on memory footprint
- recursive RENAME was a little to eager; fixed. RENAME will also give the client a hint that a sub-RENAME failed. (mostly probably useful for cyradm, but cyradm doesn't take advantage of it yet.)
- THREAD=X-JWZ has turned into THREAD=REFERENCES (Ken Murchison)
- DELETE wasn't failing cleanly in database code; fixed.
- off-by-one bug in seen_db fixed.
- starting/committing/aborting transactions now logged more correctly in cyrsudb_db3
- master will now accept port numbers instead of just service names in cyrus.conf. also logs even more verbosely (see bug #115.)
- libwrap_init() is now inside the loop, since i don't quite understand the semantics of libwrap calls.
- setquota in cyradm now behaves more sanely (and gives correct usage message).
- bugfixes to the managesieve client perl api. (still needs work.)
- small fixes in timsieved.
- added a "make dist" target so i won't dread releases as much.

## Changes to the Cyrus IMAP Server since 2.0.5

- APPEND now honors the \Seen flag.
- mailboxes file can once again be a flat text file. (compile-time choice)
- subscriptions file can be flat text or berkeley db. likewise for seen state.
- unfortunately, the format of the mailboxes file has changed.
- implementation of "JWZ" threading, a first pass on the forthcoming THREAD=REFERENCES.
- bugfixes in libacap.
- bugfixes in other Murder related functionality.
- removal of dead code.
- will now look in CYRUS_PREFIX/etc/imapd.conf if there's no /etc/imapd.conf.
- more paranoid implementation of ID.
- more descriptive lmtp errors.
- finished implementation of LMTP 8BITMIME.
- fixed minor bugs in pop3d.
- small test suite for cyrusdb backends added in `lib/test/`.
- added `-DPERL_POLLUTE` to the perl compilation to deal with Perl 5.6.
- small additions to the Sieve library.
- As usual, owe lots of thanks to Ken Murchison for his hard work and awesome implementations.

## Changes to the Cyrus IMAP Server SINCE 2.0.4

- Now should work with Berkeley DB 3.1, but does not auto-upgrade 3.0 databases (and, in fact, I haven't written any upgrade software yet).
- SORT and THREAD should now function correctly.
- Some configure fixes.
- Some fixes for possible race conditions in initializing services and database structures.
- Some non-gcc compile fixes with structure initialization.
- Some non gcc compile fixes with structure initialization.

## Changes to the Cyrus IMAP Server SINCE 2.0.3

- fixed `mbpath` and `ipurge`. Thanks to Alain Turbide for the bug report.
- configure: removed `mmap_private.c`; it was buggy, and not worth supporting.
- configure: improvements in detecting libwrap, typos fixed in detecting libsasl.
- Merged the acapsieve library into libacap.
- improvements to the ACAP API.
- invariant checks added to the skiplist code.
- bugfix in TCL cyradm.
- acapmbox.c: bugfixes in handling acap connections.
- fix the size given for a unix socket address (changes throughout the code), patch thanks to Vladimir Kravchenko, `jimson@null.ru`.
- rewrote `deliver` to use the generic LMTP API in lmtpengine.c. Likewise, implemented the client-side API in lmtpengine.c. (Still need to implement AUTH.)
- added SORT and THREAD support (Ken Murchison, `ken@oceana.com`.)
- In checking an APPEND command, we were rejecting valid system flags and accepting invalid ones.
- minor bug fixes to `proxyd`.
- large amount of debugging code added to `target-acap`.
- build fixes to Perl programs.
- allow plaintext authentication to `timsieved`.

## Changes to the Cyrus IMAP Server in 2.0

- The mailboxes file is now a transaction-protected Berkeley database.
- The core delivery process has been moved to `lmtpd`. `deliver` is now a simple wrapper to create an LMTP transaction.
- master process, responsible for spawning services (`imapd`, `lmtpd`, etc.) and for routine housekeeping. Optionally, it can use `libwrap` to allow or deny connections.
- ACAP (Application Configuration Access Protocol) support for Cyrus Murder: IMAP Aggregator.
- Sieve enhancements: regular expressions, notifications, automatically setting IMAP flags.
- SNMP (Simple Network Management Protocol) support for monitoring usage (e.g. number of users logged in) as well as for instrumenting protocol usage (e.g. number of times CREATE has been called).
- Perl version of `cyradm` contributed by Brandon Allbery (`allbery@ece.cmu.edu`). Eventually we expect to transition to the Perl version away from the TCL version.
- Bugfix in modified UTF-7 processing (for mailbox names). Bugfix in `index_searchcacheheader()`.
- Implemented the extension MULTIAPPEND.
- RENAME is now hierarchical.
- The right that controls whether a mailbox may be deleted is now "c". (It used to be "d".)
- An additional backend for seen state has been created, `seen_db`. It stores seen state in a per-user database.

## Changes to the Cyrus IMAP Server Since Version 1.6.20

- Some fixes to the TLS support to gracefully degrade service.
- Sieve now correctly re-sieves messages that are received with identical message-ids, but different envelopes. It also obeys plus-addressing on keep actions. (Fixes by Ken Murchison, `ken@oceana.com`.)
- The server wasn't correctly calculating the percentage of quota used when deciding whether or not to issue a warning.
- Implemented single-instance store: deliver, when using LMTP, will only store one copy of a message per partition, and hard link it among multiple users. Sites with a large number of partitions could see a performance decrease.

## Changes to the Cyrus IMAP Server Since Version 1.6.19

- Added STARTTLS support; requires OpenSSL.
- Sieve now uses MDNs to reject messages instead of DSNs, conforming to the latest Sieve specification. (Ken Murchison)
- The duplicate delivery database expiration (deliver -E) was deleting all entries; fixed.
- imtest is now a little smarter about parsing the protocol to avoid synchronization errors prior to authentication.
- timsieved's parser is now written in C; should be no noticeable changes, but should make compiling it much easier.

## Changes to the Cyrus IMAP Server Since Version 1.6.16

- Fix to enclosed message parsing (thanks to John Myers).
- When trying to skip over non-synchronizing literals during error recovery, the IMAP server never stopped eating. Fixed.
- Added `with-sasldir` as a configure option.
- Fixed a bug in cyradm when it got the CAPABILITY list.
- Fixed bugs relating to the incomplete SASLfication of deliver.
- Fixed bugs in deliver relating to duplicate delivery suppression and Sieve vacation functionality.
- Fixed a memory leak in deliver.
- When looking for SASL options, imapd wasn't defaulting to the option without the plugin name requesting it. This caused PLAIN authentications to incorrectly fail.
- Changed the expiration time of pts entries to 3 hours; only affects sites using krb_pts as the authorization method.
- Fixed some bugs in imclient; mostly affects cyradm.
- Fixed a bug in the Sieve lexer and improved the usefulness of the Sieve test program.

## Changes to the Cyrus IMAP Server Since Version 1.6.13

- An annoying memory management bug in imclient was fixed and it's efficiency was improved somewhat.
- Added the sieve client (`installsieve`) and server (`timsieved`) for getting sieve scripts onto the server and managing them once they are there.
- The default Sieve script layout has changed to sievedir/u/user/default; this supports multiple Sieve scripts per user with the ability to switch between them.
- Fixed the kerberos-to-local-host bug (patch by Greg Hudson, `ghudson@mit.edu`).
- Started changes to deliver to support LMTP AUTH.
- Improved the error messages logged when authentication fails.
- Fixed a bug dealing with argument processing in the arbitron program.
- pop3d now correctly supports SASL AUTH.
- imtest will no longer prompt for authentication or authorization names; instead, it defaults to the current Unix user. Override on the command line.
- Likewise, cyradm will no longer prompt. It now accepts "-m" to specify what SASL mechanism to use, and the pwcommand option to authenticate should once again work when used non-interactively.

## Changes to the Cyrus IMAP Server Since Version 1.6.10

- Changed the sieve option in the configure script to `--disable-sieve`.
- Updated reconstruct and quota to check for hashed imap spool directories correctly.
- deliver now will not use Sieve if duplicate delivery suppression is disabled. There was also a bug that caused the duplicate delivery database to be checked even if dupelim was disabled.
- deliver now uses tm_gmtoff if available to check for the local timezone.
- The default format for reading information from INN has changed. If you use INN to feed imapd news, you must change your "`newsfeeds`" file to contain

      collectnews!:*:Tf,WO:collectnews

- The dohash script now takes a "`-i`" option to run interactively and the "`-f`" option to issue warnings instead of fatal errors.

## Changes to the Cyrus IMAP Server Since Version 1.6.1-BETA

- cyradm should now work with all mechanisms (it now handles empty challenges and responses).
- Fixed deliver to deal with arbitrarily long headers
- COPY for non-existent sequence numbers returns NO; this contrasts to UID COPY, which always returns OK.
- FETCH for non-existent sequence numbers returns NO; this contrasts to UID FETCH, which always returns OK.
- Fixed a misleading BAD responses to commands that take sequences.
- Added UIDNEXT untagged response to a SELECT (from `draft-crispin-imapv-07.txt`).
- pop3d now correctly passes SASL configuration options to libsasl.
- imtest now correctly flushes the server's output to the screen.
- Added more hashing using a simple but stupid algorithm. Now whenever there is a mailbox access, quota access, or subscription access, it goes through a hash function. this is done to help reduce the number of files/directories in any given directory.
- Added the binary `mbpath`. Given a mailbox name, this binary will print the filesystem path to that mailbox. This way if you have multiple partitions and hashing turned out, you don't have to spend as many mental cycles figuring out where the actual directory is.
- deliver now checks `sieveusehomedir` and `sievedir` in the config file to determine where to look for sieve scripts.
- ptloader now has a workaround for afs 3.5.
- clarified an error message in message.c when an unexpected end of file is encountered.
- fixed some random memory leaks in deliver.
- fixed a fairly major bug in prot_fill. it was performing incorrectly when reading only a single character.
- fixed a bug in how imtest looked for OK or NO.
- fixed a memory leak in imapd.
- imapd now allows any user (or member of a group) listed in "proxyservers" to proxy.

## Changes to the Cyrus IMAP Server Since Version 1.6.0-BETA

- fixed stupid bug in imapd
- fixed sasl/config.c interaction
- fixed use of stat in imtest

## Changes to the Cyrus IMAP Server Since Version 1.5.24

- ANSI C is now required.
- imtest's interface has changed, to allow for SASL authentication. Sorry, but it had to happen. It now also includes a timing test (-z) which we use to test the SASL layers.
- imtest no longer uses a non-synchronizing literal with LOGIN, so it should work against all IMAP servers.
- The prot layer now uses SASL for encryption and authentication. This changed a large amount of code, and some build procedures.
- As a side effect of SASL, --enable-static-libraries now doesn't do anything. We are considering compiling cyrus with libtool to change this.
- Error codes returned by programs have changed, and programs return EX_TEMPFAIL far more than they used to. This is because Sendmail considers most not-EX_TEMPFAIL errors permanent; now, if it may not be permanent, EX_TEMPFAIL is returned. (See lib/exitcodes.h.)
- Two bugs fixed: UID FETCH's with no messages in range now return OK, not BAD. And an obscure bug in LIST case sensitivity is fixed.

## Changes to the Cyrus IMAP Server Since Version 1.5.19

- Most of the charset.c code (and mkchartable.c code) has been replaced thanks to John Myers).
- Bug fix in message.c to look up headers in the cache when they're in the cache correctly; thanks to Chris Newman for the fix.
- Code cleanup here and there (thanks to Bruce Balden).
- Annoying (and confusing) lines in syslog every time a message was delivered if deliver was compiled using dbm saying that deliver was "unable to fetch entry" have been removed.
- Content-Disposition lines were being parsed improperly. If they had no optional arguments, they were being ignored as if they were syntactically incorrect. This is fixed, but imapd will continue to serve wrong information unless cyrus.caches are rebuilt (with reconstruct) for any message that was added to the mailbox before this bug was fixed.
- The arbitron program now takes a mailbox pattern argument for the mailbox to run on. The manpage always said it did anyway.
- Uninitialized variable fixed in imapd.c with the shutdown file code.
- Minor tweaks to purify build config.
- Fix minor memory leak in proc.c where procfname wasn't being free'd.
- Fix brain fart in auth_krb_pts.c where a CLOSE() was done to a DB handle BEFORE we access the data read from the DB database. This means we were copying free'd memory into the groups list. Note this only affects people using DB, AFS and ptloader.
- Committed minor syslog log level changes in ptloader and deliver.
- make distclean now does what it's supposed to.
- Possibly misnamed experimental --enable-static-libraries switch that tries to do a good job of building binaries with whatever static libraries are availible. If you use this, you do so at your own risk, and if it fails, we will disavow all knowledge of you and your team. Good luck, Jim.
- Add optional third argument to imtest for it to take input from a file. This is a gross hack.

## Changes to the Cyrus IMAP Server Since Version 1.5.14

- LIST now honors the reference argument.

  This behavior can be turned off by a configuration option imapd.conf--which may be desirable because of certain clients that ask for a "mail directory" setting for IMAP which will now cause problems when it was ignored before. (The default is for the reference argument to be honored.)

- The `arbitron` program now takes a mailbox pattern argument for the mailbox to run on. The manpage always said it did anyway.
- Added --disable-server switch to optionally prevent compilation of server to help sites that just want client libraries (so cyradm and libcyrus can be compiled on remote systems without installing stuff into /usr/cyrus/bin, etc.) For now, the server is still configured in this case, and a Makefile is generated. This could change in future versions.
- Fixed a mmap leak in index.c in index_search_evaluate that caused problems on complex searches. Thanks to Jeff Schiller for pointing this out. Fixed a potential leak in mboxlist.c that happened if a rename went awry. Thanks to Chris Newman for pointing this out.
- Fixed a bug in LIST and LSUB code so that user.* mailboxes will be printed on every LIST instead of just the first one.
- Implemented the POP3 Extension Mechanism, RFC 2449, in order to advertise the capabilities already supported.
- Fixed a bug in mailbox.c that disallowed MUTF-7 representations of ASCII characters when it shouldn't have. (Thanks to John Myers for providing a fix and to Per Steinar Iversen for telling me that I didn't do it before.)
- More cleanup the ptloader/auth_krb_pts code. If you use Kerberos and IMSP, you *MUST* pick up cyrus-imspd-v1.5a6 (or newer).
- A few configure tweaks.
- Duplicate delivery changes:
  - Split out duplicate delivery elimination to multiple files. This should help reduce the lock contention that normally occurs with this file. To not clutter config_dir, the files will be located in a subdirectory named `deliverdb`, for example `/var/imap/deliverdb`. If you don't make this directory, nothing bad will happen (other than duplicate delivery elimination will not work).
  - The time value is now stored as an integer in native byte order as opposed to converting it to a string before it is stored in the database.
  - checkdelivered() now obtains a read lock instead of a write lock when trying to check for duplicates. Only markdelivered() grabs a write lock.
- Added logic to cause cyradm to abort more cleanly if not given command line arguments in an interactive session. This gets rid of the dreaded `application-specific intialization failed` messages.

## Changes to the Cyrus IMAP Server Since Version 1.5.11

- The CREATE command now ignores a trailing hierarchy delimiter instead of ignoring the CREATE command.
- UIDPLUS is now always advertised in CAPABILITY and is always availible. The UIDPLUS extension is a set of optimizations using UID values instead of sequence numbers and is described in RFC 2359.
- Cyrus no longer rejects messages with 8-bit characters in the headers. Rather than reject the message, characters with the 8th bit set are changed to 'X'. Internationalization in headers is supported by the mechanism specified in RFC 2047 (and RFC 1342).

## Changes to the Cyrus IMAP Server Since Version 1.5.10

- If ENABLE_EXPERIMENT is set, the server no longer claims to support OPTIMIZE-1; instead, it claims to support UIDPLUS. The Getuids command has been removed since it is not in the UIDPLUS document (draft-myers-imap-optimize-03.txt).
- The checks for Tcl in configure are much smarter. The configure script asks tclsh where its configuration lives, then consults the shell scripts that have that information. This should work with 7.5 or better, which is what the server requires anyway. (All the previous checks to look for Tcl libraries are gone; now, configure runs tclsh and asks it where the Tcl libraries are, then runs the shell scripts that are in that directory. Since the tclConfig.sh script may not be in that directory, it looks in .. as well.)
- The checks for com_err in configure are a little smarter and look to see if all the pieces are there before trying to use them.
- Added support for the NAMESPACE extension (if --enable-experiment is supplied).
- Added a "reject8bit" switch to imapd.conf. If set to "true", messages containing 8-bit-set characters in the headers are rejected (the previous behavior); if set to "false" or left to the default value, messages containing 8-bit-set characters have these characters changed to a constant character ('X').
- Added the "fud" program. This is an interm hack designed to allow allow finger information to be retrieved for cyrus users. This is experimental and it is not recommend that services be built arround this feature, since it is likely to be removed in a future release of the IMAP server.
- Bug fix: User defined flags now work properly.

## Changes to the Cyrus IMAP Server Since Version 1.5.2

- Fixed a bug with word alignment on Solaris using Kerberos compiled with Sun's CC. (Several patches were submitted; thanks to everyone who did so.)
- Patches from John Myers, including more glob fixes.
- Use the default hash function from DB. Note that this means that the existing `delivered.db` and `ptscache.db` is NOT compatible with this release. These files should be removed.
- Provide two debugging programs that dump the databases: `ptdump` and `dump_deliverdb`.
- Multiple changes to ptloader. added a bunch of flags; let it reauthenticate on its own; added support perl wrapper; added bunch of debugging information/output; bunch of other cleanups
- The mailboxes file is now closed if it isn't likely to be referenced, hopefully preventing old mailboxes files from hanging around in memory as frequently.
- Added a patch from Eric Hagberg to work around a possible deadlock condition in mboxlist.c where rename isn't atomic.
- Patch from John Myers to get rid of cyrus.seen corruption in bsearch_mem.
- Patch from John Myers and to allow ISO-8859-1 characters in mailbox names.
- Makedepend still runs, and still generates warnings, but these are squirrled away in makedepend.log.
- On mailbox delete, the server will no longer try and unlink ".." and "." as we got a report that it seriously breaks one file system (even as non-root).
- Added some support for Netscape's very misleading "Administrate My Mail" menu option in Communicator. Allows for a URL to be set in imapd.conf for the page to refer users to; needs to be turned on with --enable-netscapehack at compile time to enable it.
- Bug swap: imtest quotes password with a non-synchronizing literal in order to allow weird characters like ) in passwords. But it doesn't look to see if the server supports non-synchronizing literals.
- If the file "`msg/motd`" exists, the first line is now sent to clients upon login.
- Bug fix: to handle BODY[] properly when fetching news articles (truncation no longer occurs). (thanks to John Prevost)
- The makedepend supplied should now run on Solaris Intel. (thanks to Chris Newman)
- Added some hacks to pwcheck.c for Linux and Digital Unix where the default protections on the socket don't allow the cyrus user to read it. (thanks to Lyndon Nerenberg)
- Bug fix: Flags beginning with \ are system flags and users can only create the defined flags. The code to do this before was confused.
- The configure scripts and makefiles have some random fixes.
- Added a contrib directory for reasons of laziness in collecting patches, not all of which should be in the distribution.
- ptloader can now renew its AFS authentication by reading from a srvtab file.
- The configure script now looks for a libcom_err and can use an installed one if one exists.
- Other small bug fixes.

## Changes to the Cyrus IMAP Server Since Version 1.5

- Bug fix: RENAME corrupted mailboxes if they had been EXPUNGEd. (may have only happened with INBOX, which Pine tickles once a month.)
- Bug fix: auth_newstate now initializes its structures.
- Bug fix: pop3d.c, a printf was changed to prot_printf.
- Cyrus now sends X-NON-HIERARCHICAL-RENAME to alert clients that it is not handling RENAME in an IMAP4rev1 compliant manner. This will be fixed in a subsequent release.
- Bug fix: imclient_autenticate now does resolution on the hostname before authenticating to it. This caused problems when authenticating to an address that was a CNAME.
- Bug fix: LIST %.% (and other multiple hierarchy delimiter matches) works properly. Several other glob.c fixes are included as well.
- Bug fix: a fetch of exclusively BODY[HEADER.FIELDS...] should now work properly.
- Bug fix: reconstruct now considers a nonexistant INN news directory to be empty; this makes reconstruct fix the cyrus.* files in the imap news partition.
- Added a manpage for imclient.
- Fixed a few other minor bugs.

## Changes to the Cyrus IMAP Server Since Version 1.4

- Implemented the "`IMAP4rev1`" protocol commands. (The hierarchical behavior of RENAME, which was added late to the IMAP4rev1 specification, is not implemented.) Changes the minor version number of the cyrus mailbox database format to 1. IMPORTANT: it is necessary to run the command "`reconstruct -r`" as the cyrus user after upgrading the Cyrus IMAP software from version 1.4 or earlier.
- If the file "`msg/shutdown`" exits in the configuration directory, the IMAP server will issue the first line in the file in an untagged BYE message and shut down.
- Permit SPACE in mailbox names.
- Permit the "modified UTF-7" internationalized mailbox name convention.
- "User opened mailbox" messages are now logged at the DEBUG level instead of the INFO level.
- Added `-q` (ignore quota) switch to `deliver`.
- New "`krbck`" program for diagnosing common kerberos problems.
- auth_unix no longer requires users to be in the passwd file.
- AUTHENTICATE command now reports the protection mechanism in use in the text of the tagged OK response
- Make MAILBOX_BADFORMAT and MAILBOX_NOTSUPPORTED temporary errors.
- Use the header cache for SEARCH HEADER
- Use "unspecified-domain" instead of server's hostname to fill out RFC 822 addresses without the "@domain" part.
- Make "reconstruct -r" with no args reconstruct every mailbox.
- The configure script now defaults to using unix_pwcheck instead of unix if the file /etc/shadow exists.
- The location of the pwcheck socket directory now defaults to "`/var/ptclient/`". It is controlled by the "`--with-statedir=DIR`" option, which defaults to "`/var`".
- Bug fix: by using an certain address form, one could deliver to a user's mailbox bypassing the ACL's.
- Bug fix: un-fold header lines when parsing for the ENVELOPE.
- Delete quota roots when deleting the last mailbox that uses them. Doesn't catch all cases, but should get over 99% of them.
- Implement plaintextloginpause configuration option, imposes artificial delay on plaintext password logins.
- Implement popminpoll configuration option, limits frequency of POP3 logins.
- Implement AFS PT server group support.
- Remove persistence of POP3 LAST value and remove Status: hack
- Support the new ACL command set in the IMAP server.
- Bug fix: Have to initialize reply to 0 in pop3d. Was causing POP3 server to occasionally drop the connection during authentication.
- Bug fix: The COPY command wasn't issuing a [TRYCREATE] when appropriate for sub-mailboxes of INBOX.
- Bug fix: Renaming a mailbox wasn't correctly changing its UIDVALIDITY.
- Bug fix: Renaming a mailbox to itself, in order to move it to a different partition, was not working correctly.
- Update the AUTH support in pop3d to conform to the latest draft specification.
- Update cyradm to use Tcl 7.5 instead of Tcl 7.4
- Re-implement large sections of the netnews support. It no longer requires modifications to INN, as it now expunges the index entries for expired/canceled articles upon select of the newsgroup.
- Implement newsspool configuration option, for separating the directories for the news spool and the various cyrus.* IMAP server index files.
- Bug fix: permit empty flag list in APPEND command
- Bug fix: deal with truncated Date: header values.
- Bug fix: memory mapping code, deal better with 0-length maps, since mmap() appears to crap out on that boundary condition.
- Portability fix: if no strerror, have to define NEED_SYS_ERRLIST.
- Bug fix: used append instead of lappend in cyradmin, preventing use of any port other than IMAP.
- When the client is streaming its commands, the IMAP server attempts to stream its tagged responses.
- Modify zephyr support to compile without Kerberos support.
- Add a bunch of prototype declararations to the code.
- In deliver, change the MULT support to instead use the LMTP syntax.
- imclient: support tagged intermediate replies and a default callback.
- Implement some experimental protocol extensions for optimizing disconnected use resynchronization. Most extensions are disabled by default. Client authors should contact info-cyrus@andrew.cmu.edu if they wish to experiment with these.
- In Makefiles, change $(AR) to ar -- HPUX make is defective.
- In deliver, use HAVE_LIBDB to select use of db over dbm
- Add map_stupidshared mapping module for older versions of Digital Unix. It's not quite as bad as HPUX, but...
- Bug fix: in imclient.c, don't free NULL pointers and don't call htons() on the output of getservbyname(). Have to abort sending the command if you get a tagged response when sending a literal.
- The auth_xxx routines now create/take a state argument instead of maintaining internal static state.
- Solaris mktime() is buggy in some releases. Create and use mkgmtime() for parsing date strings.
- Message parsing routines now use memory mapping, though they still copy data around in line-sized buffers.

## Changes to the Cyrus IMAP Server Since Version 1.3

- Implemented the "`reconstruct -m`" command, for reconstructing the `mailboxes` file. IMPORTANT: it is necessary to run the command "`reconstruct -m`" as the cyrus user after upgrading the Cyrus IMAP software from version 1.3 or earlier. We recommend you make a backup copy of the `mailboxes` file in the configuration directory before performing the conversion.
- Mailbox names are now case sensitive, not case insensitive. "`INBOX`" is the exception, and is treated as being case-insensitive.
- Personal mailboxes now appear to their owners as being under the "`INBOX.`" hierarchy. For example, the mailbox "`user.bovik.work`" appears to the user "`bovik`" as "`INBOX.work`". The user may still refer to the mailbox with the name "`user.bovik.work`".
- Previously, the code used "`anybody`" as the name of the group that all users are in, but the documentation used the name "`anyone`". Changed the code to match the documentation. The name "`anybody`" will be canonicalized to the name "`anyone`".
- The install document now gives different recommended locations for the server databases. The recommended location of the configuration directory changed from "`/usr/cyrus`" to "`/var/imap`" and the recommended location of the default partition directory changed from "`/usr/spool/cyrus`" to "`/var/spool/imap`". It is NOT necessary to change the locations of these directories when upgrading from version 1.3 or earlier of the Cyrus IMAP server software. If you do wish to change the locations of these directories to match the new recommendations, simply rename the directories and change the appropriate values in your `/etc/imapd.conf` file.
- Created a "`make install`" rule. See the installation document for all the new corresponding `configure` options. Note the recommended location of the "`imapd`", "`pop3d`", and "`deliver`" programs has changed, this change needs to be reflected in the "`inetd.conf`" and "`sendmail.cf`" files.
- New "`login_unix_pwcheck`" module and "`pwcheck`" daemon, for improved shadow password support. See the "`pwcheck/README.pwcheck`" file in the distribution for details.
- Renamed the "`login_unix_shadow`" module to "`login_unix_getspnam`".
- Added a mail notification mechanism, using Zephyr.
- Added a feature to automatically create user IMAP accounts. Controlled by the "`autocreatequota`" config option.
- Added the "`logtimestamps`" config option, for putting timestamp information into protocol telemetry logs.
- Beefed up the Kerberos checks in Configure to ensure the DES library routines exist.
- On some systems, the "`echo`" command with no arguments emits a newline. Changed the installation document to instead use the "`true`" command to create the "`mailboxes`" file.
- Store a redundant copy of a mailbox's ACL in the `cyrus.header` file, so "`reconstruct -m`" may later use it as a backup.
- Had to remove the declaration of `tcl_RcFileName` for the latest version of Tcl.
- Make much more extensive use of memory mapping. Replace the binary search module with one that searches a memory mapped area.
- Replaced the yacc-based RFC822 address parser with a hand-coded one.
- Replaced the et (error table) libary with a version that doesn't require lex or yacc. Remove the lex/yacc checking from Configure.
- Safety feature: most programs now refuse to run as root.
- Bug fix: Issue [TRYCREATE] tag on COPY command when appropriate.
- Bug fix: The quoted-printable decoder wasn't ignoring trailing whitespace, as required by MIME.
- Bug fix: Don't spew cascade errors if the server gets an EOF during/after reading an APPEND literal.
- Bug fix: gmtmoff_gmtime.c was returning results with the wrong sign.
- Bug fix: imclient_send was appending spaces to %d and %u and the response parser was not handling responses that did not contain a space after the keyword.
- Bug fix: rmnews wasn't removing some (un-indexed) article files correctly.
- Completely disabled the dropoff code for now. It will be completely replaced when IMSP integration is implemented
- Added workaround for the Linux mkdir() problem.
- In Configure, use a more direct test for a working shared-memory mmap
- In collectnews, avoid O(n**2) behavior when processing articles that have already expired.
- Bug fix: append_addseen() would screw up if no messages were previously seen.
- Added the CMU-specific amssync and cmulocal directories.
- Use memmove instead of bcopy.
- Implemented the first pass of SMTP/MULT support in deliver.
- Added cacheid parameter to auth_setid(), for AFS PT server support.

## Changes to the Cyrus IMAP Server Since Version 1.2

- Fixed bug in character set code that broke text searches. Sites which care about searching headers need to reconstruct their existing mailboxes.

## Changes to the Cyrus IMAP Server Since Version 1.1-Beta

- Add support for `UIDVALIDITY` special information token.
- Add `syncnews` and `arbitron` programs.
- Redo duplicate delivery elimination in `deliver`.
- Bug fixed: Must re-read files after acquiring a lock. Cannot trust the mtime of a file to increment when writing the file--file could be written to multiple times in the same second.
- Bug fixed: `EXAMINE` command should not affect `\Recent` status.
- Update the user's `\Recent` high-water-mark when we report new messages.
- Portability changes
- Upgrade to autoconf 2.1
- Allow privacy to be turned off at compile-time with `--disable-privacy` configure switch.
- Fix typo in `cyradm` preventing "`all`" from being recognized.
- Include `map_private.c` memory mapping module for systems like HPUX which have half-working `mmap()` implementations.
- Switch to using UTF-8 for internal search format. Sites which care about internationalized searching of headers need to reconstruct all their existing mailboxes.
- Fix some errors in the iso-8859-* tables.
- Add and correct a bunch of case-independence mappings in the character tables.
- First pass at implementing the `STATUS` extension; disabled for release.
- First pass at implementing IMAP/IMSP server integration. Not ready for general use.
- Add `new_cred` and `free_cred` mechanisms to authentication modules.
- Don't complain when doing "`reconstruct -r foo`" and `foo` isn't a mailbox.
- Add `IMAP_QUOTAROOT_NONEXISTENT` error code.
- Bug fix: Avoid divide by zero when quota is zero
- Bug fix: In an error case of the ACL handling code, we have to restore tab before breaking out of loop.
- Fix file descriptor leak in quota system.
- Change a bunch of int variables to unsigned.
- Better error reporting on reads that end up short.

## Changes to the Cyrus IMAP Server Since Version 1.0-Beta

- Improved installation document.
- New "`cyradm`" administrative client.
- Changed the syslog facility from "`local4`" to "`local6`".
- Removed the `renounce setuid` check in "`deliver`". The "`deliver`" program must now be non-executable by `other`.
- Fixed a typo in the parsing of `SEARCH DELETED`. (This bug constantly got tripped by newer C-clients.)
- Redesigned the implementation of `SEARCH CHARSET`.
  Sites that wish to search for non-ASCII characters in the headers of existing mailboxes must run `reconstruct` on all their mailboxes after upgrading to this version.
- Added AUTH and KPOP support to the POP3 server.
- Added search support for the ISO-2022-JP character set.
- Replaced the search engine with a partial Boyer-Moore algorithm.
- Special-case optimized searching US-ASCII text.
- Fixed a bug which caused the message parser to spin-loop on a particular degenerate invalid-MIME case.
- Fixed a performance bug in the message parser.
- Tracked last-minute changes to the IMAP4 protocol.
- Fixed a bug in `UNSUBSCRIBE` which caused too many subscriptions to be removed.
- Added a bunch more "`configure`" options.
- Ported to HPUX.
- Fixed a bug in the `LIST/LSUB \Noselect` code.
- Fixed bug in the globbing code which caused the "`*%`" pattern to work incorrectly.
- Client-side Kerberos support is now conditionalized on `HAVE_ACTE_KRB`, which is set by configure.
- Fixed some invalid buffer-alignment assumptions in the Kerberos code.
- Made the lexers compatible with flex. Configure now looks for and prefers to use `flex` and `bison`/`byacc`.
- Made the IMAP server check for the existence of the mailboxes file upon startup, in order to give a more informative error message for this common configuration error.
- Fixed other minor bugs.

last modified: $Date: 2010/04/22 17:29:53 $
Return to the Cyrus IMAP Server Home Page