During the installation of Roundcube, I encountered this error while trying to log in:
Connecting to ssl://localhost:993...
IMAP connect: NOT OK(Authentication for name failed (LOGIN): "a001 NO Login failed.")
In the mail.log I get the following error messages:
Jul 17 10:11:21 Davids-MacBook imapd-ssl[19990]: Connection, ip=[::1]
Jul 17 10:11:21 Davids-MacBook authdaemond[82077]: received auth request, service=imap, authtype=login
Jul 17 10:11:21 Davids-MacBook authdaemond[82077]: authmysql: trying this module
Jul 17 10:11:21 Davids-MacBook authdaemond[82077]: authmysqllib: connected. Versions: header 50051, client 50051, server 50051
Jul 17 10:11:21 Davids-MacBook authdaemond[82077]: SQL query: SELECT username, password, "", '102', '27', '/usr/local/virtual', maildir, "", name, "" FROM mailbox WHERE username = 'myUserName'
Jul 17 10:11:21 Davids-MacBook authdaemond[82077]: zero rows returned
Jul 17 10:11:21 Davids-MacBook imapd-ssl[19990]: LOGIN FAILED, user=myUserName, ip=[::1]
Jul 17 10:11:21 Davids-MacBook authdaemond[82077]: no password available to compare
Jul 17 10:11:21 Davids-MacBook authdaemond[82077]: authmysql: REJECT - try next module
Jul 17 10:11:21 Davids-MacBook authdaemond[82077]: FAIL, all modules rejected
Jul 17 10:11:26 Davids-MacBook imapd-ssl[19990]: Disconnected, ip=[::1], time=5, starttls=1
It looks like Roundcube is trying to access a database called maildir in /usr/local/virtual. Nothing exists in this location yet, even though I have followed the tutorial on this site from the start. When I installed Roundcube, I created a databased called roundcubemail and added in the tables from the included template. I thought that the users would be in this db, because my user for Postfix Admin is in the postfix db, not in the /usr/local/virtual directory. I think the problem is that I don't know how to create a user and if I did, I don't know where to create it.
#
During the installation of Roundcube, I encountered this error while trying to log in:
In the mail.log I get the following error messages:
It looks like Roundcube is trying to access a database called maildir in /usr/local/virtual. Nothing exists in this location yet, even though I have followed the tutorial on this site from the start. When I installed Roundcube, I created a databased called roundcubemail and added in the tables from the included template. I thought that the users would be in this db, because my user for Postfix Admin is in the postfix db, not in the /usr/local/virtual directory. I think the problem is that I don't know how to create a user and if I did, I don't know where to create it.
Can anyone see what I'm missing?
Cheers,
David
#
David, you should use username@example.com instead of just username.