* N KN <karma.sometimes.hu...@gmail.com>: > Thanks for the answer. I'm however trying to use the PAM way, because using > the auxprop method involves storing user passwords in plain text, which I'd > like to avoid. I can't seem to find a way to tell the smtpd.conf file to
The best [tm] way is to offer plaintext methods only over an encrypted transport layer and store passwords crypted. This is not possible with auxprops other than saslauthd. > encrypt passwords, and as per the Postfix documentation it seems not > possible, so I'm stuck. The best way would be to tell the PAM module that > the username table is in the user@domain form, I'm not sure this is > possible though. Take a look at the command line option "-r" for saslauthd: https://blog.sys4.de/cyrus-sasl-saslauthd-man-page-en.html Use 'testsaslauthd' to test authentication: https://linux.die.net/man/8/testsaslauthd Alternative: Use dovecot as password verification service and let it do the SQL queries. p@rick -- [*] sys4 AG https://sys4.de, +49 (89) 30 90 46 64 Schleißheimer Straße 26/MG,80333 München Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263 Vorstand: Patrick Ben Koetter, Marc Schiffbauer, Wolfgang Stief Aufsichtsratsvorsitzender: Florian Kirstein