search for: myfoldertoo

Displaying 5 results from an estimated 5 matches for "myfoldertoo".

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
2017 May 10
2
Example for doveadm-save using Doveadm HTTP API
...gt; } > ] > } > > example: > > [ > [ > "save", > { > "file": "From: Joulu Pukki <joulu.pukki at korvatunturi.fi>\nSubject: plaa\n\nmail body\n", > "mailbox": "INBOX/myfoldertoo", > "user": "samik" > }, > "bb" > ] > ] > > # curl -v -X POST -u doveadm:hellodoveadm -H "Content-Type: application/json" -d '[["save",{"user":"samik","mailbox"...
2017 May 10
0
Example for doveadm-save using Doveadm HTTP API
...;, "type": "string" } ] } example: [ [ "save", { "file": "From: Joulu Pukki <joulu.pukki at korvatunturi.fi>\nSubject: plaa\n\nmail body\n", "mailbox": "INBOX/myfoldertoo", "user": "samik" }, "bb" ] ] # curl -v -X POST -u doveadm:hellodoveadm -H "Content-Type: application/json" -d '[["save",{"user":"samik","mailbox":"INBOX/myfoldertoo",...
2017 May 10
1
Example for doveadm-save using Doveadm HTTP API
...t; > >> On 10 May 2017, at 16.26, KT Walrus <kevin at my.walr.us> wrote: >>> >>> # curl -v -X POST -u doveadm:hellodoveadm -H "Content-Type: application/json" -d '[["save",{"user":"samik","mailbox":"INBOX/myfoldertoo","file":"From: Joulu Pukki <joulu.pukki at korvatunturi.fi>\nSubject: plaa\n\nmail body\n"},"bb"]]' http://localhost:8080/doveadm/v1 >> >> Thanks. I worry that by inlining the entire message in the curl command, the message might exceed some...
2017 May 10
0
Example for doveadm-save using Doveadm HTTP API
> On 10 May 2017, at 16.26, KT Walrus <kevin at my.walr.us> wrote: >> >> # curl -v -X POST -u doveadm:hellodoveadm -H "Content-Type: application/json" -d '[["save",{"user":"samik","mailbox":"INBOX/myfoldertoo","file":"From: Joulu Pukki <joulu.pukki at korvatunturi.fi>\nSubject: plaa\n\nmail body\n"},"bb"]]' http://localhost:8080/doveadm/v1 > > Thanks. I worry that by inlining the entire message in the curl command, the message might exceed some limits...