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
Ah. Ok, so since I put the smtpd.conf file in the wrong place, the SASL
stuff didn't know where to look, and when it couldn't find the config file,
it would die. That part makes sense now. Why can't they just put
everything in one directory?? :-) I'll bet I'm not the only person who's
been caught by that....
Why is using pam to authenticate bad, out of curiosity? I thought pam was
used by the system to authenticate users when they login, yes/no? Why is
it bad, then, to use that?
Why is using the sasl.db file better? Am I understanding correctly that if
I do that, then I specifically have to run another program to enter
authorized users into that database file, do I not? I went with pam
because I would much prefer that the mail system automatically allow anyone
with an account on my machine (only a few friends) to use me for a mail
relay if they need to. I would really prefer that this thing take care of
itself and let someone with a user name and password use that to
authenticate. So please let me know why using pam is a bad thing. Is
there a way to automate the use of sasl.db so that I don't have to get
involved if someone wants to use my machine for a mail relay?
Or am I not understanding this process correctly?
> If this doesn't fix your problem, I will be really surprised...
When I get home from work tonight, I'll move that smtpd.conf to the
*correct* directory and let you know how it turns out. :-)
> /me thinks I need to do a postfix+SASL tutorial on MandrakeSecure...
Might not be a bad idea... <grin>
--Dave
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com