Suspecting that I do not have the module authpwd, I remove courier-imap, compiled and installed courier-auth with authpwd, install back courier-imap using apt-get.
Code:
/etc/courier/authdaemonrc
# The authentication modules that are linked into authdaemond. The
# default list is installed. You may selectively disable modules simply
# by removing them from the following list. The available modules you
# can use are: authcustom authcram authuserdb authldap authpgsql authmysql authpam
authmodulelist="authpwd"
Although they still did not include authpwd in the available modules, I still try my luck and specify authpwd. But still no go
Code:
debian:/home/revenant# courierauthtest revenant
Trying authdaemon...
Authenticated: module authdaemon
Home directory: /home/revenant
UID/GID: 1000/1000
AUTHADDR=revenant
AUTHFULLNAME=Collin Yeo
OPTIONS=<none>
Code:
debian:/home/revenant# courierauthtest revenant [password]
Trying authdaemon...
Temporary authentication failure from module authdaemon
Authentication FAILED!
debian:/home/revenant#
What does the above 2 means?