From 82285b59b86a05679c79060064484ec42107bfea Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Fri, 27 Jun 2014 06:16:29 +0200 Subject: Support boken SMTP clients and LOGIN SASL mechanism. --- roles/IMAP/files/etc/dovecot/conf.d/10-auth.conf | 2 +- roles/MSA/templates/etc/postfix/main.cf.j2 | 3 +-- roles/MX/templates/etc/postfix/main.cf.j2 | 1 - roles/webmail/templates/etc/postfix/main.cf.j2 | 1 - 4 files changed, 2 insertions(+), 5 deletions(-) (limited to 'roles') 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 = -- cgit v1.2.3