Hi, I bumped this thread that try to explain the feature, but I am pretty confused since the path does not correspond to anything valid for me. Could someone be kind enough for a more step by step explanation. My purpose is to activate some dovecot components, namely editheader, headers, extprograms https://forum.howtoforge.com/threads/new-handling-for-custom-postfix-and-dovecot-config.86559/
Just create the file /usr/local/ispconfig/server/conf-custom/install/dovecot_custom.conf.master and configure your custom settings. When running the ispconfig update the custom configuration you made in this file will be written to /etc/dovecot/conf.d/99-ispconfig-custom-config.conf which then is recognized by dovecot.
Thank for your response, I'm yet even more puzzled, the folder /etc/dovecot/conf.d does not contains any 99-ispconfig file, and I read from Till (see link bellow) that the folder is not used by ispconfig at all, the used file is /etc/dovecot/dovecot.conf, auto generated. Where to I found the original template file ? Best https://forum.howtoforge.com/threads/configuring-sieve-to-use-extraheaders-extension.90766 --- 8 -rw-r--r-- 1 root root 5248 Nov 22 14:40 10-auth.conf 4 -rw-r--r-- 1 root root 1781 Jan 23 2019 10-director.conf 4 -rw-r--r-- 1 root root 4073 Jan 23 2019 10-logging.conf 20 -rw-r--r-- 1 root root 18068 Nov 22 14:40 10-mail.conf 4 -rw-r--r-- 1 root root 3569 Jan 23 2019 10-master.conf 4 -rw-r--r-- 1 root root 3315 Nov 22 14:40 10-ssl.conf 4 -rw-r--r-- 1 root root 291 Aug 26 2020 10-tcpwrapper.conf 4 -rw-r--r-- 1 root root 1657 Jan 23 2019 15-lda.conf 4 -rw-r--r-- 1 root root 3111 Nov 22 14:40 15-mailboxes.conf 8 -rw-r--r-- 1 root root 4520 Nov 22 15:02 20-imap.conf 4 -rw-r--r-- 1 root root 1367 Nov 22 15:15 20-lmtp.conf 4 -rw-r--r-- 1 root root 2961 Aug 26 2020 20-managesieve.conf 4 -rw-r--r-- 1 root root 4066 Jan 23 2019 20-pop3.conf 4 -rw-r--r-- 1 root root 676 Jan 23 2019 90-acl.conf 4 -rw-r--r-- 1 root root 292 Jan 23 2019 90-plugin.conf 4 -rw-r--r-- 1 root root 2596 Jan 23 2019 90-quota.conf 12 -rw-r--r-- 1 root root 10258 Nov 22 15:15 90-sieve.conf 4 -rw-r--r-- 1 root root 1829 Aug 26 2020 90-sieve-extprograms.conf 4 -rw-r--r-- 1 root root 499 Jan 23 2019 auth-checkpassword.conf.ext 4 -rw-r--r-- 1 root root 489 Jan 23 2019 auth-deny.conf.ext 4 -rw-r--r-- 1 root root 343 Jan 23 2019 auth-dict.conf.ext 4 -rw-r--r-- 1 root root 561 Jan 23 2019 auth-master.conf.ext 4 -rw-r--r-- 1 root root 515 Jan 23 2019 auth-passwdfile.conf.ext 4 -rw-r--r-- 1 root root 788 Jan 23 2019 auth-sql.conf.ext 4 -rw-r--r-- 1 root root 611 Jan 23 2019 auth-static.conf.ext 4 -rw-r--r-- 1 root root 2182 Jan 23 2019 auth-system.conf.ext 4 -rw-r--r-- 1 root root 330 Jan 23 2019 auth-vpopmail.conf.ext
The file you need to edit is in /usr/local/ispconfig/server/conf-custom/install/dovecot_custom.conf.master When you make changes in this file and then run ispconfig_update.sh the file with your custom config will be placed under /etc/dovecot/conf.d/99-ispconfig-custom-config.conf and thus recognized by dovecot.