Michael Kress wrote:
- saslpasswd2 -c -a mail -u mail testuser
That's a typo - the user is testomat. But, with the same result. :-(
- testsaslauthd -u testomat -p <mypassword> -s smtp -r mail
shell output of testsaslauthd: 0: NO "authentication failed"
You are mixing things. saslauthd and sasldb are exclusive: either use one or the other (at least on CentOS).
saslauthd -v
prints out the available authentication mechanisms (better to say backends).
On CentOS sasldb can only be used as a plugin by auxprop mechanism. You will have to decided for one way to store your credentials.
I using the saslauthd keep in mind that you can't use shared secret mechanisms.
Alexander