Displaying 2 results from an estimated 2 matches for "pigeonhome".
Did you mean:
pigeonhole
2019 Feb 28
0
Pigeonhome Sieve: check existence of a folder?
What about extension "mailbox"?
https://wiki.dovecot.org/Pigeonhole/Sieve
https://tools.ietf.org/html/rfc5490#section-3
A simple example (not tested, but should work):
note:?
+ I use '/' instead of '.' as hierarchical separator
+ stop; stops the whole script, but you could use elsif instead.
require ["fileinto", "mailbox"];
if header :contains
2019 Feb 28
2
Pigeonhome Sieve: check existence of a folder?
Dear All,
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),