On Thu, Nov 07, 2002 at 05:58:53PM +0100, Davi Leal wrote: > If I remove the /etc/sasldb file I get the below line in the > /var/log/auth.log file, though I have pw_check pam in the > /usr/lib/sasl/smtpd.conf file. > Nov 7 18:18:43 excalibur postfix/smtpd[391]: unable to open Berkeley > db /etc/sasldb: No such file or directory > > If I copy or link the /usr/lib/sasl/smtpd.conf file to > /etc/postfix/sasl/smtpd.conf file I get: > Nov 7 18:18:48 excalibur PAM_unix[391]: authentication failure; > (uid=101) -> hello for smtp service
This actually broke my postfix installation in the past.. it took me a while to track down that the location of the sasl configuration had changed to /etc/postfix/sasl. > It fails too, but it is used the mechanism specified, that is to say, PAM. > Anyway, any idea what I have to do to get Postfix + SASL + PAM or shadow > working?. I do not want to use sasldb due to I don't know all the client > passwords. have you configured PAM properly? also, if you are using the passwd and shadow files you should have a copy lurking about where postfix can reach them.. (remember postfix runs chrooted) Sami -- -< Sami Haahtinen >- -[ Notify immediately if you do not receive this message ]- -< 2209 3C53 D0FB 041C F7B1 F908 A9B6 F730 B83D 761C >-