Hello just installed Ubuntu 14, Dovecot, Postfix, and with Roundcube as the webmail. Dovecot seems to be running fine as does the other applications, but I cannot sign into roundcube no matter what fixes I have tried. I turned on the error log for IMAP and this is what I am getting from a login attempt:
[09-Oct-2015 07:49:07 -0500]: [BDB8] S: A0002 NO [UNAVAILABLE] Temporary authentication failure. [mail1.crownenterprises.com:2015-10-09 12:49:07]
Please help I am new to dovecot and postfix as most of what I have used before was sendmail.
Patrick
Can you login into Dovecot via telnet?
Yes if I telnet to localhost 143 it will login.
root@mail1:/home/mailserver# telnet localhost 143
Trying 127.0.0.1...
Connected to mail1.crownenterprises.com.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot (Ubuntu) ready.
That log shows that its connecting but it looks like you didn't try to login.
Your right sorry new to Dovecot I did connect but did not try to login I get the same error message as I fist listed when I try to login. I created a user and password, admin for postfix and an email/box, was I suppose to create a user for dovecot somehow I was under the impression that it added my user to dovecot.
Okay I found I had a config error in the /etc/dovecot/dovecot-sql.conf.ext I had misspelled "mailpassord" of all things in line:
connect = host=localhost dbname=mail user=mail password=mailpassword
Now that mailpassword says mailpassword, it sits for a bit longer then gives message waiting for auth response then give same error so getting closer.
Thanks
It depends on how you have Postfix and Dovecot setup. Your problem is with Dovecot not Roundcube so you may get more help on a Dovecot forum. The next step you should take is to look at your Dovecot logs to see why it can't authenticate users.