Roundcube Community Forum

 

Cant connect to dovecot imap server, but logs cant help me

Started by blackrabbit, September 19, 2011, 07:21:56 AM

Previous topic - Next topic

blackrabbit

Hi i installed Froxlor as my Server Control Panel with Postfix and Dovecot.

Now i installed roundcube but i cant connect to dovecot, everytime it failes ...

here is my dovecot log ( the username and password are defently right .. )



Sep 19 11:13:44 euve10672 dovecot: auth-worker(default): pam([email protected],127.0.0.1): lookup service=dovecot
Sep 19 11:13:44 euve10672 dovecot: auth-worker(default): pam([email protected],127.0.0.1): #1/1 style=1 msg=Password:
Sep 19 11:13:44 euve10672 dovecot: auth(default): client in: AUTH^I1^IPLAIN^Iservice=imap^Isecured^Ilip=127.0.0.1^Irip=127.0.0.1^Ilport=143^Irport=36160^Iresp=dHVyYm9Ad2hpdGVyYWJiaXRob2xlLm9yZwB0dXJib0B3aGl0ZXJhYmJpdGhvbGUub3JnAGM0czVpMDIz
Sep 19 11:13:45 euve10672 dovecot: auth(default): new auth connection: pid=7770
Sep 19 11:13:46 euve10672 dovecot: auth-worker(default): pam([email protected],127.0.0.1): pam_authenticate() failed: Authentication failure (password mismatch?) (given password: mypasswort)
Sep 19 11:13:48 euve10672 dovecot: auth(default): client out: FAIL^I1^[email protected]
Sep 19 11:13:53 euve10672 dovecot: imap-login: Aborted login (auth failed, 1 attempts): user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured


Can anyone help me, i cant figure it out :-(

JohnDoh

do you have a log snippet from a working login? all I can tell you from the log above is that your username or password is wrong, its not a roundcube problem. its says:

auth-worker(default): pam([email protected],127.0.0.1): pam_authenticate() failed: Authentication failure (password mismatch?) (given password: mypasswort)
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

blackrabbit

Hi, thanks for your fast reply :-)

unfortunately i cant login successfull, only with telnet localhost 143 or telnet mydomain 143. There my log locks like:


Sep 20 07:53:49 euve10672 dovecot: auth(default): new auth connection: pid=13735


And


Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready.


So i think you are right.

What i cant understand is, that dovecot works but i cant login with my user created with Froxlor Syscp.

But i dont know why this users aren`t authorized to connect to dovecot.

My dovecot-sql.con is this:


driver = mysql
connect = host=127.0.0.1 dbname=froxlor user=froxlor password="mypasswort"
default_pass_scheme = CRYPT
password_query = SELECT username AS user, password_enc AS password, CONCAT(home$
user_query = SELECT CONCAT(homedir, maildir) AS home, CONCAT('maildir:', homedi$


Is it maybe cause of the default_pass_sheme ?