Merge pull request #251 from Mailu/feature-recipient-delimiter

Feature recipient delimiter
This commit is contained in:
kaiyou
2017-09-10 14:14:07 +02:00
committed by GitHub
3 changed files with 8 additions and 1 deletions

View File

@@ -73,6 +73,10 @@ RELAYHOST=
# Fetchmail delay # Fetchmail delay
FETCHMAIL_DELAY=600 FETCHMAIL_DELAY=600
# Recipient delimiter, character used to delimiter localpart from custom address part
# e.g. localpart+custom@domain;tld
RECIPIENT_DELIMITER=+
################################### ###################################
# Nginx settings # Nginx settings
################################### ###################################

View File

@@ -127,7 +127,7 @@ service imap-login {
protocol lmtp { protocol lmtp {
mail_plugins = $mail_plugins sieve mail_plugins = $mail_plugins sieve
recipient_delimiter = + recipient_delimiter = {{ RECIPIENT_DELIMITER }}
} }
service lmtp { service lmtp {

View File

@@ -28,6 +28,9 @@ mydestination =
# Relayhost if any is configured # Relayhost if any is configured
relayhost = {{ RELAYHOST }} relayhost = {{ RELAYHOST }}
# Recipient delimiter for extended addresses
recipient_delimiter = {{ RECIPIENT_DELIMITER }}
############### ###############
# TLS # TLS
############### ###############