Re: How to handle special use folders in Sieve?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 13 Sep 2016 17:38:41 +0900, Bron Gondwana via Info-cyrus <info-cyrus@xxxxxxxxxxxxxxxxxxxx> wrote:

On Tue, 13 Sep 2016, at 17:25, OBATA Akio via Info-cyrus wrote:
Hi,

Since 3.0.0-beta2 release note's "Major changes since the 2.5.x series":

* Sieve now supports special use folders. See Cyrus Sieve

  http://cyrusimap.org/imap/admin/sieve.html#cyrus-sieve-specialuse

But I cannot find how to do it in sieve script.

For example, how to rewrite following script with such feature?

   if header :is "X-Spam-Flag" "YES" {
     fileinto "INBOX.Junk"
   }

if header :is "X-Spam-Flag" "YES" {
   fileinto "\\Junk"
}

It is the expected syntax :)

Then, is there a way to create such SPECLAL-USE folder automatically?

With "autocreate_{inbox,sieve}_folders", proposed folders will be created,
but I cannot find the way to set SPECIAL-USE flags to them automatically.

--
OBATA Akio / obata@xxxxxxx
----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus



[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux