Courier IMAP Login Failed Issue – Fixed

Recently while configuring a courier-imap I came across a frustrating error where I couldnot login using the correct username and password. I was using authpam module and the server logs just stated Login Failed, and then Logout.

Enabling debug level 2 didn’t help much, but then figured out that I had set DEFDOMAIN in the imapd config file which failed the pam authentication.

Also I found out that each change to authdaemonrc takes effect only after I restart courier-authdaemon and not courier-imap or courier-imap-ssl.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s