Hello, i did a long time preparation/learning/testing for a dovecot installation and started yesterday to go "live" from scratch with dovecot 2.3.10.1 and got more errors than usual. Long story short: I compared the example-config with older 2.3.9.3 and noticed that the examples point to /etc/dovecot now. But according to /usr/local/etc/rc.d/dovecot the /usr/local/etc/dovecot is still the base configuration directory: # dovecot_config (str): Path to dovecot.conf # Default: /usr/local/etc/dovecot/dovecot.conf This is very confusing for anyone who is in need for the examples and yes i read the README that the examples need to be modified before usage. I would like to keep the given default structure but i'm unsure what the actual default is. Is there an intention to move to /etc/dovecot? That would break the "man hier" structure for unknown to me but good reason? I think i found the wind of change here: https://svnweb.freebsd.org/ports/head/mail/dovecot/Makefile?r1=535778&r2=535777&pathrev=535778 at line 135 there is something that looks like a sed replacement command for /etc/dovecot entries in conf.d files into ${PREFIX}/etc/dovecot that was removed. I don't understand the CVE Reports and so i can't recognize if there was a reason to remove that default. If so i do apologize for the report. May the health be with you...
A commit references this bug: Author: ler Date: Wed Jun 3 02:16:30 UTC 2020 New revision: 537587 URL: https://svnweb.freebsd.org/changeset/ports/537587 Log: mail/dovecot: restore the REINPLACE_CMD for the example config. Overzealous removal. PR: 246947 Submitted by: gwbr0601@yahoo.de Pointy Hat To: ler Changes: head/mail/dovecot/Makefile
Yeah, sorry about that. Fixed.
A commit references this bug: Author: ler Date: Thu Jun 4 15:29:20 UTC 2020 New revision: 537905 URL: https://svnweb.freebsd.org/changeset/ports/537905 Log: MFH: r537587 r537837 mail/dovecot: restore the REINPLACE_CMD for the example config. Overzealous removal. PR: 246947 Submitted by: gwbr0601@yahoo.de Pointy Hat To: ler mail/dovecot: fix example config *.conf.ext REINPLACE missed in r537587. PR: 246963 Submitted by: kfv@irbug.org Approved by: ports-secteam (joneum) Changes: _U branches/2020Q2/ branches/2020Q2/mail/dovecot/Makefile