Thank you everyone for your help, it works.
I have now one more question:
If I send mail to: info@domain.com , cc: l.kiraly@domain.com, I get two emails to info@domain.com, because of sieve_before executes this script for all the mailboxes.
How can I persuade dovecot to deliver the mail all the adresses (to, cc, bcc)?
Thanks again, László Király
---------- Original Message ----------- From: Daniel Parthey d.parthey@metaways.de To: kiru@madalbal.hu,dovecot@dovecot.org Sent: Sun, 30 Jun 2013 16:38:21 +0200 Subject: Re: [Dovecot] namespace delivery question
Add the :create flag to your SIEVE rule in order to automatically create mailboxes if nonexistent.
require "fileinto";
if address :is ["To","CC"] "info@domain.com" { fileinto :create "public/info"; }
Regards Daniel ------- End of Original Message -------