Auth в Exim
Добавлено: 2007-12-15 16:09:23
Настроил Exim как описано здесь http://www.lissyara.su/?id=1194
Не могу понять почему при авторизации возникает ошибка 503 AUTH command used when not advertised
Не могу понять почему при авторизации возникает ошибка 503 AUTH command used when not advertised
Код: Выделить всё
# telnet localhost 25
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.mydomen.ru.
Escape character is '^]'.
220 mydomen.ru, ESMTP EXIM 4.68
ehlo localhost
250-mydomen.ru Hello localhost.mydomen.ru [127.0.0.1]
250-SIZE 5242880
250-PIPELINING
250-AUTH PLAIN LOGIN
250 HELP
Код: Выделить всё
# exim -bP authenticators
PLAIN authenticator:
client_condition =
driver = plaintext
public_name = PLAIN
server_advertise_condition =
server_condition = ${if saslauthd{{$1}{$2}}{1}{0}}
server_debug_print =
server_mail_auth_condition =
server_set_id = $2
no_client_ignore_invalid_base64
client_send =
server_prompts = :
LOGIN authenticator:
client_condition =
driver = plaintext
public_name = LOGIN
server_advertise_condition =
server_condition = ${if saslauthd{{$1}{$2}}{1}{0}}
server_debug_print =
server_mail_auth_condition =
server_set_id =
no_client_ignore_invalid_base64
client_send =
server_prompts = Username:: : Password::
Код: Выделить всё
# telnet localhost 25
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.mydomen.ru.
Escape character is '^]'.
220 mydomen.ru, ESMTP EXIM 4.68
AUTH PLAIN AG5hbWUAcGFzc3dvcmQ=
503 AUTH command used when not advertised