You might want to make sure that MySQL is started before authdaemond.
Edit /usr/local/etc/rc.d/courier-authdaemond.sh and add this line:
REQUIRE: LOGIN mysql-server
To understand REQUIRE a little better, cd /usr/local/etc/rc.d and
grep for REQUIRE in the startup files. It's purpose should
I have been having a strange issue with authdaemond ever since it split
into a seperate auth port. I am running FreeBSD 5.4, net-qmail,
vpopmail, Courier-IMAP, and using a mysql backend to vpopmail. The only
authentication package I use or need is the vchkpw. Most or all of
these are pretty