Страница 1 из 1

Авторизация Exim через Dovecot: ошибка 435

Добавлено: 2010-09-16 13:48:30
1A0F519B
Добрый день!

При авторизации происходит следующее:

Код: Выделить всё

16:38:48 23227 250-SIZE 52428800
16:38:48 23227 250-PIPELINING
16:38:48 23227 250-AUTH PLAIN LOGIN CRAM-MD5
16:38:48 23227 250 HELP
16:38:48 23227 Calling SSL_read(7f7ffc83d000, 7f7ffc872000, 4096)
16:38:48 23227 SMTP<< AUTH CRAM-MD5
16:38:48 23227 dovecot authentication
16:38:48 23227 received: MECH   PLAIN   plaintext
16:38:48 23227 received: MECH   LOGIN   plaintext
16:38:48 23227 received: MECH   DIGEST-MD5      dictionary      active  mutual-auth
16:38:48 23227 received: VERSION        1       0
16:38:48 23227 received: SPID   3122
16:38:48 23227 received: CUID   11
16:38:48 23227 received: DONE
16:38:48 23227 expanding: $auth1
16:38:48 23227    result:
16:38:48 23227 SMTP>> 435 Unable to authenticate at present
При использовании простой авторизации не лучше:

Код: Выделить всё

16:47:24 12383 250-SIZE 52428800
16:47:24 12383 250-PIPELINING
16:47:24 12383 250-AUTH PLAIN LOGIN CRAM-MD5
16:47:24 12383 250-STARTTLS
16:47:24 12383 250 HELP
16:47:24 12383 SMTP<< AUTH CRAM-MD5
16:47:24 12383 dovecot authentication
16:47:24 12383 received: MECH   PLAIN   plaintext
16:47:24 12383 received: MECH   LOGIN   plaintext
16:47:24 12383 received: MECH   DIGEST-MD5      dictionary      active  mutual-auth
16:47:24 12383 received: VERSION        1       0
16:47:24 12383 received: SPID   21094
16:47:24 12383 received: CUID   10
16:47:24 12383 received: DONE
16:47:24 12383 expanding: $auth1
16:47:24 12383    result:
16:47:24 12383 SMTP>> 435 Unable to authenticate at present
при этом:

Код: Выделить всё

begin authenticators

auth_plain:
driver = dovecot
public_name = PLAIN
server_socket = /var/run/dovecot/auth-client
server_set_id = $auth1

auth_login:
driver = dovecot
public_name = LOGIN
server_socket = /var/run/dovecot/auth-client
server_set_id = $auth1

auth_cram_md5:
driver = dovecot
public_name = CRAM-MD5
server_socket = /var/run/dovecot/auth-client
#server_set_id = $auth2
server_set_id = $auth1
и

Код: Выделить всё

auth default {
mechanisms = plain login digest-md5


  socket listen {
    master {
      # Master socket provides access to userdb information. It's typically
      # used to give Dovecot's local delivery agent access to userdb so it
      # can find mailbox locations.
      path = /var/run/dovecot/auth-master
      mode = 0600
      # Default user/group is the one who started dovecot-auth (root)
      user = mail
      group = mail
    }
    client {
      # The client socket is generally safe to export to everyone. Typical use
      # is to export it to your SMTP server so it can do SMTP AUTH lookups
      # using it.
      path = /var/run/dovecot/auth-client
      mode = 0660
      user = mail
      group = mail
    }
  }



passdb passwd-file {
  args = scheme=cram-md5 /etc/master.passwd
}
user = root
}
Подскажите, куда копать?

Re: Авторизация Exim через Dovecot: ошибка 435

Добавлено: 2010-09-16 16:29:37
hizel
дебага побольше и смотрите логи