1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-11-29 22:37:58 +02:00
This commit is contained in:
Florent Daigniere
2024-04-08 09:46:39 +02:00
parent c701358c9d
commit 614042344d
6 changed files with 35 additions and 48 deletions

View File

@@ -89,7 +89,7 @@ for item in args.get('PROXY_PROTOCOL', '').split(','):
log.error(f'Not sure what to do with {item} in PROXY_PROTOCOL ({args.get("PROXY_PROTOCOL")})')
PORTS_REQUIRING_TLS=['443', '465', '993', '995']
ALL_PORTS='25,80,443,465,587,993,995,4190'
ALL_PORTS='25,80,443,465,993,995,4190'
for item in args.get('PORTS', ALL_PORTS).split(','):
if item in PORTS_REQUIRING_TLS and args['TLS_FLAVOR'] == 'notls':
continue