Am 23.04.2017 um 18:59 schrieb Ralf Hildebrandt:> I need to find all mails with a certain numerical range in my quarantine:
>
> X-Spam-Status: No, score=4.5 tagged_above=2 required=4.6 ...
>
> Assume I'd be looking for 4.5-6.0; so I tried searching for
>
> doveadm import -u restore mdbox:/home/quarantine/mdbox "" \
> mailbox INBOX header X-Spam-Status "No, score=4.5"
>
> doveadm import -u restore mdbox:/home/quarantine/mdbox "" \
> mailbox INBOX header X-Spam-Status "No, score=4.6"
>
> etc.
>
> Which would only return 2 Mails, with score score=4.5
> What am I doing wrong here? Can I search using regular expressions?
>
Hi Ralf,
i remember doing something equal with dates years ago by combine with
https://wiki.dovecot.org/Tools/Doveadm/Search
did you do a look at this ?
Sorry i cant remember the exact syntax
Best Regards
MfG Robert Schetterer
--
[*] sys4 AG
http://sys4.de, +49 (89) 30 90 46 64
Schlei?heimer Stra?e 26/MG, 80333 M?nchen
Sitz der Gesellschaft: M?nchen, Amtsgericht M?nchen: HRB 199263
Vorstand: Patrick Ben Koetter, Marc Schiffbauer
Aufsichtsratsvorsitzender: Florian Kirstein