Author Topic: Cant connect to dovecot imap server, but logs cant help me  (Read 4315 times)

Offline blackrabbit

  • Newbie
  • *
  • Posts: 2
Cant connect to dovecot imap server, but logs cant help me
« on: September 19, 2011, 07:21:56 AM »
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 .. )


Code: [Select]

Sep 19 11:13:44 euve10672 dovecot: auth-worker(default): pam(myusername@mydomain.org,127.0.0.1): lookup service=dovecot
Sep 19 11:13:44 euve10672 dovecot: auth-worker(default): pam(myusername@mydomain.org,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(myusername@mydomain.org,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^Iuser=myusername@mydomain.org
Sep 19 11:13:53 euve10672 dovecot: imap-login: Aborted login (auth failed, 1 attempts): user=<myusername@mydomain.org>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured


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

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,856
Cant connect to dovecot imap server, but logs cant help me
« Reply #1 on: September 19, 2011, 02:14:32 PM »
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:

Code: [Select]
auth-worker(default): pam(myusername@mydomain.org,127.0.0.1): pam_authenticate() failed: Authentication failure (password mismatch?) (given password: mypasswort)
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and moreā€¦

Offline blackrabbit

  • Newbie
  • *
  • Posts: 2
Cant connect to dovecot imap server, but logs cant help me
« Reply #2 on: September 20, 2011, 03:59:20 AM »
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:

Code: [Select]

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


And

Code: [Select]

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:

Code: [Select]

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 ?