summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2014-06-27 06:16:29 +0200
committerGuilhem Moulin <guilhem@fripost.org>2015-06-07 02:51:56 +0200
commit82285b59b86a05679c79060064484ec42107bfea (patch)
tree41dac3b033161ffd361c28c6ba7333554062ba1c
parent52cbbe8ec23eba6f0fd95a20941fceef4518eb6a (diff)
Support boken SMTP clients and LOGIN SASL mechanism.
-rw-r--r--roles/IMAP/files/etc/dovecot/conf.d/10-auth.conf2
-rw-r--r--roles/MSA/templates/etc/postfix/main.cf.j23
-rw-r--r--roles/MX/templates/etc/postfix/main.cf.j21
-rw-r--r--roles/webmail/templates/etc/postfix/main.cf.j21
4 files changed, 2 insertions, 5 deletions
diff --git a/roles/IMAP/files/etc/dovecot/conf.d/10-auth.conf b/roles/IMAP/files/etc/dovecot/conf.d/10-auth.conf
index 8b8445b..cf0189e 100644
--- a/roles/IMAP/files/etc/dovecot/conf.d/10-auth.conf
+++ b/roles/IMAP/files/etc/dovecot/conf.d/10-auth.conf
@@ -96,7 +96,7 @@ auth_username_format = %Lu
# plain login digest-md5 cram-md5 ntlm rpa apop anonymous gssapi otp skey
# gss-spnego
# NOTE: See also disable_plaintext_auth setting.
-auth_mechanisms = plain
+auth_mechanisms = plain login
##
## Password and user databases
diff --git a/roles/MSA/templates/etc/postfix/main.cf.j2 b/roles/MSA/templates/etc/postfix/main.cf.j2
index e234d73..e363d70 100644
--- a/roles/MSA/templates/etc/postfix/main.cf.j2
+++ b/roles/MSA/templates/etc/postfix/main.cf.j2
@@ -29,7 +29,6 @@ multi_instance_enable = yes
# This server is a Mail Submission Agent
mynetworks_style = host
inet_interfaces = all
-inet_protocols = all
# No local delivery
mydestination =
@@ -86,7 +85,7 @@ smtpd_sasl_local_domain =
smtpd_sasl_exceptions_networks = $mynetworks
smtpd_sasl_security_options = noanonymous, noplaintext
smtpd_sasl_tls_security_options = noanonymous
-broken_sasl_auth_clients = no
+broken_sasl_auth_clients = yes
smtpd_sasl_type = dovecot
smtpd_sasl_path = unix:private/dovecot-auth
diff --git a/roles/MX/templates/etc/postfix/main.cf.j2 b/roles/MX/templates/etc/postfix/main.cf.j2
index e842537..4dbbbcb 100644
--- a/roles/MX/templates/etc/postfix/main.cf.j2
+++ b/roles/MX/templates/etc/postfix/main.cf.j2
@@ -30,7 +30,6 @@ multi_instance_enable = yes
# This server is a Mail eXchange
mynetworks_style = host
inet_interfaces = all
-inet_protocols = all
# No local delivery
mydestination =
diff --git a/roles/webmail/templates/etc/postfix/main.cf.j2 b/roles/webmail/templates/etc/postfix/main.cf.j2
index 5d678a1..76efb59 100644
--- a/roles/webmail/templates/etc/postfix/main.cf.j2
+++ b/roles/webmail/templates/etc/postfix/main.cf.j2
@@ -29,7 +29,6 @@ multi_instance_enable = yes
# This server is a nullclient
mynetworks_style = host
inet_interfaces = loopback-only
-inet_protocols = all
# No local delivery
mydestination =