Dovecot auth process failed too early
by Kevin Dangoor
For some reason (I don’t know what the reason is yet), my server rebooted twice a couple hours ago. Generally speaking, reboots aren’t that big a deal… journaling databases, journaling filesystems. Logs get processed and bam, everything is up.
Tonight, everything except for dovecot, the imap/pop servier, started up. The wonderfully descriptive error message that maillog provided me was that the “auth process died too early”. I’m not sure why having the auth process die later is a good thing, and I really wish there was some more detail in the log, but there wasn’t.
Googling for an error message is often a useful thing. I found an email message where running ldd (ldd /usr/libexec/dovecot/dovecot-auth) was recommended to see if something was missing. Sure enough, the FC3 dovecot was compiled expecting mysql support, and I have installed a newer mysql than what dovecot was expecting. I’m not even using mysql, but the fact that the auth program was expecting libmysqlclient.so.10 was enough to make dovecot die a cryptic death.
A symlink in /usr/lib later and dovecot is back up and running. Finally, I was able to pick up all of the latest copies of the Sober.P worm. You can never have too many, right?
I hate mail servers. I’ve been using everyone.net for my email needs on a few domains for about 4 years and they’re awesome. When you get sick of messing with it you might want to check them out.
In general, it wasn’t that hard to get mail running on my server, thanks to webmin. I would have given up long ago if I had to configure everything manually myself. But, webmin made the sendmail and SpamAssassin setup pretty painless, and dovecot was actually quite easy to get running initially. If I hadn’t gone and upgraded MySQL beyond what Fedora includes, I would’ve been fine.
Same situation here, FC3, upgraded to mysql 4.x, trying to switch to Dovecot from Cyrus and getting the same cryptic error message. Thanks for the solution, it did the trick.