similar to: doveadm json formatter

Displaying 20 results from an estimated 200000 matches similar to: "doveadm json formatter"

2013 Dec 02
0
doveadm table formatter: hidden titles may cause misaligned headers
Hello, I recently noticed a small bug in the doveadm table formatter: hidden titles may cause the headers to be misaligned. The behavior in question was introduced by commit <http://hg.dovecot.org/dovecot-2.2/rev/210282ae46e1> and doveadm -f table quota get -A may be used to reproduce it. Most simple patch attached: it simply restores the old behavior, to some extent. Actually hiding
2011 Oct 18
3
Database custom formatter
I am trying to write a custom formatter to update a database record based on example results. Having a lot of trouble, so I thought to ask if anyone has a custom formatter that writes results to a database or outputs results in JSON or some other programmatic format. A working example will go a long way in helping me work thru my own use case. Thanks -------------- next part -------------- An
2015 Mar 19
0
How about an option to disbale headers? (was Re: Patch for "doveadm -f table" nit)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, 19 Mar 2015, Gedalya wrote: > On 03/18/2015 08:49 PM, Timo Sirainen wrote: >> There's no reason why flow and pager should write headers to stderr because >> it would always result only in a mess. But instead of changing table >> headers to write to stdout, I think a better fix would be to make tab >> formatter
2015 Mar 20
2
How about an option to disbale headers? (was Re: Patch for "doveadm -f table" nit)
On 19 Mar 2015, at 12:25, Steffen Kaiser <skdovecot at smail.inf.fh-brs.de> wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Thu, 19 Mar 2015, Gedalya wrote: >> On 03/18/2015 08:49 PM, Timo Sirainen wrote: >>> There's no reason why flow and pager should write headers to stderr because it would always result only in a mess. But instead of
2015 Mar 19
0
Patch for "doveadm -f table" nit (was Re: Dovecot current number of connections being used.)
On 19 Mar 2015, at 02:37, Joseph Tam <jtam.home at gmail.com> wrote: > > >> doveadm who -1 2>/dev/null | wc -l > > You have to redirect stderr to /dev/null because that's where the > first header line is written to. The default format style (table) > is inconsistent with the other formats (flow,pager,tab) that write > headers and data to stdout. >
2018 Aug 23
0
Is the Doveadm HTTP API considered stable for production use?
> On Aug 23, 2018, at 8:44 AM, Reio Remma <reio at mrstuudio.ee> wrote: > > On 23.08.18 15:35, Felipe Gasper wrote: >> >>> On Aug 23, 2018, at 8:14 AM, James Beck <james.beck at aa.net.uk> wrote: >>> >>>> On Wed, Aug 22, 2018 at 09:54:44AM -0400, Felipe Gasper wrote: >>>> If you don?t want to use the HTTP API, you can use the
2018 Aug 23
2
Is the Doveadm HTTP API considered stable for production use?
On 23.08.18 15:35, Felipe Gasper wrote: > >> On Aug 23, 2018, at 8:14 AM, James Beck <james.beck at aa.net.uk> wrote: >> >>> On Wed, Aug 22, 2018 at 09:54:44AM -0400, Felipe Gasper wrote: >>> If you don?t want to use the HTTP API, you can use the raw doveadm protocol. >>> >>> https://wiki.dovecot.org/Design/DoveadmProtocol >>>
2017 Jan 12
2
doveadm mailbox cryptokey - not found
Hi, we have a problem. Command "doveadm mailbox cryptokey" does not work: # doveadm mailbox cryptokey usage: doveadm [-Dv] [-f <formatter>] mailbox <command> [<args>] create [-u <user>|-A] [-S <socket_path>] [-s] [-g <guid>] <mailbox> [...] delete [-u <user>|-A] [-S <socket_path>] [-e] [-r] [-s] [-Z] <mailbox>
2015 Mar 19
3
Patch for "doveadm -f table" nit (was Re: Dovecot current number of connections being used.)
On 03/18/2015 08:49 PM, Timo Sirainen wrote: > There's no reason why flow and pager should write headers to stderr because it would always result only in a mess. But instead of changing table headers to write to stdout, I think a better fix would be to make tab formatter write headers to stderr. Including headers in stdout makes it more difficult to write scripts that access the actual
2017 Jan 05
1
doveadm output format changes
It appears that doveadm output format changes every now and then, without particular notice. For example, the following command: doveadm -f pager mailbox status 'messages recent' '*' did output something like this until v2.2.24 : mailbox: Mailbox1 messages: 58 recent: 12 ^L mailbox: Mailbox2 messages: 128 recent: 0 but switched to that in v2.2.26 : Mailbox1 messages: 58
2012 Sep 03
1
Syntax for doveadm auth cache
Hello, What is the correct syntax of doveadm auth cache command? According to command line help: usage: doveadm [-Dv] [-f <formatter>] <command> [<args>] altmove [-u <user>|-A] [-S <socket_path>] [-r] <search query> auth [-a <auth socket path>] [-x <auth info>] <user> [<password>] auth cache but when I
2018 Jun 07
3
FTS Solr errors using doveadm
Solr 7 returns JSON by default but fts_solr requires XML. Would be good to have wt=xml added to the query to force it to xml all the time, this would prevent errors if solr has not had xml set as default for index. Dovecot 2.2.36 Centos 6 *Doveadm Request:* doveadm search -u caroline at covermg.com TEXT smith doveadm(caroline at covermg.com): Error: fts_solr: Invalid XML input at 1:0: not
2017 Jan 12
0
doveadm mailbox cryptokey - not found
On 12.01.2017 16:05, Evgeniy Korneechev wrote: > Hi, we have a problem. > Command "doveadm mailbox cryptokey" does not work: > > # doveadm mailbox cryptokey > usage: doveadm [-Dv] [-f <formatter>] mailbox <command> [<args>] > create [-u <user>|-A] [-S <socket_path>] [-s] [-g <guid>] <mailbox> [...] > delete
2012 Nov 06
2
doveadm import doesn't work
Hello, we are running dovecot 2.0.4 on openSuse 11.2. mailboxes are in mdbox-format on local filesystem. we had a powerfailure resulting in many corrupted files and i had to restore some mailboxes. as descibed in wiki, i tried : doveadm import -u <username> mdbox:/path/to/backup/<username>/mdbox INBOX all or doveadm import -u <username>
2017 May 10
2
Example for doveadm-save using Doveadm HTTP API
I could use an example of how to use curl to save a new message to a user?s INBOX using the Doveadm HTTP API. https://wiki2.dovecot.org/Design/DoveadmProtocol/HTTP <https://wiki2.dovecot.org/Design/DoveadmProtocol/HTTP> Do I really use the -d option and inline the entire new message in the command-line? Or, should I create a temporary .json file with the message wrapped in JSON and pass
2020 Sep 07
0
Search in Mailbox via doveadm REST-API
Hey, i need some help with the http-api from doveadm, i try to search a string in the mail-text from all mails in my inbox. My curl-post looks like these: curl -v -X POST -u <user>:<password> -H "Content-Type: application/json" -d
2008 Jun 12
4
after :each invoked before formatter?
Hello. I''m using RSpec with Watir to do some automated tests on IE. I''ve ran into problem, where I want to make a screenshot of a browser window when example fails. For that I made custom formatter where in extra_failure_content i''m invoking screenshot taking methods. Now, everything works like a charm, as long as I''m not using after :each. I remember that I
2017 May 10
2
Example for doveadm-save using Doveadm HTTP API
> On May 10, 2017, at 11:06 AM, Sami Ketola <sami.ketola at dovecot.fi> wrote: > > >> On 10 May 2017, at 14.57, KT Walrus <kevin at my.walr.us> wrote: >> >> I could use an example of how to use curl to save a new message to a user?s INBOX using the Doveadm HTTP API. >> > > Here you go: > > doveadm mailbox save > > parameters:
2017 May 10
0
Example for doveadm-save using Doveadm HTTP API
> On 10 May 2017, at 14.57, KT Walrus <kevin at my.walr.us> wrote: > > I could use an example of how to use curl to save a new message to a user?s INBOX using the Doveadm HTTP API. > Here you go: doveadm mailbox save parameters: { "command": "save", "parameters": [ { "name": "allUsers",
2006 Feb 15
1
need a R-code formatter?
Hi all, I am using Tin-R as my editor; I use it because it allows me to send several selected lines to R-console and execute them... In some sense, this is my line-by-line debugger. But it doesn't have a code formatter, I have to layout the indention myself -- when there are many { } blocks with different layers, this editor does not help me beautify the code... I am looking for some