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 $ doveadm search mailbox shared/* \(OR \(SUBJECT "a"\) \(SUBJECT "b"\)\) doveadm(neil): Fatal: Unknown argument (OR What is the correct syntax for such a query? -- Willem-Jan de Hoog
Quoting "W. de Hoog" <wdehoog at 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 (SUBJECTThis works for me (at least with tcsh): $ doveadm search mailbox "shared/* OR (SUBJECT a) (SUBJECT b)" michael
Reasonably Related Threads
- unexpected behaviour of search queries with mixed AND and OR
- doveadm index crashes when indexing shared mailboxes
- unexpected behaviour of search queries with mixed AND and OR
- [RFC] Extension to TableGen's AssemblerPredicates to support combining features with ORs
- Adding Extended-SSA to LLVM