diff --git a/dovecot/templates/conf.d/10-mail.conf.j2 b/dovecot/templates/conf.d/10-mail.conf.j2
index cc3481532e3b74ecfd7078763af366624a60f369..d4ecb3a41813365a9fe90c3bf5013d921ca61cf7 100644
--- a/dovecot/templates/conf.d/10-mail.conf.j2
+++ b/dovecot/templates/conf.d/10-mail.conf.j2
@@ -212,11 +212,11 @@ namespace inbox {
 
 # Space separated list of plugins to load for all services. Plugins specific to
 # IMAP, LDA, etc. are added to this list in their own .conf files.
-{%- if dsync is defined  -%}
+{% if dsync is defined  %}
 mail_plugins = $mail_plugins notify replication
-{%- else -%}
+{% else %}
 mail_plugins = $mail_plugins notify
-{%- endif -%}
+{% endif %}
 #mail_plugins = 
 
 ##