search for: korvatunturi

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

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
...> "name": "file", > "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:...
2017 May 10
0
Example for doveadm-save using Doveadm HTTP API
...quot;type": "string" }, { "name": "file", "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 '[[&q...
2017 May 10
1
Example for doveadm-save using Doveadm HTTP API
...> 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 on how long a command can be. Some of my messages are up to 20MBs with...
2017 May 10
0
Example for doveadm-save using Doveadm HTTP API
....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 on how long a command can be. Some of my messages are up to 20MBs with the atta...