summaryrefslogtreecommitdiff
path: root/conf.d
diff options
context:
space:
mode:
authorSystem administrator2020-12-03 14:49:24 +0100
committerSystem administrator2020-12-03 14:49:24 +0100
commitce204dd4aad153559782ff1f92721868c06b3710 (patch)
tree6b4710463d217a61f92a42502513af437a83b06e /conf.d
parentbb4117f666ed9f996eaae33d125f52ef45ed6349 (diff)
downloadexim-ce204dd4aad153559782ff1f92721868c06b3710.tar.gz
main: put MUA submission port as constant
Diffstat (limited to 'conf.d')
-rw-r--r--conf.d/010_main.conf12
1 files changed, 7 insertions, 5 deletions
diff --git a/conf.d/010_main.conf b/conf.d/010_main.conf
index 3162f62..a8fc0a1 100644
--- a/conf.d/010_main.conf
+++ b/conf.d/010_main.conf
@@ -2,13 +2,15 @@
2# MAIN CONFIGURATION SETTINGS # 2# MAIN CONFIGURATION SETTINGS #
3###################################################################### 3######################################################################
4 4
5MUA_SUBMISSION_PORT = 587
6
5# Access control lists for checking incoming messages. 7# Access control lists for checking incoming messages.
6# The names of these ACLs are defined here: 8# The names of these ACLs are defined here:
7 9
8acl_smtp_connect = ${if ={587}{$interface_port} {accept} {acl_mta_connect}} 10acl_smtp_connect = ${if ={MUA_SUBMISSION_PORT}{$interface_port} {accept} {acl_mta_connect}}
9acl_smtp_mail = ${if ={587}{$interface_port} {acl_mua_mail} {acl_mta_mail}} 11acl_smtp_mail = ${if ={MUA_SUBMISSION_PORT}{$interface_port} {acl_mua_mail} {acl_mta_mail}}
10acl_smtp_rcpt = ${if ={587}{$interface_port} {acl_mua_rcpt} {acl_mta_rcpt}} 12acl_smtp_rcpt = ${if ={MUA_SUBMISSION_PORT}{$interface_port} {acl_mua_rcpt} {acl_mta_rcpt}}
11acl_smtp_data = ${if ={587}{$interface_port} {acl_mua_data} {acl_mta_data}} 13acl_smtp_data = ${if ={MUA_SUBMISSION_PORT}{$interface_port} {acl_mua_data} {acl_mta_data}}
12acl_smtp_dkim = acl_mta_dkim 14acl_smtp_dkim = acl_mta_dkim
13 15
14# You should not change those settings until you understand how ACLs work. 16# You should not change those settings until you understand how ACLs work.
@@ -68,7 +70,7 @@ tls_privatekey = TLS_PRIVATE_KEY_FILE
68# them you should also allow TLS-on-connect on the traditional but 70# them you should also allow TLS-on-connect on the traditional but
69# non-standard port 465. 71# non-standard port 465.
70 72
71daemon_smtp_ports = 25 : 587 73daemon_smtp_ports = 25 : MUA_SUBMISSION_PORT
72# tls_on_connect_ports = 465 74# tls_on_connect_ports = 465
73 75
74 76