mirror of
https://github.com/chatmail/core.git
synced 2026-05-06 06:46:35 +03:00
add support for socket PLAIN coming from provider-db
This commit is contained in:
@@ -96,7 +96,7 @@ def process_data(data, file):
|
|||||||
raise TypeError("bad protocol")
|
raise TypeError("bad protocol")
|
||||||
|
|
||||||
socket = s.get("socket", "").upper()
|
socket = s.get("socket", "").upper()
|
||||||
if socket != "STARTTLS" and socket != "SSL":
|
if socket != "STARTTLS" and socket != "SSL" and socket != "PLAIN":
|
||||||
raise TypeError("bad socket")
|
raise TypeError("bad socket")
|
||||||
|
|
||||||
username_pattern = s.get("username_pattern", "EMAIL").upper()
|
username_pattern = s.get("username_pattern", "EMAIL").upper()
|
||||||
|
|||||||
Reference in New Issue
Block a user