[Dovecot] Doveadm with a 2nd Instance

Chris Lasater vorgusa at gmail.com
Wed Oct 9 21:24:04 EEST 2013


Hey Rob,
     I figured this one out.   The bug is associated with the default 
run/dovecot base_dir.  If you move both instances to a different 
location then (or at least the one named dovecot) it works fine and I 
can control both instances properly.
Chris

On 09/26/2013 09:02 AM, /dev/rob0 wrote:
> On Thu, Sep 26, 2013 at 12:45:01AM -0400, Chris Lasater wrote:
>> I am trying to use 2 instances of Dovecot on the same server so I
>> can have a Director managing my connections, everything appears to
>> be working, but I can not use doveadm to control my 2nd instance,
>> but doveconf seems to work fine.
> I have noticed the same thing. It seems that doveadm ignores -i.
> "dovecot" works with -c /path/to/other/dovecot.conf, but it too
> ignores -i.
>
> We got the idea to try -i <instance_name> from
> http://wiki2.dovecot.org/Tools/Doveadm/Instance , but "doveadm help"
> itself does not show a -i.
>
>> I have stopped and started both my instances so the config running
>> is what is in the config file, but when I use -i Director with
>> doveadm it uses the other instances config.
> And this is a big problem for trying to use "doveadm director"
> commands when the director instance uses the nonstandard paths. I
> haven't found a way to do that yet! "-c /path/to/other/dovecot.conf"
> didn't work.
>
> http://wiki2.dovecot.org/Tools/Doveadm/Director
>
> Currently on 2.2.5, about to switch to 2.2.6 EE. It seemed like it
> worked back in 2.0.9 before upgrading.



More information about the dovecot mailing list