Pigeonhome Sieve: check existence of a folder?
dovecot at avv.solutions
Thu Feb 28 11:42:54 EET 2019
Thanks ofr the great job so far.
I have crawled the doc & web, and did not find oh to check for the
presence of a folder ina a mailbox?
I know about "fileinto :create" of course, but the purpose is slightly
different: I want to automate the move into a folder based on some rules
but *only if* an associated folder is present (which name is based on
the rule), otherwise I will do a form of catch-all.
- Rule detects "aaa" in someheader field: folder "aaa" not present" ->
- Rule detect "def" in some header field: "def exists" -> fileinto "def"
Any help appreciated.
More information about the dovecot