mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2026-11-14 09:16:00 +01:00
Fix issue where a postfix/submission connection using TLS on port 465 would be reported as "insecure"
This commit is contained in:
1 parent
fd2ff00a6e
commit
82e203b3ec
4 files changed
+50
-5
No files matched your search
@@ -24,6 +24,9 @@ mta_conn_fields = [
|
||||
'remote_auth_success',
|
||||
'remote_auth_attempts',
|
||||
'remote_used_starttls',
|
||||
'remote_used_tls',
|
||||
'tls_version',
|
||||
'tls_cipher',
|
||||
'disposition',
|
||||
]
|
||||
|
||||
@@ -207,6 +210,15 @@ schema_updates = [
|
||||
"UPDATE db_info SET value='2' WHERE key='schema_version'"
|
||||
],
|
||||
|
||||
# update 3
|
||||
[
|
||||
"ALTER TABLE mta_connection ADD COLUMN remote_used_tls INTEGER DEFAULT 0",
|
||||
"ALTER TABLE mta_connection ADD COLUMN tls_version TEXT DEFAULT NULL COLLATE NOCASE",
|
||||
"ALTER TABLE mta_connection ADD COLUMN tls_cipher TEXT DEFAULT NULL COLLATE NOCASE",
|
||||
|
||||
"UPDATE db_info SET value='3' WHERE key='schema_version'"
|
||||
],
|
||||
|
||||
]
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user