[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: Postfix, SMTP Auth and PAM



> Does anyone have the postfix-tls package with SMTP AUTH from
> woody working together with PAM?

Yes.

> I have gotten it working with sasldb, but can't get it to
> work with PAM. Do you need to set the smtpd_sasl_local_domain?

No.  At least, I didn't.

Make sure that you have an 'n' in the smtpd chroot field in
/etc/postfix/master.cf.  A '-' is not sufficient to make sure it's not
chrooted.  Also make sure you have a file /etc/pam.d/smtpd with the
following contents:

#%PAM-1.0

auth     required       pam_unix_auth.so
account  required       pam_unix_acct.so
password required       pam_unix_passwd.so
session  required       pam_unix_session.so

-- 
C. R. Oldham
Director of Technology
NCA CASI



Reply to: