hello, dovecot2 implements "!include conf.d/*.conf" to build the configuration from multiple configfiles. So the settings for pop3, imap or lmtp may stay in different files. unfortunately the "protocol = " does not allow a += logic to enables or disable inet listeners. It would be nice to have protocols += imap in conf.d/imap.conf and protocols += managesieve in conf.d/managesieve.conf This would make the include feature more consistent... or is it already possible ? -- Andreas Schulze Internetdienste | P532 DATEV eG 90329 N?rnberg | Telefon +49 911 319-0 | Telefax +49 911 319-3196 E-Mail info @datev.de | Internet www.datev.de Sitz: 90429 N?rnberg, Paumgartnerstr. 6-14 | Registergericht N?rnberg, GenReg Nr.70 Vorstand Prof. Dieter Kempf (Vorsitzender) Dipl.-Kfm. Wolfgang Stegmann (stellvertretender Vorsitzender) Dipl.-Kfm. Michael Leistenschneider J?rg Rabe v. Pappenheim Dipl.-Vw. Eckhard Schwarzer Vorsitzender des Aufsichtsrates: Reinhard Verholen
On 05/18/2010 11:26 AM Andreas Schulze wrote:> hello, > > dovecot2 implements "!include conf.d/*.conf" to build the configuration from multiple configfiles. > So the settings for pop3, imap or lmtp may stay in different files. > > unfortunately the "protocol = " does not allow a += logic > to enables or disable inet listeners. > > It would be nice to have > protocols += imap in conf.d/imap.conf > and > protocols += managesieve in conf.d/managesieve.conf > > This would make the include feature more consistent... > or is it already possible ? >'Works' already. # grep -rn ^protocols . ./conf.d/local.conf:90:protocols = $protocols imap ./conf.d/local.conf:109:protocols = $protocols lmtp ./conf.d/local.conf:120:protocols = $protocols pop3 ./conf.d/local.conf:136:protocols = $protocols managesieve ./dovecot.conf:25:protocols BUT (1), `doveconf protocols` reports: protocols = $protocols managesieve doveconf: Fatal: Error in configuration file /path/2/dovecot/dovecot.conf: protocols: Unknown protocol: $protocols But (2) `doveconf -x protocols` works: protocols = imap lmtp pop3 managesieve Regards; Pascal -- The trapper recommends today: fabaceae.1013811 at localdomain.org