Comment 2 for bug 146648

Revision history for this message
Ante Karamatić (ivoks) wrote : Re: [Bug 146648] Re: Suboptimal defaults in dovecot.conf

Mathias Gug wrote:

> Commenting the protocols option would break the situation where dovecot-
> imap is not installed.

OK. Same happens with protocols = none. Ideal situation would be to
start services which are installed. Can we change dovecot.conf during
install of imapd|pop3d? This is already in imapd|pop3d.postinst:

#perl -pi.bak -e 'if (/^\s*protocols =/i) { s/$/ imap imaps/ unless
/imap/; };'\
# /etc/dovecot/dovecot.conf

Is this what

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=204213

is talking about?