Breaking Stuff

Last week I also managed to break smtp auth. on geeklair.net subtly.

I noticed in a logfile that the sasl2 I had built was complaining because it couldn't find the db4 libraries I had built it against. I had removed those (4.1) libraries and installed newer ones (4.2). I decided that since I'm not using the saslauthdb stuff, and so I don't care if they break, I would just use install_name_tool to point the lib to the newer db4 libraries. It seemed to work, I no longer go the 'missing library' message in my logs and I could still send mail using SMTP auth (and TLS). What I didn't know was that somehow this ended up breaking things for people using Mozilla Thunderbird.

After I finally figured out that this was why there were problems, I built and installed the latest sasl2.

(./configure --with-plugindir=/usr/local/lib/sasl2 \
--with-bdb-incdir=/usr/local/include/db4 \
--with-openssl=/usr/local --disable-gssapi \
--disable-krb4)

I really should make a portfile for this and submit it for inclusion in DarwinPorts.

Powered by Movable Type 4.34-en
Creative Commons License
This blog is licensed under a Creative Commons License.