Comment 1 for bug 511295

Revision history for this message
Mathias Gug (mathiaz) wrote : Re: [Bug 511295] [NEW] dovecot -n silently reports wrong configuration when using dovecot-postfix

On Fri, Jan 22, 2010 at 06:13:07PM -0000, Timo Sirainen wrote:
> Public bug reported:
>
> dovecot-postfix package uses dovecot-postfix.conf by giving it with -c
> parameter to all dovecot binaries. So when people ask for help about
> Dovecot, they paste dovecot -n output as requested, but this outputs
> wrong configuration and gets everyone confused. They'd need to give
> dovecot -n -c /etc/dovecot/dovecot-postfix.conf, but this isn't obvious.
>
> It would have been nice if Ubuntu hadn't used a different config file,
> but since I can't do anything about it, I hope you'll add this patch
> (applies without errors also to v1.1 hg tip):
> http://hg.dovecot.org/dovecot-1.2/rev/142c935e44d6
>
> With it dovecot -n gives a nice warning that hopefully points users
> towards the solution:
>
> Warning: Dovecot was last started using /etc/dovecot/dovecot-
> postfix.conf, but this config is /etc/dovecot.conf
>

Right. We should revisit this dovecot-postfix.conf configuration file as this
poses a lot of user support questions.

 importance low
 status triaged

--
Mathias Gug
Ubuntu Developer http://www.ubuntu.com