telnet localhost 25
220 server.mydomain.net ESMTP Postfix (Debian/GNU)
AUTH LOGIN
334 VXNlcm5hbWU6
c29tZXVzZXI=
(someuser)
334 UGFzc3dvcmQ6
c29tZXBhc3M=
(somepass)
454 4.7.0 Temporary authentication failure: generic failure
On Thu, Jun 23, 2022 at 03:09:36AM -0300, Viktor Dukhovni wrote:
As for why authentication is failing, is "saslauthd" actually installed
and running with a sensible backend (e.g. "-a pam") specified?.
On 23.06.22 09:34, Luc GMail wrote:
Yes.
# ps aux | grep saslauthd
root 32304 0.0 0.2 18364 2512 ? Ss 07:37 0:00
/usr/sbin/saslauthd -a pam -c -m /var/run/saslauthd -n 2
root 32305 0.0 0.0 18364 916 ? S 07:37 0:00
/usr/sbin/saslauthd -a pam -c -m /var/run/saslauthd -n 2
on debian, saslauths is supposed to run with options
"-c -m /var/spool/postfix/var/run/saslauthd"
OR by symlinking /run/saslauthd to /var/spool/postfix/var/run/saslauthd
https://wiki.debian.org/PostfixAndSASL
it's better than disabling chroots wherever possible.
--
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.
Microsoft dick is soft to do no harm