January 2011

Postfix updated to 2.8.0

It’s been a while but Postfix has been updated again, this time with a lot of new functionality. New is the postscreen deamon which we are not going to use yet but it might replace the functionality of SQLgrey in the future. I’ve tested this version on my test machines and my production machine will soon follow. You can read more on the update here.

  • The postscreen daemon (a zombie blocker in front of Postfix) is now included with the stable release. postscreen now supports TLS and can log the rejected sender, recipient and helo information. See the POSTSCREEN_README file for recommended usage scenarios.
  • Support for DNS whitelisting (permit_rhswl_client), and for pattern matching to filter the responses from DNS white/blacklist servers (e.g., reject_rhsbl_client zen.spamhaus.org=127.0.0.[1..10]).
  • Improved message tracking across SMTP-based content filters; the after-filter SMTP server can log the before-filter queue ID (the XCLIENT protocol was extended).
  • Read-only support for sqlite databases. See sqlite_table(5) and SQLITE_README.
  • Support for ‘footers’ that are appended to SMTP server “reject” responses. See “smtpd_reject_footer” in the postconf(5) manpage.

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.

PHP released 5.3.5

The PHP development team already released 5.3.5, I missed it because I didn’t expect them to update so soon. I haven’t found any problem yet with this version but I must admit that I haven’t tried out all the possible variations yet, but will continue to try them all out.

There is only one error solved in this release s you can read in the ChangeLog.

For instructions on how to upgrade PHP please read: Upgrading PHP.

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:




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.

Mac OS X update 10.6.6

I’ve just installed the updates on all my test machines running Snow Leopard 10.6.5 before running it on my desktop where I’m still testing the MySQL 5.5 installation (using virtualized Mac’s, which is a big time saver). I’m very curious to what the app store might bring and I think you are as well. Therefore I’m happy to inform you that the Mac OS X 10.6.6. update does not introduce any problem for our setup. Even the Security content of the update won’t hurt us. So start running your “Software Update”.

Next Page »