Skip to content

Commit ddce23e

Browse files
author
Till Brehm
committed
Backport from master: iterate_query should not include disabled accounts
1 parent c48b70f commit ddce23e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/tpl/debian6_dovecot-sql.conf.master

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ user_query = SELECT email as user, maildir as home, CONCAT( maildir_format, ':',
1919

2020
# The iterate_query is required for the doveadm command only and works only on dovecot 2 servers.
2121
# Do not enable it on Dovecot 1.x servers
22-
# iterate_query = SELECT email as user FROM mail_user WHERE server_id = '{server_id}'
22+
# iterate_query = SELECT email as user FROM mail_user WHERE `disable%Ls` = 'n' AND server_id = '{server_id}'

0 commit comments

Comments
 (0)