Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 144060

Summary: sendmail ebuild with sasl should create /etc/sasl2/Sendmail.conf and /etc/pam.d/smtp
Product: Gentoo Linux Reporter: Harris Landgarten <harrisl>
Component: New packagesAssignee: Net-Mail Packages <net-mail+disabled>
Status: RESOLVED FIXED    
Severity: enhancement CC: barzog, peter
Priority: High    
Version: 2006.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Harris Landgarten 2006-08-15 17:02:30 UTC
When configuring sendmail to authenticate before sending with saslauthd, if /etc/conf.d/saslauthd is left at its default setting, sendmail will try to authenicate using pam. No user will be able to send email unless:

/etc/sasl2/Sendmail.conf is created with:
    pwcheck_method: saslauthd
    mech_list: login plain

and

/etc/pam.d/smtp is created with:

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

These files should be created by sendmail ebuild with the sasl use flag
Comment 1 Eray Aslan gentoo-dev 2012-06-14 18:21:49 UTC
+*sendmail-8.14.5-r2 (14 Jun 2012)
+
+  14 Jun 2012; Eray Aslan <eras@gentoo.org> +sendmail-8.14.5-r2.ebuild,
+  +files/sendmail-starttls-multi-crl.patch:
+  Install helper programs - bug #348621. Read multiple crls - bug #354611.
+  Install /etc/sasl2/Sendmail.conf - bug #144060
+