postfix w/pam

Erik Norgaard norgaard at locolomo.org
Fri Dec 17 13:14:39 PST 2004


Curtis Vaughan wrote:
> Can anyone tell me whether I have to install/build postfix w/pam support 
> (if I want it to use pam). Or can I just do a make install of postfix, 
> as well as of pam_ldap and nss_ldap, edit the appropriate files in 
> /etc/pam.d/ and it should work?
> 
> I have installed map_ldap and nss_ldap and have edited:
> /usr/local/etc/ldap.conf
> /etc/nsswitch.conf
> files within /etc/pam.d, particularly /etc/pam.d/ldap, ./imap and ./sshd 
> and ./su
> /usr/local/etc/nss_ldap.conf
> 
> But nonetheless it's not working with postfix (smtp) or with 
> courier-imap (ssh works fine with pam).

It seems plausible that if you want postfix or courier to authenticate 
using pam, then they must be built with support for pam. I have postfix 
working using cyrus-sasl with saslauthd - you might want to take a look 
at that solution also.

Cheers, Erik
-- 
Ph: +34.666334818                                  web: www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2


More information about the freebsd-questions mailing list