Sziasztok!
Tudom, masnak ez ujjgyakorlat, de en elakadtam par napja es nem jutok elore - halas lennek a segitsegert. Amit el lehetett olvasni, azt elolvastam a neten, de a hibat nem talaltam meg.
Ubuntu 18.04.2 LTS friss, postfix mail_version = 3.3.0, saslauthd 2.1.27
Postfix mukodik, sasl mukodik, de a ketto egyutt nem ugy, ahogy szeretnem.
587-es porton openssl (tls) bejelentkezessel (tls resz rendben), AUTH PLAIN -re a valasz:
535 5.7.8 Error: authentication failed: bad protocol / cancel
Idevago log postfixbol:
warning: SASL authentication failure: Can only find author (no password)
[...] SASL PLAIN authentication failed: bad protocol / cancel
Tuzfal es egyeb problemak nincsenek (nem tudok roluk).
Postfix config idevago resze:
postconf -n | grep sasl
smtpd_recipient_restrictions = permit_sasl_authenticated permit_mynetworks reject_unauth_destination
smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_path = smtpd
smtpd_sasl_security_options = noanonymous
Sasl resz:
testsaslauthd -u testuser -p testuser
0: OK "Success."
A bejelentkezest az "openssl s_client"-el tesztelem, a hash gyartasa:
echo "\0testuser\0testuser" | base64
Tud valaki segiteni? Elore is koszonom!