Thank you everyone for your help, it works.

I have now one more question:

If I send mail to: [email protected] , cc: [email protected], I get two emails
to [email protected], 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 <[email protected]>
To: [email protected],[email protected]
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"] "[email protected]"
> {
>         fileinto :create "public/info";
> }
> 
> Regards
> Daniel
------- End of Original Message -------

Reply via email to