Hi Luca,
I tried it. The system didn't start the saslauthd telling it's a not supported method. And - if I check - the /usr/lib/sasl/smtpd.conf file - I had to
There's some breakage with the sasl package in mandrake 9.1 (actually the files are in the right place, it's in previous distributions it was in the wrong place). The file should be under /etc/sasl/smtpd.conf (don't know if you should copy it to the chroot jail, probably yes)
create it. Didn't exist before. But it does not make a difference.
Using Mandrake 9.1 - it seems not beeing there. The method used seems to be defined by /etc/sysconfig/saslauthd where you can set the:
SASL_AUTHMECH=pam
var - with anything of the output from saslauthd -v which gives me:
that's the parameter for saslauthd *not* the method the sasl library will use for plaintext passwords, that has to be in the configuration file for the sasl library (for postfix, with the sasl package in 9.1 it should be /etc/sasl/smtpd.conf, a single line with "pwcheck_method: pwcheck").
One more thing I forgot: the pwcheck in the package is from sasl v2. It is compatible with sasl v1 but the fifo is in a different directory: it's in /var/lib/sasl2/pwckeck while the v1 library expects it in /var/lib/sasl/pwcheck. Make a symbolic link and it should work (unless postfix can't access it because it's outside the chroot jail, in that case you could use mount --bind).
Bye
--
Que les importa a las viudas, a los hu�rfanos, a los desvalidos
si las masacres se hacen en nombre del totalitarismo o en el
sagrado nombre de la libertad y la democracia.
Mahatma Gandhi (1869 - 1948)
pgp00000.pgp
Description: PGP signature
