SteveOH

Ubuntu Mail Server – PostFix, DoveCot, RoundCube Authentication Error

by Steve Hernandez on May.11, 2009, under Technology

I’ve been dealing with this error for the past 2 weeks, trying to authenticate to my IMAP Mail Server (dovecot) over SSL (SASL). I continuously received errors for IMAP authentication. AtMailOpen did not work (and I cannot get it to authenticate correctly). So I tried RoundCube, which looks like a good mesh of functionality and aesthetics.

RoundCube installed great – easy and straight forward. Here is the error I received:

IMAP Error: Authentication for steveoh@thelambdas.com failed (LOGIN): “a001 NO Authentication failed.”

Warning: Cannot modify header information – headers already sent in /var/www/webmail/program/include/rcmail.php on line 951

There is very little to no solutions out there.  So I had to play with the configuration file and each argument, one by one (file: main.inc.php in the config directory).

Leave the username_domain field blank.  My server, apparently, doesn’t require the full email address, only the user name, for authentication.

From:
$rcmail_config['username_domain'] = ‘example.com’;

To:
$rcmail_config['username_domain'] = ”;

This solved the problem, and I’m able to log in using ONLY the user name (ie. username, not username@example.com).

Good luck.

:, , , , , , , ,

1 Comment for this entry

  • Anonymous

    I love you. I had been playing with RoundCube for a while before I stumbled upon this. Edited out the domain and it works. Thanks!

Leave a Reply

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...