diff options
author | System administrator | 2020-12-03 14:49:24 +0100 |
---|---|---|
committer | System administrator | 2020-12-03 14:49:24 +0100 |
commit | ce204dd4aad153559782ff1f92721868c06b3710 (patch) | |
tree | 6b4710463d217a61f92a42502513af437a83b06e /conf.d | |
parent | bb4117f666ed9f996eaae33d125f52ef45ed6349 (diff) | |
download | exim-ce204dd4aad153559782ff1f92721868c06b3710.tar.gz |
main: put MUA submission port as constant
Diffstat (limited to 'conf.d')
-rw-r--r-- | conf.d/010_main.conf | 12 |
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 | ||
5 | MUA_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 | ||
8 | acl_smtp_connect = ${if ={587}{$interface_port} {accept} {acl_mta_connect}} | 10 | acl_smtp_connect = ${if ={MUA_SUBMISSION_PORT}{$interface_port} {accept} {acl_mta_connect}} |
9 | acl_smtp_mail = ${if ={587}{$interface_port} {acl_mua_mail} {acl_mta_mail}} | 11 | acl_smtp_mail = ${if ={MUA_SUBMISSION_PORT}{$interface_port} {acl_mua_mail} {acl_mta_mail}} |
10 | acl_smtp_rcpt = ${if ={587}{$interface_port} {acl_mua_rcpt} {acl_mta_rcpt}} | 12 | acl_smtp_rcpt = ${if ={MUA_SUBMISSION_PORT}{$interface_port} {acl_mua_rcpt} {acl_mta_rcpt}} |
11 | acl_smtp_data = ${if ={587}{$interface_port} {acl_mua_data} {acl_mta_data}} | 13 | acl_smtp_data = ${if ={MUA_SUBMISSION_PORT}{$interface_port} {acl_mua_data} {acl_mta_data}} |
12 | acl_smtp_dkim = acl_mta_dkim | 14 | acl_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 | ||
71 | daemon_smtp_ports = 25 : 587 | 73 | daemon_smtp_ports = 25 : MUA_SUBMISSION_PORT |
72 | # tls_on_connect_ports = 465 | 74 | # tls_on_connect_ports = 465 |
73 | 75 | ||
74 | 76 | ||