[Dovecot] Fileinto to a maildir with sieve

Anton Yuzhaninov citrin at rambler-co.ru
Wed Mar 12 12:08:17 EET 2008


On 12.03.2008 13:00, Nicolas Letellier wrote:
> Anton Yuzhaninov a écrit :
>> On 12.03.2008 12:04, Nicolas Letellier wrote:
>>>
>>> Is it possible to specify a maildir to a fileinto rule in a sieve 
>>> file? A simple:
>>>
>>> require "fileinto";
>>>
>>> if header :contains "X-Spam-Flag" "YES" {
>>>         fileinto ".Junk";
>>> }
>>>
>>
>> try
>>
>> fileinto "Junk";
>>
> OMG. It's works. So, never put a dot in the name of the directory :-)
> 

But if nested folders in a maildir used, dot should be used, e. g.

fileinto "maillists.dovecot";

-- 
WBR,
  Anton Yuzhaninov
  Rambler Mail


More information about the dovecot mailing list