|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /proc/21585/root/usr/share/doc/dovecot-1.0.7/wiki/ |
Upload File : |
Postfix and Dovecot SASL
------------------------
Postfix 2.3 supports SMTP AUTH through <Dovecot SASL> [Sasl.txt] as introduced
in the Dovecot 1.0 series. It's very simple to set up:
Example dovecot.conf excerpt
----------------------------
---%<-------------------------------------------------------------------------
auth default {
mechanisms = plain login
passdb pam {
}
userdb passwd {
}
socket listen {
client {
# Assuming the default Postfix $queue_directory setting
path = /var/spool/postfix/private/auth
mode = 0660
# Assuming the default Postfix user and group
user = postfix
group = postfix
}
}
}
---%<-------------------------------------------------------------------------
Example Postfix main.cf excerpt
-------------------------------
---%<-------------------------------------------------------------------------
smtpd_sasl_type = dovecot
# Can be an absolute path, or relative to $queue_directory
smtpd_sasl_path = private/auth
# and the common settings to enable SASL:
smtpd_sasl_auth_enable = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated,
reject_unauth_destination
---%<-------------------------------------------------------------------------
See also:
---------
* http://www.postfix.org/SASL_README.html#server_dovecot
(This file was created from the wiki on 2007-06-15 04:42)