Не работает аутентификация почтового сервера.

tux

New member
Сообщения
9
#1
Настроил почтовый сервер по руководству. На клиентском ПК пробую подключаться:

Код:
user@astra-srv:~$ printf '\0user0\012345678' |  openssl base64
AHVzZXIwCjM0NTY3OA==
user@astra-srv:~$ telnet 192.168.56.2 25
Trying 192.168.56.2...
Connected to 192.168.56.2.
Escape character is '^]'.
220 astra-srv ESMTP Exim 4.82 Tue, 07 Aug 2018 15:38:04 +0400
ehlo 192.168.56.2
250-astra-srv Hello astra-srv.iacur.local [192.168.56.2]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
250-AUTH PLAIN
250 HELP
auth plain AHVzZXIwCjM0NTY3OA==
435 Unable to authenticate at present
Вот логи:

Код:
15:38:04  5275 host in rfc1413_hosts? yes (matched "*")
15:38:04  5275 doing ident callback
15:38:04  5275 ident connection to 192.168.56.2 failed: Connection refused
15:38:04  5275 sender_fullhost = [192.168.56.2]
15:38:04  5275 sender_rcvhost = [192.168.56.2]
15:38:04  5275 Process 5275 is handling incoming connection from [192.168.56.2]
15:38:04  5275 parsec_fstatmac() on accept socket OK, lev: 0 cat: 0
15:38:04  5275 parsec_setmac() on current process OK
15:38:04  5275 host in host_lookup? yes (matched "*")
15:38:04  5275 looking up host name for 192.168.56.2
15:38:04  5275 DNS lookup of 2.56.168.192.in-addr.arpa (PTR) succeeded
15:38:04  5275 Reverse DNS security status: unverified
15:38:04  5275 IP address lookup yielded astra-srv.iacur.local
15:38:04  5275 gethostbyname2(af=inet6) returned 4 (NO_DATA)
15:38:04  5275 gethostbyname2 looked up these IP addresses:
15:38:04  5275   name=astra-srv.iacur.local address=192.168.56.2
15:38:04  5275 checking addresses for astra-srv.iacur.local
15:38:04  5275   192.168.56.2 OK
15:38:04  5275 sender_fullhost = astra-srv.iacur.local [192.168.56.2]
15:38:04  5275 sender_rcvhost = astra-srv.iacur.local ([192.168.56.2])
15:38:04  5275 set_process_info:  5275 handling incoming connection from astra-srv.iacur.local [192.168.56.2]
15:38:04  5275 host in host_reject_connection? no (option unset)
15:38:04  5275 host in sender_unqualified_hosts? no (option unset)
15:38:04  5275 host in recipient_unqualified_hosts? no (option unset)
15:38:04  5275 host in helo_verify_hosts? no (option unset)
15:38:04  5275 host in helo_try_verify_hosts? no (option unset)
15:38:04  5275 host in helo_accept_junk_hosts? no (option unset)
15:38:04  5275 expanding: $smtp_active_hostname ESMTP Exim $version_number $tod_full
15:38:04  5275    result: astra-srv ESMTP Exim 4.82 Tue, 07 Aug 2018 15:38:04 +0400
15:38:04  5275 SMTP>> 220 astra-srv ESMTP Exim 4.82 Tue, 07 Aug 2018 15:38:04 +0400
15:38:04  5275 Process 5275 is ready for new message
15:38:04  5275 smtp_setup_msg entered
15:38:12  5275 SMTP<< ehlo 192.168.56.2
15:38:12  5275 sender_fullhost = astra-srv.iacur.local (192.168.56.2) [192.168.56.2]
15:38:12  5275 sender_rcvhost = astra-srv.iacur.local ([192.168.56.2] helo=192.168.56.2)
15:38:12  5275 set_process_info:  5275 handling incoming connection from astra-srv.iacur.local (192.168.56.2) [192.168.56.2]
15:38:12  5275 host in pipelining_advertise_hosts? yes (matched "*")
15:38:12  5275 host in auth_advertise_hosts? yes (matched "*")
15:38:12  5275 host in tls_advertise_hosts? no (option unset)
15:38:12  5275 SMTP>> 250-astra-srv Hello astra-srv.iacur.local [192.168.56.2]
15:38:12  5275 250-SIZE 52428800
15:38:12  5275 250-8BITMIME
15:38:12  5275 250-PIPELINING
15:38:12  5275 250-AUTH PLAIN
15:38:12  5275 250 HELP
15:38:22  5275 SMTP<< auth plain AHVzZXIwCjM0NTY3OA==
15:38:22  5275 dovecot authentication
15:38:22  5275 expanding: $auth1
15:38:22  5275    result:
15:38:22  5275 SMTP>> 435 Unable to authenticate at present
15:38:22  5275 LOG: MAIN REJECT
15:38:22  5275   dovecot_plain authenticator failed for astra-srv.iacur.local (192.168.56.2) [192.168.56.2]: 435 Unable to authenticate at present: authentication socket connection error
Код:
2018-08-07 14:52:49 exim 4.82 daemon started: pid=4799, no queue runs, listening for SMTP on [192.168.56.2]:25
2018-08-07 14:57:00 dovecot_plain authenticator failed for astra-client.iacur.local (iacur.local) [192.168.56.11]: 435 Unable to authenticate at present: authentication socket connection error
2018-08-07 14:57:12 dovecot_plain authenticator failed for astra-client.iacur.local (iacur.local) [192.168.56.11]: 435 Unable to authenticate at present: authentication socket connection error
2018-08-07 14:57:14 SMTP call from astra-client.iacur.local (iacur.local) [192.168.56.11] dropped: too many unrecognized commands (last was "")
2018-08-07 14:58:39 dovecot_plain authenticator failed for astra-client.iacur.local (iacur.local) [192.168.56.11]: 435 Unable to authenticate at present: authentication socket connection error
2018-08-07 14:58:59 dovecot_plain authenticator failed for astra-client.iacur.local (iacur.local) [192.168.56.11]: 435 Unable to authenticate at present: authentication socket connection error
2018-08-07 14:59:06 dovecot_plain authenticator failed for astra-client.iacur.local (iacur.local) [192.168.56.11]: 435 Unable to authenticate at present: authentication socket connection error
2018-08-07 14:59:07 SMTP call from astra-client.iacur.local (iacur.local) [192.168.56.11] dropped: too many unrecognized commands (last was "")
2018-08-07 14:59:46 dovecot_plain authenticator failed for astra-client.iacur.local (iacur.local) [192.168.56.11]: 435 Unable to authenticate at present: authentication socket connection error
2018-08-07 14:59:53 SMTP call from astra-client.iacur.local (iacur.local) [192.168.56.11] dropped: too many unrecognized commands (last was "")
2018-08-07 15:00:42 dovecot_plain authenticator failed for astra-client.iacur.local (iacur.local) [192.168.56.11]: 435 Unable to authenticate at present: authentication socket connection error
2018-08-07 15:02:01 1fmzkX-0001Gy-Hl <= logcheck@iacur.local U=logcheck P=local S=177965
2018-08-07 15:02:01 1fmzkX-0001Gy-Hl Berkeley DB error: fop_read_meta: /var/spool/exim4/db/retry: unexpected file type or format
2018-08-07 15:02:01 1fmzkX-0001Gy-Hl Berkeley DB error: fop_read_meta: /var/spool/exim4/db/retry: unexpected file type or format
2018-08-07 15:02:01 1fmzkX-0001Gy-Hl Berkeley DB error: fop_read_meta: /var/spool/exim4/db/retry: unexpected file type or format
2018-08-07 15:02:01 1fmzkX-0001Gy-Hl Berkeley DB error: fop_read_meta: /var/spool/exim4/db/retry: unexpected file type or format
2018-08-07 15:02:01 1fmzkX-0001Gy-Hl == user@iacur.local <logcheck@iacur.local> R=local_user T=maildir_home defer (2): No such file or directory: failed to chdir to /var/mail/user
2018-08-07 15:02:01 1fmzkX-0001Gy-Hl failed to open DB file /var/spool/exim4/db/retry: Permission denied (euid=103 egid=110)
2018-08-07 15:02:29 SMTP call from astra-client.iacur.local (iacur.local) [192.168.56.11] dropped: too many unrecognized commands (last was "")
2018-08-07 15:15:36 dovecot_plain authenticator failed for astra-client.iacur.local (user0.iacur.local) [192.168.56.11]: 435 Unable to authenticate at present: authentication socket connection error
2018-08-07 15:20:36 SMTP command timeout on connection from astra-client.iacur.local (user0.iacur.local) [192.168.56.11]
2018-08-07 15:27:51 SMTP command timeout on connection from astra-client.iacur.local (192.168.56.2) [192.168.56.11]
2018-08-07 15:28:45 dovecot_plain authenticator failed for astra-srv.iacur.local (192.168.56.2) [192.168.56.2]: 435 Unable to authenticate at present: authentication socket connection error
2018-08-07 15:29:42 SMTP call from astra-srv.iacur.local (192.168.56.2) [192.168.56.2] dropped: too many unrecognized commands (last was "")
2018-08-07 15:38:22 dovecot_plain authenticator failed for astra-srv.iacur.local (192.168.56.2) [192.168.56.2]: 435 Unable to authenticate at present: authentication socket connection error
 

tux

New member
Сообщения
9
#2
Извиняюсь. Надо было опубликовать в разделе по Special Edition