mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2026-03-12 17:07:23 +01:00
Fix issue where a postfix/submission connection using TLS on port 465 would be reported as "insecure"
This commit is contained in:
@@ -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