mirror of
https://github.com/chatmail/core.git
synced 2026-04-20 23:16:30 +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")
|
||||
|
||||
socket = s.get("socket", "").upper()
|
||||
if socket != "STARTTLS" and socket != "SSL":
|
||||
if socket != "STARTTLS" and socket != "SSL" and socket != "PLAIN":
|
||||
raise TypeError("bad socket")
|
||||
|
||||
username_pattern = s.get("username_pattern", "EMAIL").upper()
|
||||
|
||||
Reference in New Issue
Block a user