Vincent Danen grabbed a keyboard and wrote:
>
> On Wed Mar 06, 2002 at 11:52:52PM -0800, David Guntner wrote:
>>
>> $ cat /var/lib/sasl/smtpd.conf
>> pwcheck_method: pam
>> $
>>
>> (I figured you might want to know what's in the smtpd.conf file. :)
>
> This is very bad.  What you are doing here is telling SASL to use
> pam... not good.  Two things here:
>
> 1) smtpd.conf should contain "pwcheck_method:sasldb"
> 2) it belongs in /usr/lib/sasl not /var/lib/sasl
>
> If this doesn't fix your problem, I will be really surprised...

Prepare to be really surprised, then. :-(

I took a look in my /usr/lib/sasl directory and found that it already had a
smtpd.conf file.

$ cat /usr/lib/sasl/smtpd.conf
#%PAM-1.0
auth       required     /lib/security/pam_stack.so service=system-auth
account    required     /lib/security/pam_stack.so service=system-auth
$

I added "pwcheck_method: pam" to the bottom of the file (waiting until I get
your reply on why it's bad to use this), and when I connected to port 25,
again I got the error messages I've listed before.

Heck, I even tried setting "pwcheck_method: sasldb" instead, ran saslpasswd
to create a user account, and the flipping thing *still* aborted when I
connected to the SMTP port on my machine with sasl turned on.  Argh.

Any ideas?

              --Dave




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to