sync recipient_delimeter between dovecot and postfix
authorRalf Jung <post@ralfj.de>
Mon, 3 Jun 2019 11:28:07 +0000 (13:28 +0200)
committerRalf Jung <post@ralfj.de>
Mon, 3 Jun 2019 11:28:07 +0000 (13:28 +0200)
roles/email/templates/dovecot/conf.d/15-lda.conf
roles/email/templates/main.cf

index 6da44d0..ab3b858 100644 (file)
@@ -29,7 +29,7 @@ postmaster_address = {{postfix.postmaster}}
 #rejection_reason = Your message to <%t> was automatically rejected:%n%r
 
 # Delimiter character between local-part and detail in email address.
-#recipient_delimiter = +
+recipient_delimiter = {{ postfix.recipient_delimiter | default("+") }}
 
 # Header where the original recipient address (SMTP's RCPT TO: address) is taken
 # from if not available elsewhere. With dovecot-lda -a parameter overrides this.
index a7313ae..01c2185 100644 (file)
@@ -137,6 +137,6 @@ non_smtpd_milters = $smtpd_milters
 # misc
 smtpd_delay_reject = yes
 disable_vrfy_command = yes
-recipient_delimiter = +_
+recipient_delimiter = {{ postfix.recipient_delimiter | default("+") }}
 delay_warning_time = 4h
 message_size_limit = 21384000