I want to enable LOGIN but its showing the following :
(
PLAIN is working fine.)
------------------------------------------------------------------------
Code:
[root@16679 saslauthd]# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 16679.training.com ESMTP Postfix
ehlo localhost
250-16679.training.com
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-AUTH PLAIN LOGIN
250-AUTH=PLAIN LOGIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
auth login
334 VXNlcm5hbWU6
AHJvb3Q=
334 UGFzc3dvcmQ6
AGphajEyM3ZpYw==
535 5.7.8 Error: authentication failed: authentication failure
421 4.4.2 16679.training.com Error: timeout exceeded
Connection closed by foreign host.
[root@16679 saslauthd]#
------------------------------------------------------------------------
smtpd.conf:
Code:
[root@16679 saslauthd]# cat /usr/local/lib/sasl2/smtpd.conf
pwcheck_method: saslauthd
mech_list: plain login shadow
saslauthd_path: /var/state/saslauthd/mux
------------------------------------------------------------------------
and /etc/postfxi/main.cf
Code:
[root@16679 saslauthd]#
smtpd_sasl_auth_enable = yes
smtpd_recipient_restrictions =
permit_mynetworks
permit_sasl_authenticated
reject_unauth_destination
smtpd_sasl_authenticated_header = yes
broken_sasl_auth_clients = yes
smtpd_sasl_path = smtpd
smtp_sasl_path = /var/state/saslauthd/mux
------------------------------------------------------------------------
Any help is appreciated
