Add option to disable SMTP auth

Closes #61
This commit is contained in:
Boris Gulay
2020-06-01 16:34:19 +03:00
parent cb7936bf71
commit 072ef65fdf
7 changed files with 64 additions and 11 deletions

View File

@@ -32,6 +32,10 @@ CREATE TABLE IF NOT EXISTS `ident_switch`
`smtp_port`
int
CHECK(`smtp_port` > 0 AND `smtp_port` <= 65535),
`smtp_auth`
smallint
NOT NULL
DEFAULT 1,
`drafts_mbox`
varchar(64),
`sent_mbox`

7
SQL/mysql/2020060100.sql Normal file
View File

@@ -0,0 +1,7 @@
ALTER TABLE
`ident_switch`
ADD COLUMN
`smtp_auth`
smallint
NOT NULL
DEFAULT 1;

View File

@@ -34,6 +34,10 @@ CREATE TABLE ident_switch
smtp_port
integer
CHECK(smtp_port > 0 AND smtp_port <= 65535),
smtp_auth
smallint
NOT NULL
DEFAULT(1),
drafts_mbox
varchar(64),
sent_mbox

View File

@@ -0,0 +1,7 @@
ALTER TABLE
ident_switch
ADD COLUMN
smtp_auth
smallint
NOT NULL
DEFAULT(1);