White, Daniel E. (GSFC-770.0)[NICS]
2021-May-24 17:23 UTC
[EXTERNAL] Re: Help with "doveadm" - Socket ?
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 at dovecot.org> on behalf of Aki Tuomi <aki.tuomi at open-xchange.com> Date: Friday, May 21, 2021 at 17:02 To: Alexander Dalloz <ad+lists at uni-x.org>, "dovecot at dovecot.org" <dovecot at dovecot.org>, "daniel.e.white. at nasa.gov" <"daniel.e.white."@nasa.gov> Subject: [EXTERNAL] Re: Help with "doveadm" - Socket ? > On 21/05/2021 23:59 Alexander Dalloz <ad+lists at 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
I'm getting a heavy criminology angle from all this, and I'm not sure there's any intention on the part of the relevant parties of getting all the technical details right in a court of law in front of 12 average citizens with no special technical expertise. What's GSFC? Georgia Student Finance Commission? Goddard Space Flight Center? So there's a "Georgia Bureau of Investigation" which overrules the Federal Bureau of Investigation in the Southeastern United States. You think some black kid is going to make it to space on a student loan package by filling out a FAFSA form? No way, Jos?. Not in this life, at any rate. There are just plain too many lawyers and psychiatrists in Florida where those NASA facilities are located. And then there's the federal government Bureau of Alcohol, Tobacco, Firearms, and now *Explosives* with full 9/11 authority, in charge of the aforementioned NICS, which was at one time part of the Treasury Department, but has by now so grossly outgrown its mission that it is housed directly under the roof of the D.O.J. And then there's no way off the federal "NICS" list of "consumers" who are officially deemed eligible to be drugged and ditched, or offed by any number of "nonviolent" or "safe, legal, and rare" ways to kill that don't actually involve firearms, because people have "bulletproof" email hosting where they are not allowed to email that sort of "right wing" content as they can and do spam and sell recreational drugs, male enhancement drugs, etc. etc. On May 24, 2021 9:23:26 AM AKDT, "White, Daniel E. (GSFC-770.0)[NICS]" <daniel.e.white at nasa.gov> wrote:>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 at dovecot.org> on behalf of Aki Tuomi ><aki.tuomi at open-xchange.com> >Date: Friday, May 21, 2021 at 17:02 >To: Alexander Dalloz <ad+lists at uni-x.org>, "dovecot at dovecot.org" ><dovecot at dovecot.org>, "daniel.e.white. at nasa.gov" ><"daniel.e.white."@nasa.gov> >Subject: [EXTERNAL] Re: Help with "doveadm" - Socket ? > > > > On 21/05/2021 23:59 Alexander Dalloz <ad+lists at 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-- Sent from my Android device with K-9 Mail. Please excuse my brevity. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20210524/647ef015/attachment-0001.html>
Am 24.05.2021 um 19:23 schrieb White, Daniel E. (GSFC-770.0)[NICS]:> 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 ?You must specify all mandatory parameters for doveadm mailbox status. doveadm mailbox status -A -S /var/run/dovecot/doveadm-server -t messages INBOX Specifying the socket is optional and not normally required. Alexander