[Dovecot] suggestion

Pascal Volk user+dovecot at localhost.localdomain.org
Tue May 18 12:48:26 EEST 2010


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


More information about the dovecot mailing list