Hello, I've got a very strange problem: When I try to configure the stats-writer socket, I'm told the configuration is a duplicate, though none exists in the configuration files. So I'd guess the configuration is set either built-in or implicitly. I've put the following into conf.d/10-master.conf: service auth { ? unix_listener auth-userdb { ? } ? unix_listener stats-writer { ??? user = vmail ??? group = vmail ??? mode = 0666 ? } } BTW, using imap for mail traffic. Is there any tool displaying an "effective" config tree (i.e., a tool displaying the resulting configuration from every file, displaying the original file and line number)? "dovecot -a" only displays all configurations, but without source reference, so it's impossible to find out about the details.? :-( Kind regards Peter
On Sun, 17 Feb 2019 10:47:29 +0100, Peter Nabbefeld via dovecot stated:>Hello, > >I've got a very strange problem: >When I try to configure the stats-writer socket, I'm told the >configuration is a duplicate, though none exists in the configuration >files. So I'd guess the configuration is set either built-in or >implicitly. > >I've put the following into conf.d/10-master.conf: >service auth { > ? unix_listener auth-userdb { > ? } > > ? unix_listener stats-writer { > ??? user = vmail > ??? group = vmail > ??? mode = 0666 > ? } >} > >BTW, using imap for mail traffic. > >Is there any tool displaying an "effective" config tree (i.e., a tool >displaying the resulting configuration from every file, displaying the >original file and line number)? "dovecot -a" only displays all >configurations, but without source reference, so it's impossible to >find out about the details.? :-( > >Kind regards > >Peter"doveconf -n" should do what you want. Post the "entire output" from that command here so we an analyze it. -- Jerry -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 488 bytes Desc: OpenPGP digital signature URL: <https://dovecot.org/pipermail/dovecot/attachments/20190217/4cf2d029/attachment.sig>
> On 17 February 2019 at 11:47 Peter Nabbefeld via dovecot <dovecot at dovecot.org> wrote: > > > > Hello, > > I've got a very strange problem: > When I try to configure the stats-writer socket, I'm told the > configuration is a duplicate, though none exists in the configuration > files. So I'd guess the configuration is set either built-in or implicitly. > > I've put the following into conf.d/10-master.conf: > service auth { > ? unix_listener auth-userdb { > ? } > > ? unix_listener stats-writer { > ??? user = vmail > ??? group = vmail > ??? mode = 0666 > ? } > } > > BTW, using imap for mail traffic. > > Is there any tool displaying an "effective" config tree (i.e., a tool > displaying the resulting configuration from every file, displaying the > original file and line number)? "dovecot -a" only displays all > configurations, but without source reference, so it's impossible to find > out about the details.? :-( > > Kind regards > > PeterHi The stats-writer config belongs for service stats, not auth. You can see effective config with 'doveconf -n'. Aki
<html><head></head><body dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div class="ApplePlainTextBody"><br><br><blockquote type="cite">On 17 Feb 2019, at 11.47, Peter Nabbefeld via dovecot <dovecot@dovecot.org> wrote:<br><br><br>Is there any tool displaying an "effective" config tree (i.e., a tool displaying the resulting configuration from every file, displaying the original file and line number)? "dovecot -a" only displays all configurations, but without source reference, so it's impossible to find out about the details. :-(<br><br></blockquote><br>Easy way is to use just one config file. That is what I have done for years.<br><br>Sami<br><br><br><br></div></body></html>
Am 17.02.19 um 14:45 schrieb Aki Tuomi:>> On 17 February 2019 at 11:47 Peter Nabbefeld via dovecot <dovecot at dovecot.org> wrote: >> >> >> >> Hello, >> >> I've got a very strange problem: >> When I try to configure the stats-writer socket, I'm told the >> configuration is a duplicate, though none exists in the configuration >> files. So I'd guess the configuration is set either built-in or implicitly. >> >> I've put the following into conf.d/10-master.conf: >> service auth { >> ? unix_listener auth-userdb { >> ? } >> >> ? unix_listener stats-writer { >> ??? user = vmail >> ??? group = vmail >> ??? mode = 0666 >> ? } >> } >> >> BTW, using imap for mail traffic. >> >> Is there any tool displaying an "effective" config tree (i.e., a tool >> displaying the resulting configuration from every file, displaying the >> original file and line number)? "dovecot -a" only displays all >> configurations, but without source reference, so it's impossible to find >> out about the details.? :-( >> >> Kind regards >> >> Peter > Hi > > The stats-writer config belongs for service stats, not auth.Ooops - Thank You!> You can see effective config with 'doveconf -n'.Nope - it even displays less information than "dovecot -a". Peter> Aki
Am 17.02.19 um 18:27 schrieb Sami Ketola:> > >> On 17 Feb 2019, at 11.47, Peter Nabbefeld via dovecot >> <dovecot at dovecot.org> wrote: >> >> >> Is there any tool displaying an "effective" config tree (i.e., a tool >> displaying the resulting configuration from every file, displaying >> the original file and line number)? "dovecot -a" only displays all >> configurations, but without source reference, so it's impossible to >> find out about the details. ?:-( >> > > Easy way is to use just one config file. That is what I have done for > years. > > Sami > >I'd preferred that, too, but it seems the 'modern' way - and I don't want to get any possible configuration issues on updates, so I won't change this. Peter