You'll probably need to create /etc/pam.d/smtp and /etc/pam.d/smtpd, both 
containing the following:

#%PAM-1.0
auth            required     /lib/security/pam_stack.so service=system-auth
account         required     /lib/security/pam_stack.so service=system-auth

These will allow the smtp and smtpd systems to authenticate against pam.

On Thu, 22 Aug 2002, William Wong wrote:

> Hi there,
> 
> I've looked through the list archives but the suggestions don't seem to help
> my problem.  It goes like this...
> 
> I'm using the default packages that come with the redhat 7.3 distribution
> for postfix & sasl. (sasl came preinstalled with the "server" type
> configuration).  I then installed the source RPM for postfix and enabled
> SASL in the spec file, compiled the package and isntalled it.  I've created
> entries using saslpasswd and added the necessary options in main.cf for
> postfix to enable sasl (notably the enable).  I've confirmed this by
> telnet'n to port 25 and sending a ehlo mydomain.com.  It doest respond with
> PLAIN/CRAM/etc as auth methods.
> 
> However I don't know why postfix will NOT authenticate.
> 
> To be sure I've made the sasldb file world readable (to test), however in
> the maillog file it says there's an SASL authentication failure.
> 
> The suggetions I've seen on this list were: Go DL some guy's RPMs, or
> recompile postfix with SASL.  Well I don't see the need to DL someone else's
> RPMS when redhat has provided the sources already and I've already compiled
> postfix with SASL enabled.
> 
> Can anyone offer any light to this problem?
> 
> Thanks in advance!
> 
> Regards,
> - Will
> 
> 
> 
> 
> 



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to