[Workaround.org] Sieve fileinto Public.Folder

MonkeyT monkey at pudelteam.de
Tue Mar 17 14:45:31 CET 2009


Hi!

I use dovecot and sieve. Here is the dovecot.conf:

namespace private {
   separator = .
   prefix = ""
   inbox = yes
   hidden = no
}

namespace public {
  separator = .
  prefix = "Public."
  location = maildir:/home/vmail/public
  hidden = no
  inbox = no
}

It works fine. And I can move E-Mails with my E-Mail Client to 
Public.Info Folder (Info is my Folder in Public).
Now sieve should filter the mails into Public.Info

require ["fileinto"];
# Move spam to spam folder
if header :contains "X-Spam-Flag" ["YES"] {
  fileinto "Junk";
  stop;
} else
{
  fileinto "Public.Info";
}

But when I send an email sieve creates a a folder ".Public.Info" under 
the mailbox from the user. What is wrong?


More information about the Workaround-chitchat mailing list