I do a migration from ciphermail 5.5 to 6.2. We send outgoing mail via external relay host with SASL authentication.
In 5.5. the credentials where configured in Web UI under Admin / MTA / SASL. In 6.2 there I cannot find this setting. The documentation says that credentials must be in
/etc/postfix/maps.d/hash-smtp-sasl-password_maps.map
Format:
mailserver.domain.org:587 user@domain:plaintextpassword
I refreshed the corresponding db with:
postmap /etc/postfix/maps.d/hash-smtp-sasl-password_maps.map
No error given and map.db file was modified.
Unforunately postfix still sends to relay host without authentication and mail is rejected. The log says:
postfix/smtp 4fVYkR00Ktz2Ty1g: to=foo@bar, relay=xxxxx[x.x.x.x]:587, delay=20, delays=0.06/0.05/10/10, dsn=5.0.0, status=bounced (host xxxxx[x.x.x.x] said: 550 relay not permitted. authentication required (in reply to RCPT TO command))
postfix/smtp Trusted TLS connection established to xxxxx[x.x.x.x]:587: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256
postfix/smtp warning: run-time library vs. compile-time header version mismatch: OpenSSL 3.5.0 may not be compatible with OpenSSL 3.2.0
postfix/smtp _sasl_plugin_load failed on sasl_canonuser_init
postfix/smtp ldapdb
Do I have to hash the password?