A bit more detail:
I can do this: # doveadm mailbox list -A ... test_u Sent test_u Trash test_u Drafts test_u public test_u INBOX ...
But I cannot do this: # doveadm mailbox status -A doveadm mailbox status [-u <user>|-A] [-S <socket_path>] [-t] <fields> <mailbox mask> [...]
I found this: https://serverfault.com/questions/926034/do-i-need-a-dovecot-socket that suggested:
Dovecot probably already listens in the sockets, this is a common configuration for dovecot. Try this command to verify.
ss -ntpl | grep -e :143 -e :993
I tried it and got # ss -ntpl | grep -e :143 -e :993 -e :995 LISTEN 0 100 :::993 :::* users:(("dovecot",2572,42)) LISTEN 0 100 *:993 *:* users:(("dovecot",2572,41)) LISTEN 0 100 :::995 :::* users:(("dovecot",2572,27)) LISTEN 0 100 *:995 *:* users:(("dovecot",2572,26)) LISTEN 0 100 :::143 :::* users:(("dovecot",2572,40)) LISTEN 0 100 *:143 *:* users:(("dovecot",2572,39))
I found that /var/run/dovecot/doveadm-server is a socket but adding it does not help.
# doveadm mailbox status -A -S /var/run/dovecot/doveadm-server doveadm mailbox status [-u <user>|-A] [-S <socket_path>] [-t] <fields> <mailbox mask> [...]
Am I missing something else ?
-----Original Message----- From: dovecot <dovecot-bounces@dovecot.org> on behalf of Aki Tuomi <aki.tuomi@open-xchange.com> Date: Friday, May 21, 2021 at 17:02 To: Alexander Dalloz <ad+lists@uni-x.org>, "dovecot@dovecot.org" <dovecot@dovecot.org>, "daniel.e.white.@nasa.gov" <"daniel.e.white."@nasa.gov> Subject: [EXTERNAL] Re: Help with "doveadm" - Socket ?
> On 21/05/2021 23:59 Alexander Dalloz <ad+lists@uni-x.org> wrote:
>
>
> Am 21.05.2021 um 21:27 schrieb White, Daniel E. (GSFC-770.0)[NICS]:
> > doveadm [-f formatter] mailbox status [-A|-u user] [-S socket_path] [-t] fields mailbox ...
> >
> > Where do I find this "socket_path", please ?
> >
> > I am trying to untangle a very old CentOS 6 instance.
> >
> > Thanks in advance.
>
> It should be /var/run/dovecot/doveadm-server
>
> Alexander
It can also be a tcp socket. Maybe give us bit more insight on what you are dealing with?
Aki