Remove kind where field
parent
0f83899403
commit
6e196eeb6e
|
@ -1,6 +1,6 @@
|
||||||
driver = mysql
|
driver = mysql
|
||||||
connect = "host=mysql dbname=mailcow user=mailcow password=mysafepasswd"
|
connect = "host=mysql dbname=mailcow user=mailcow password=mysafepasswd"
|
||||||
default_pass_scheme = SSHA256
|
default_pass_scheme = SSHA256
|
||||||
password_query = SELECT password FROM mailbox WHERE kind = '' AND username = '%u' AND domain IN (SELECT domain FROM domain WHERE domain='%d' AND active='1')
|
password_query = SELECT password FROM mailbox WHERE username = '%u' AND domain IN (SELECT domain FROM domain WHERE domain='%d' AND active='1')
|
||||||
user_query = SELECT CONCAT('maildir:/var/vmail/',maildir) AS mail, 5000 AS uid, 5000 AS gid, concat('*:bytes=', quota) AS quota_rule FROM mailbox WHERE kind = '' AND username = '%u' AND active = '1'
|
user_query = SELECT CONCAT('maildir:/var/vmail/',maildir) AS mail, 5000 AS uid, 5000 AS gid, concat('*:bytes=', quota) AS quota_rule FROM mailbox WHERE username = '%u' AND active = '1'
|
||||||
iterate_query = SELECT username FROM mailbox WHERE active='1' AND kind='';
|
iterate_query = SELECT username FROM mailbox WHERE active='1';
|
||||||
|
|
Loading…
Reference in New Issue