With the web side of my mail and web migrated to a Xen VPS, I spent this weekend moving my mail services across.

SASL gave me grief, as it usually does.  I’m not sure whether it was the plain or md5 SASL extension that solved my problem in the end (I’m using MySQL as the backend via auxprop), but it finally started working after installing both of them.  Before that, I was getting a wonderful “warning: xsasl_cyrus_server_get_mechanism_list: no applicable SASL mechanisms” from Postfix, which then promptly declared that it was having nothing to do with me and went off in a huff.

With the SASL issue solved, everything else was a breeze – I just imported my old configuration for Postfix, amending it where things had changed (variable name wise).  I had to use SJ Mudd’s RPM package, as the default CentOS packages don’t know what MySQL is as a dictionary type, but beyond having to compile my own package, it was painless.  Courier compiled nicely into RPMs, and is happily chatting to the data source that ties together my valid accounts for SMTP and IMAP.  TLS is all integrated nicely, webmail is running, DNS is changed.

Bet something breaks!

Server Migration part Deux
Tagged on: