dovecot iterate_query

Discussion in 'Developers' Forum' started by Jesse Norell, Mar 28, 2017.

  1. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    I am using dovecot's iterate_query as set from https://git.ispconfig.org/ispconfig...r/install/tpl/debian6_dovecot-sql.conf.master which I believe will be enabled by default as of 3.2, if I caught the commits and things correctly. I'm wondering if the query shouldn't be changed to exclude mailboxes which have pop3 and imap disabled?

    My reason for asking is I'm working on a spam training setup (which I intend to post a howto for) which uses shared folders, and there are a handful of accounts which are for sending only, so they have imap and pop3 disabled; when I run "doveadm acl get -A 'foldername'" to get the current acl, doveadm complains of these accounts:
    Code:
    doveadm([email protected]): Info: User no longer exists, skipping
    If I go and enable imap for all those acounts, the complaints stop. Those accounts are returned as part of iterate_query (which is used by get -A) but cannot be used for imap or pop3 - is that the correct behavior? (obviously they are not needed for sending, as the iterate_query was only recently enabled)
     
  2. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

Share This Page