Webmail Authentication Fails – cPanel

You know you’re using the right password, so why can’t you log into Webmail? One common issue users see on courier-IMAP systems when trying to log into Horde is:

Notice: (null)(): Retrying LOGIN authentication after AUTHENTICATE LOGIN failed (errflg=1) in Unknown on line 0

Notice: (null)(): Retrying LOGIN authentication after AUTHENTICATE LOGIN failed (errflg=1) in Unknown on line 0

Notice: (null)(): Can not authenticate to IMAP server: AUTHENTICATE LOGIN failed (errflg=2) in Unknown on line 0

To rule out a service failure, restart both cPanel and courier-imap:

/etc/init.d/courier-imap restart

service cpanel restart

The fix that works 98% of the time is to run these commands:

mv /etc/vmail /etc/vmail.bak

/scripts/updateuserdomains

If that doesn’t correct the error, in some cases running a courier update has corrected the issue:

/scripts/courierup –force

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *