Skip to content
Snippets Groups Projects
Commit ddce23e0 authored by Till Brehm's avatar Till Brehm
Browse files

Backport from master: iterate_query should not include disabled accounts

parent c48b70fb
No related branches found
No related tags found
No related merge requests found
......@@ -19,4 +19,4 @@ user_query = SELECT email as user, maildir as home, CONCAT( maildir_format, ':',
# The iterate_query is required for the doveadm command only and works only on dovecot 2 servers.
# Do not enable it on Dovecot 1.x servers
# iterate_query = SELECT email as user FROM mail_user WHERE server_id = '{server_id}'
# iterate_query = SELECT email as user FROM mail_user WHERE `disable%Ls` = 'n' AND server_id = '{server_id}'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment