Package: dovecot-common
Version: 0.99.13-3.1
Severity: normal

Dovecot can be run from inetd. In that case, /etc/init.d/dovecot shouldn't try 
to start 
anything. That script looks for the protocols setting in dovecot.conf. However, 
the default 
value is "imap imaps", meaning that if it is absent, dovecot should still be 
started. 
Moreover, the protocols setting is still needed when dovecot is run from inetd. 
Therefore I 
suggest that the current test 

        if grep protocols /etc/dovecot/dovecot.conf | sed 's/#.*$//' | tr -d 
'"' \
         | egrep -q '[^#]*(\bpop3s?\b|\bimaps?\b)';
        then 

be replaced with a test similar to the one the exim init.d script, like so:

        if [ -f /etc/inetd.conf ] && grep -E -q "^ *([0-9.]+:)?(pop3s?|imaps?)" 
\
           /etc/inetd.conf
        then
            exit 0
        else


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to