I created /usr/lib/sasl/smtpd.conf when I set up Postfix + SASL on my LM 8.2 system accourding to how-to's. I think it should be in the postfix installation as well as /etc/pam.d/smtp. It will not hurt anyone who is not using SASL auth.
[root@elmo postfix]# ls -l /usr/lib/sasl/smtpd.conf -rw-r--r-- 1 root root 71 Sep 19 11:26 /usr/lib/sasl/smtpd.conf [root@elmo postfix]# cat /usr/lib/sasl/smtpd.conf #pwcheck_method: saslauthd pwcheck_method: pam #pwcheck_method: sasldb [root@elmo postfix]# ls -l /etc/pam.d/smtp -rw-r--r-- 1 root root 152 Sep 17 22:06 /etc/pam.d/smtp [root@elmo postfix]# cat /etc/pam.d/smtp #%PAM-1.0 auth required /lib/security/pam_stack.so service=system-auth account required /lib/security/pam_stack.so service=system-auth After looking how I have smtpd.conf setup, I appears that I am NOT using saslauthd and therefore my "ln -s" was useless. My smtpd.conf says to use pam. I've tried so many combinations. I had thought I tried this and it failed. Maybe I forgot to do a "postfix reload" or maybe I didn't have the smtp file in /etc/pam.d . Any way, I am happy that I got it working and will get glad when someone figures out how to get smtpd to auth through saslauthd. Until then I'll have to leave: [root@elmo shorewall]# ls -l /etc/shadow -r--r----- 1 root postfix 1888 Sep 11 14:52 /etc/shadow so smtpd can access shadow. Bill Shirley > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Thursday, September 19, 2002 8:50 AM > To: [EMAIL PROTECTED] > Subject: Re: [Cooker] Postfix + SASL problem > > > "Bill Shirley" <[EMAIL PROTECTED]> writes: > > > Just an update. I ran across an idea from a forum on the net > > and put garbage in smtpd.conf and postfix/smtpd complains. > > That says smtpd is reading the file and permissions are ok. > > SASL apparently doesn't use what's there. I've tried it with > > pwcheck_method: pam, pwcheck_method: saslauthd, and > > pwcheck_method: sasldb. I still get: > > "SASL LOGIN authentication failed". > > > > I copied an /etc/pam.d/smtp file from a friend's 8.1/8.2 system > > I helped set up, mine was removed when I upgraded, and no joy. > > I started saslauthd -pam -T -d (debug mode) and it gave no > > messages. (There is no documentaion on saslauthd switches. :-( > > > > My conclusion is that whoever packaged the postfix? rpm knows > > I'm the packager for Postfix but only because we have not enough > good server maintainers; unfortunately I know too little in > Postfix to be a good maintainer for it :-(.. > > > enough about what changed to remove /etc/pam.d/smtp and rename > > /usr/lib/smtpd.conf to smtpd.conf.rpmsave. Why do this? I think > > Well if it has been rename that way, it's because it's tagged as > %config in the rpm file (but which one? I couldn't find the rpm > package owner for this file..). > > > it's supposed to authenticate through saslauthd now, but it doesn't > > for some reason. > > > -- > Guillaume Cottenceau - http://people.mandrakesoft.com/~gc/
