Skip to content

Commit

Permalink
add iterate_query for dovecot
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidGoodwin committed Apr 22, 2022
1 parent ad0375c commit aa1b80d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions DOCUMENTS/DOVECOT.txt
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,9 @@ user_query = SELECT CONCAT('/var/mail/vmail/', maildir) AS home, 1001 AS uid, 10
# user_query = SELECT '/var/mail/vmail/' || maildir AS home, 1001 AS uid, 1001 AS gid,
# '*:bytes=' || quota AS quota_rule FROM mailbox WHERE username = '%u' AND active = '1'

# see: https://doc.dovecot.org/configuration_manual/authentication/sql/#id6
iterate_query = SELECT username as user FROM mailbox WHERE active = '1'

#END /etc/dovecot/dovecot-sql.conf


Expand Down

0 comments on commit aa1b80d

Please sign in to comment.