public:mail:postfix
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
public:mail:postfix [2012/03/15 13:29] – [Configuring SMTP authentication] toony | public:mail:postfix [2012/03/15 13:55] (current) – [Configuring SMTP authentication] toony | ||
---|---|---|---|
Line 25: | Line 25: | ||
===== Configuring SMTP authentication ==== | ===== Configuring SMTP authentication ==== | ||
- | |||
- | Tell Postix to use saslauthd service. Create file "/// | ||
- | |||
- | < | ||
- | pwcheck_method: | ||
- | </ | ||
Edit postfix configuration : | Edit postfix configuration : | ||
Line 37: | Line 31: | ||
smtpd_sasl_auth_enable=yes | smtpd_sasl_auth_enable=yes | ||
broken_sasl_auth_clients=yes | broken_sasl_auth_clients=yes | ||
+ | smtpd_sasl_security_options = noanonymous | ||
smtpd_recipient_restrictions=permit_sasl_authenticated, | smtpd_recipient_restrictions=permit_sasl_authenticated, | ||
smtpd_sasl_authenticated_header=yes | smtpd_sasl_authenticated_header=yes | ||
</ | </ | ||
- | Saslauthd service can be used to check password on LDAP. | + | Saslauthd service can be used to check password on LDAP. Create file "/// |
+ | |||
+ | < | ||
+ | pwcheck_method: | ||
+ | </ | ||
Postfix is chrooted by default, 2 solutions can be used to allow Postfix/ | Postfix is chrooted by default, 2 solutions can be used to allow Postfix/ | ||
Line 51: | Line 50: | ||
chown root:sasl / | chown root:sasl / | ||
chmod 710 / | chmod 710 / | ||
+ | rm -rf / | ||
ln -s / | ln -s / | ||
</ | </ |
public/mail/postfix.1331818187.txt.gz · Last modified: 2012/03/15 13:29 by toony