SASL2
☰ Table of Content
Command line and testing.
User
Add
| |
Will prompt for password.
Del
| |
List
| |
Testing
SASL Daemon
| |
Only bring this up when needed. Postfix does not need it.
Test
| |
testsaslauthd is different than saslpasswd in the way that it does not email address as a whole. -u only take id and -r(realm) take domain. If you put the whole email address as <id>@<domain> in -u, the test will fail.
Smtp Login Name
The smtp login name is the whole email address, not just the id.
Linux, Docker and SASL
Though most linux distributions have sasl packages but the sasldb2 may not be compatible with each other due to version change. This may happen when running postfix in container with different linux distribution than the host. In such case, the commands will have to be performed within the container.
When deploying across servers, test with saslpasswd2.
John Siu
Update: 2022-08-11