Search in Mailbox via doveadm REST-API

rudolf at padaru.de rudolf at padaru.de
Mon Sep 7 17:07:06 EEST 2020


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
'[["search",{"query":["mailbox","INBOX","TEXT","8887"],"user":"<mailUser>"},
"tag1"]]' http://<server>:8080/doveadm/v1 | python -mjson.tool > out.json

 

I receive only empty results, do have anyone an idea?

 

Mit freundlichen Grüßen

Yours sincerely

 


 <https://padaru.de/> 


Pascal Rudolf | Geschäftsführer


PADARU-IT | Bielebohstraße 10 | 02736  Beiersdorf
@: rudolf at padaru.de | www: <http://padaru.de/>  padaru.de
mobil: +49 (0) 17 772 595 32

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20200907/daec1856/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 8367 bytes
Desc: not available
URL: <https://dovecot.org/pipermail/dovecot/attachments/20200907/daec1856/attachment-0001.png>


More information about the dovecot mailing list