As many people know, I run a mail system for myself and a few other family members and friends. Up until this week it used a very robust backend being driven by Mac OSX and postfix, mailscanner, spamassassin and clamav. However, in my day job I've been gaining a lot of experience and respect for a bundled open source platform called Zimbra. So I thought I could kill two birds with a one nuke and drop Zimbra onto a new Linux-powered machine. In principle, this was (and still is) a good idea. It provides me, as an administrator, a number of benefits such as:
Of course, I'm not the only winner. Users of my system can now do all sorts of things they couldn't before. Such as:
It is this last feature though that is causing me all the grief. Over the last 3 days, since deploying the new server, a single feature has failed miserably. Sending mail requires users to authenticate themselves so the system knows they are allowed to send mail through the server. Otherwise, the server would be an open mail relay which are the bane of the Internet and good way to get yourself onto so many block lists the server would be rendered useless within a day or two at the most. I'm busting a valve trying to fix this, but in the meantime, at least webmail works completely!!
Warning - serious geek tech follows :)
Despite all my efforts to get this one little feature working, all I've managed to ddo is eliminate a bunch of things that aren't causing the problem. Finally, it's come down to a rather complex interaction between four components: postfix -> saslauthd -> tomcat(via soap) -> ldap. In that chain, it appears the failure is in the interaction between postfix and saslauthd but getting any meaningful information out of the standard logging has proven to be difficult at best and utterly useless the rest of the time. Seems I am going to need to break out some big guns and start doing stack traces and library traces to see where this is falling down. In any case, this is several orders of magnitude more complex than it should be for a bundled product from a commercial vendor being installed onto a supported platform.
Comments (0)
The Gray Matter
http://gray.net.au/article.php/tech-2007112201