-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

3.1.0 is upon us.

Download at the usual place:

http://www.dbmail.org/download/
https://git.dbmail.eu/paul/dbmail/

As to changes with since 3.0.2... The list is quite extensive, which
is why the version increase was not just a minor bump.


New parameters in dbmail.conf
- -----------------------------

dburi = sqlite:///home/paul/dbmail.db

DBMail now supports the full capabilities of libzdb by allowing you to
specify the database URI yourself. This gives you full power to tweak
the connection to your liking. See this URL for more information:

http://www.tildeslash.com/libzdb/api-docs/ConnectionPool_8h.html

backlog = 128

The maximum number of waiting TCP connections in the kernel have been
raised to 128 by default, to allow better handling of spikes in the
connection load to slower, blocking daemons like lmtpd. If you see
deferred messages piling up in your MTA, this is what you should look
at. Also, in case of deferred messages, you should consider switching
dbmail-lmtpd from running as a stand-alone (single-threaded) daemon to
running in inetd mode.


Schema change
- -------------

There is one small schema change that you want to apply if you upgrade
from 3.0.2 to 3.1.0. You will find it in the schema directories. For
example sql/mysql/3_0_2-3_1_0.mysql.

Without this change, dbmail-imapd will work just fine, except that
SORT will be broken. This mostly affects Roundcube users, so if you
use that client, you will definitely want to apply the change. It is a
small and fast change (re-create a view) that won't cause you any
additional downtime.


Memory usage
- ------------

Memory fragmentation and leakage was a problem in imapd, but appears
to be under control now. Both virtual and resident memory should show
pretty much flat-lined graphs.

A lot of effort was spent on reducing the memory footprint of
especially the IMAP server. A whole new memory allocation scheme was
introduced (src/mpool) that optionally uses segmented memory arenas,
commonly known as memory pools. Although the use of actual pools is
disabled by default, phasing in the programming interface enforced a
full audit of memory allocation. Except for the GMime code, the new
interface was used as much as possible, or heap allocation was
replaced by automatic stack allocation. GMime uses the g-slice
allocator which doesn't appear to cause problems anymore now that
GObject reference counting was also audited and cleaned up.

An additional new allocation feature is support for jemalloc, a fast
allocator used by some of the big players like facebook and google.
Before using jemalloc however, it good to know that updating to a
recent linux kernel (> 3.6) also appears to improve allocation quite
significantly, by reducing memory fragmentation. For non-linux users,
ymmv, but I'm sure other users will be interested to know how BSD and
OpenSolaris users fare.

IMAPD improvements
- ------------------

Using Dovecot's excellent imap test tools, compliance was improved
overall. No additional IMAP capabilities were added in this release.
Performance was improved by identifying some of codepaths that led to
excessive memory allocation or querying of the database.

LMTPD improvements
- ------------------

Some of the same performance bottlenecks that plagued IMAPD have also
been resolved in LMTPD. Message insertion is now at least twice as
fast, and scales better when injecting messages into large mailboxes.

DELIVER, POP3D and TIMSIEVED
- ----------------------------

Nothing really changed, except for internal code-changes part of the
memory audit. Of course, dbmail-deliver also benefits from the
delivery improvement done for lmtpd.


Finally: every effort was made to create a solid release. You are
still strongly advised to test this version on a pre-production
environment before deploying it to production.

happy testing!




- -- 
________________________________________________________________
Paul J Stevens        pjstevns @ gmail, twitter, skype, linkedin

  * Premium Hosting Services and Web Application Consultancy *

           www.nfg.nl/i...@nfg.nl/+31.85.877.99.97
________________________________________________________________
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlHuTgYACgkQ8iITvBH4zTG7OwCg0bgAsj4IVgZXE9Gq1mQce71J
cTMAnR3vmj535t1ynkcaqln8OOT12vZT
=xnPc
-----END PGP SIGNATURE-----
_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev

Reply via email to