Package: dovecot-common
Severity: normal

Hello,
in /etc/init.d/dovecot variable CONF is set to the config file to use, but that
variable is not passed when the daemon is started.

We changed the relevant lines to:

do_start()                               
{                                        
    # Return                             
    #   0 if daemon has been started     
    #   1 if daemon was already running  
    #   2 if daemon could not be started 
    start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --test 
-- -c ${CONF}> /dev/null \
        || return 1                                                             
                         
    start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- -c 
${CONF} \                  
        $DAEMON_ARGS \                                                          
                         
        || return 2

This way, we can use a different config file and have dovecot to use it (instead
of playing with symlinks with /etc/dovecot/dovecot.conf (default file used by
dovecot).

Would you consider do this change directly in the pacakgE?

Thanks,
Sandro

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



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

Reply via email to