From 02ac218b8d01b532c9ea483ef38d688ff923c58c Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Mon, 3 Jun 2019 13:28:07 +0200 Subject: [PATCH 1/1] sync recipient_delimeter between dovecot and postfix --- roles/email/templates/dovecot/conf.d/15-lda.conf | 2 +- roles/email/templates/main.cf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/email/templates/dovecot/conf.d/15-lda.conf b/roles/email/templates/dovecot/conf.d/15-lda.conf index 6da44d0..ab3b858 100644 --- a/roles/email/templates/dovecot/conf.d/15-lda.conf +++ b/roles/email/templates/dovecot/conf.d/15-lda.conf @@ -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. diff --git a/roles/email/templates/main.cf b/roles/email/templates/main.cf index a7313ae..01c2185 100644 --- a/roles/email/templates/main.cf +++ b/roles/email/templates/main.cf @@ -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 -- 2.30.2