Dovecot

Dovecot updated to 2.0.12

A new version of Dovecot has been released, I’ve installed it on my test servers and production server without a problem. Check the improvements and decide if you want to upgrade as it are many small fixes, plus some more noticeable:

  • doveadm: Added “move” command for moving mails between mailboxes.
  • virtual: Added support for “+mailbox” entries that clear Recent flag from messages (default is to preserve them).
  • dbox: Fixes to handling external attachments
  • dsync: More fixes to avoid hanging with remote syncs
  • dsync: Many other syncing/correctness fixes
  • doveconf: v2.0.10 and v2.0.11 didn’t output plugin {} section right

Dovecot updated to 2.0.11

Just a few days ago Timo released 2.0.10 which I was to blog about when another mail dropped in. He just released version 2.0.11 which solved a bug he discovered in 2.0.10. That was quick.

So here is the list of items solved in 2.0.10

  • LMTP: For user+detail@domain deliveries, the +detail is again written to Delivered-To: header.
  • Skip auth penalty checks from IPs in login_trusted_networks.
  • Added import_environment setting.
  • Added submission_host setting to send mails via SMTP instead of via sendmail binary.
  • Added doveadm acl get/set/delete commands for ACL manipulation, similar to how IMAP ACL extension works.
  • Added doveadm acl debug command to help debug and fix problems with why shared mailboxes aren’t working as expected.
  • IMAP: Fixed hangs with COMPRESS extension
  • IMAP: Fixed a hang when trying to COPY to a nonexistent mailbox.
  • IMAP: Fixed hang/crash with SEARCHRES + pipelining $.
  • IMAP: Fixed assert-crash if IDLE+DONE is sent in same TCP packet.
  • LMTP: Fixed sending multiple messages in a session.
  • doveadm: Fixed giving parameters to mail commands.
  • doveadm import: Settings weren’t correctly used for the import storage.
  • dsync: Fixed somewhat random failures with saving messages to remote dsync.
  • v2.0.9: Config reload didn’t notify running processes with shutdown_clients=no, so they could have kept serving new clients with old settings.

And here is the issues solved in 2.0.11

  • dotlock_use_excl setting’s default was accidentally “no” in all v2.0.x releases, instead of “yes” as in v1.1 and v1.2. Changed it back to “yes”.
  • v2.0.10: LDAP support was broken
  • v2.0.10: dsyncing to remote often hanged (timed out in 15 mins)

I’ve tested it and is running already on a production machine.

Dovecot updated to 2.0.9

A new version of Dovecot has been released, I’ve installed it on my test servers without a problem. Check the improvements and decide if you want to upgrade:

  • Linux: Fixed a high system CPU usage / high context switch count performance problem
  • Maildir: Avoid unnecessarily reading dovecot-uidlist while opening mailbox.
  • Maildir: Fixed renaming child mailboxes when namespace had a prefix.
  • mdbox: Don’t leave partially written messages to mdbox files when aborting saving.
  • Fixed master user logins when using userdb prefetch
  • lda: Fixed a crash when trying to send “out of quota” reply
  • lmtp: If delivering duplicate messages to same user’s INBOX, create different GUIDs for them. This helps to avoid duplicate POP3 UIDLs when pop3_uidl_format=%g.
  • virtual storage: Fixed saving multiple mails in a transaction (e.g. copy multiple messages).
  • dsync: Saved messages’ save-date was set to 1970-01-01.

First attempt at using MySQL 5.5.x

It took me a bit longer then I first anticipated but I got most of the setup working on MySQL 5.5.x out of the box. First I struggled a long time at compiling it properly and found out when I had solved it that you no longer need to compile MySQL. Which is excellent news as it simplifies the setup and a lot of the problems I see here from users.

So here is a quick overview of people who are eager to use MySQL 5.5.x, I will update the other stuff over the next few weeks accordingly. By the way I’ve only done this on Snow Leopard, the Leopard version is only available for Intel, so no more PPC support from MySQL.

First get the binary installer package for MySQL 5.5.x from here (I’ve used 5.5.8) and install only the software (no preference pane or startup item).

If you haven’t installed Apache yet now is a good time. (Installing Apache)

Next up is PHP, this requires a new compilation instruction. From now on we will use the native MySQL driver for compilation. Which means changing:

–with-mysql=/usr/local/mysql
–with-pdo-mysql=/usr/local/mysql
–with-mysqli=/usr/local/mysql/bin/mysql_config

into:

–with-mysql=mysqlnd
–with-pdo-mysql=mysqlnd
–with-mysqli=mysqlnd

In all the compilation instructions found here and it all will compile perfectly.

For Postfix and Dovecot we require a bit of a workaround to get it working properly as the MySQL installation does not correctly sets the full library paths. You can see this when you execute the command:

otool -DX /usr/local/mysql/lib/libmysqlclient.dylib

You can correct it by executing the following command:

sudo install_name_tool -id /usr/local/mysql/lib/libmysqlclient.16.dylib /usr/local/mysql/lib/libmysqlclient.dylib

If you’ve done this you can compile Postfix and Dovecot using the existing instructions without any problem.

Dovecot updated to 2.0.8

A new version of Dovecot has been released, I’ve installed it on my test servers without a problem. Check the improvements and decide if you want to upgrade:

  • Services’ default vsz_limits weren’t being enforced correctly in earlier v2.0 releases. Now that they are enforced, you might notice that the default limits are too low and you need to increase them. This problem will show up in logs as “out of memory” errors. See default_vsz_limit and service { vsz_limit } settings.
  • LMTP: In earlier versions if mail was delivered to user+detail@domain address, LMTP server always attempted to deliver the mail to mailbox named “detail”. This was rather unintentional and shouldn’t have been the default. lmtp_save_to_detail_mailbox=yes setting now preserves this behavior (default is no).
  • Added systemd support (configure –with-systemdsystemunitdir). Based on patch by Christophe Fergeau.
  • Replaced broken mbox-snarf plugin with a new more generic snarf plugin.
  • dbox: Fixes to handling external mail attachments
  • verbose_proctitle=yes didn’t work for all processes in v2.0.7
  • imap, pop3: When service { client_count } was larger than 1, the log messages didn’t use the correct prefix. Last logged in user’s prefix was always used, regardless of what user’s session actually logged it. Now the proper log prefix is always used.
  • MySQL: Only the first specified host was ever used

« Previous PageNext Page »