Make the recipient delimiter customizeable, fixes #233 and #164

master
kaiyou 7 years ago
parent bffc51401d
commit 4ee086a52a

@ -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
################################### ###################################

@ -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 {

@ -29,7 +29,7 @@ mydestination =
relayhost = {{ RELAYHOST }} relayhost = {{ RELAYHOST }}
# Recipient delimiter for extended addresses # Recipient delimiter for extended addresses
recipient_delimiter = + recipient_delimiter = {{ RECIPIENT_DELIMITER }}
############### ###############
# TLS # TLS

Loading…
Cancel
Save