I managed to have an authentication but it's really weird. I'm on Debian
Lenny.
In /etc/default/saslauthd on both mta1 and mta2, I have :
START=yes
DESC="SASL Authentication Daemon"
NAME="saslauthd"
MECHANISMS="shadow"
MECH_OPTIONS=""
THREADS=5
OPTIONS="-c -m /var/spool/postfix/var/run/saslauthd"
mta1:/etc/postfix# more /etc/postfix/sasl/smtpd.conf
pwcheck_method: saslauthd
The authentication I now have, only works if I set a sasldb which is by
default in /etc/sasldb2 but because of the chroot, I need to copy it
(maybe a link would be enough, I haven't tested yet) in
/var/spool/postfix/etc
I don't understand why I need this sasldb while I configured for shadow...