Add a RELAYHOST configuration value, fixes #27

master
Pierre Jaury 8 years ago
parent bbe637932e
commit 0eb075332a

@ -23,5 +23,8 @@ POSTMASTER=admin
# internal network (default to 172.17.0.0/16) # internal network (default to 172.17.0.0/16)
RELAYNETS=172.16.0.0/12 RELAYNETS=172.16.0.0/12
# Will relay all outgoing mails if configured
RELAYHOST=
# Fetchmail delay # Fetchmail delay
FETCHMAIL_DELAY=600 FETCHMAIL_DELAY=600

@ -14,6 +14,8 @@ alias_maps = hash:/etc/aliases
sql = sqlite:${config_directory}/ sql = sqlite:${config_directory}/
# Only accept virtual emails # Only accept virtual emails
mydestination = mydestination =
# Relayhost if any is configured
relayhost = {{ RELAYHOST }}
############### ###############
# TLS # TLS

Loading…
Cancel
Save