[Dovecot] Sieve and Namespace in dovecot 2.0.X

Mauricio Tavares raubvogel at gmail.com
Fri Oct 11 18:08:57 EEST 2013


On Fri, Oct 11, 2013 at 10:50 AM, Martin Rabl <martin.rabl at rablnet.de> wrote:
> Hm. Ok.
>
> Am 11.10.2013 16:44, schrieb Mauricio Tavares:
>>
>> On Fri, Oct 11, 2013 at 10:33 AM, Martin Rabl <martin.rabl at rablnet.de>
>> wrote:
>>>
>>>    fileinto :create "INBOX.Spam";
>>
>>        Even though .Spam already exists in the user's mailbox?
>> doveadm mailbox status -u bob at domain.com messages INBOX.Spam
>> INBOX.Spam messages=92283
>
>
>>>> namespace inbox {
>>>>     inbox = yes
>>>>     location =
>>>>     prefix = INBOX.
>>>>     separator =.
>>>>     type = private
>>>>
>>>> }
>
> Yep, try it - if the folder is there, it will happen nothing.
>
> I think, there is a namespace problem, and maybe the spamfolder is located
> unter INBOX.INBOX.Spam (just an idea).
>
> I think, sieve will create a folder, where it assumes there is one.
> It's just a little experimental ... ;-)
>
>
> Greetings,
>   Martin

Interesting: now it reports that it put the spam in its proper place:

Oct 11 11:02:27 mail dovecot: lda(bob at domain.com): sieve:
msgid=<6563.377.5164.515684 at Pickedit.us> : stored mail into mailbox
'INBOX.Spam'

And, it created INBOX.Spam:

drwxr-x---  5 virtual virtual    4096 Oct 11 11:02 .INBOX.Spam
drwxr-x---  5 virtual virtual    4096 Oct 11 01:52 .Spam

So, let's drop INBOX altogether

  fileinto :create "Spam";

and see what kind of mess we can come up with, right? =)


More information about the dovecot mailing list