I am interested in setting up SMTP authentication. Currently, my SMTP server
(PostFix) is using SASL which is calling upon PAM for the authentication
method and this is working perfectly.
However, I would like PAM to check against a MySQL database (generated by
web-cyradm) rather than the *nix list of 'real' users. I currently have this
setup correctly for the IMAP server on the system.
The following is in the /etc/pam.d/imap file:
auth sufficient pam_mysql.so user=mailadmin passwd=mYpAsS host=localhost
db=mail table=accountuser usercolumn=username passwdcolumn=password crypt=1
logtable=log logmsgcolumn=msg logusercolumn=user loghostcolumn=host
logpidcolumn=pid logtimecolumn=time
account required pam_mysql.so user=mailadmin passwd=mYpAsS host=localhost
db=mail table=accountuser usercolumn=username passwdcolumn=password crypt=1
logtable=log logmsgcolumn=msg logusercolumn=user loghostcolumn=host
logpidcolumn=pid logtimecolumn=time
Now, could/should I place the exact same thing in the
/etc/pam.d/smtp.postfix file? I know very little about PAM syntax. Reading
over the man page for pam.d, I feel that the primary point of confusion for
my is the "control" setting (sufficient, required, etc).
Any help would be greatly appreciated!
_______________________________________________
This mailing list is hosted and supported
by bit-heads GmbH | http://www.bit-heads.ch
_______________________________________________
Web-cyradm mailing list
[email protected]
http://www.web-cyradm.org/mailman/listinfo/web-cyradm