Quoting "W. de Hoog" <wdeh...@exalondelft.nl>:

Hi,

I am trying to create an OR query but no success yet:

$ doveadm search mailbox shared/* OR SUBJECT "a" SUBJECT "b"
doveadm(neil): Fatal: Use parenthesis when mixing ANDs and ORs

$ doveadm search mailbox shared/* OR \(SUBJECT "a"\) \(SUBJECT "b"\)
doveadm(neil): Fatal: Unknown argument (SUBJECT

This works for me (at least with tcsh):

$ doveadm search mailbox "shared/* OR (SUBJECT a) (SUBJECT b)"

michael

Reply via email to