mirror of
				https://github.com/optim-enterprises-bv/Mailu.git
				synced 2025-10-30 17:47:55 +00:00 
			
		
		
		
	INBOUND_TLS_ENFORCE makes no sense.
This commit is contained in:
		| @@ -72,7 +72,7 @@ def handle_authentication(headers): | |||||||
|     # Incoming mail, no authentication |     # Incoming mail, no authentication | ||||||
|     if method in ['', 'none'] and protocol in ['smtp', 'lmtp']: |     if method in ['', 'none'] and protocol in ['smtp', 'lmtp']: | ||||||
|         server, port = get_server(protocol, False) |         server, port = get_server(protocol, False) | ||||||
|         if app.config["INBOUND_TLS_ENFORCE"]: |         if app.config["INBOUND_TLS_ENFORCE"] and protocol == 'smtp': | ||||||
|             if "Auth-SSL" in headers and headers["Auth-SSL"] == "on": |             if "Auth-SSL" in headers and headers["Auth-SSL"] == "on": | ||||||
|                 return { |                 return { | ||||||
|                     "Auth-Status": "OK", |                     "Auth-Status": "OK", | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Florent Daigniere
					Florent Daigniere