On 02.07.24 17:15, John R. Levine via Postfix-users wrote:
[...]
In main.cf it has the debian default config, and I added this:
smtp_sasl_type = cyrus
smtpd_sasl_path = smtpd
cyrus_sasl_config_path = /usr/lib/sasl2
Try commenting this out.
Per the instructions in the postfix SASL page and the Cyrus SASL doc
page I put this both in /etc/sasl2/smtpd.conf and in
/usr/lib/sasl2/smtpd.conf since it's not clear which postfix prefers:
Have you tried /etc/postfix/sasl/smtpd.conf
as I wrote in my last e-mail?
https://marc.info/?l=postfix-users&m=171947907929528&w=2
This also contains oter instructions I have repeatedly followed to make
authentication on debian working with cyrus-sasl.
Just note that I used system-wide accounts, not sasldb2/saslpasswd2.
pwcheck_method: saslauthd
mech_list: PLAIN LOGIN
The default location for the saslauthd socket is /var/run/saslauthd
but postfix is chrooted so I've tried having the daemon listen there
or at /var/spool/postfix/var/run/saslauthd. The daemon works fine
either way, per the test above, but postfix doesn't talk to it.
What am I missing?
try:
# ls -ld /var/spool/postfix/var/run/saslauthd
drwxr-x--- 2 root sasl 4096 Apr 25 17:29 /var/spool/postfix/var/run/saslauthd
--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
42.7 percent of all statistics are made up on the spot.
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org