index: we look at msgno -1, so fix the fencepost
Fix possible IMAP crash when mboxlist db has issues
Fix possible crash in mysql and sqlite backends.
The 'sql_escape' callback does return a newly allocated pointer - to be freed by
caller - for the pgsql implementation. Other implementations do realloc the
given structure field pointer.
Other callbacks may end up calling 'sql_escape' and thus change the structure
field pointer. So checking the 'sql_escape' result against the structure field
has to be done before any other callback call.
Allow SQL backend for mboxlist and statuscache
Various fixes for userid with dots and unixhierarchysep
Use correct (not internal) userid in ACLs when creating root level folder.
Fix ACLs setting when userid contains dots.
In pop3d, as for imapd, correctly handle userid with dots.
Reflow Makefile.am to one source file per line

which makes it less compact but easier to read and, most importantly,
easier to rebase commits around.
Bug #3776: track isseen changes through expunge
Bug #3776 - unsigned isseen and isrecent flags