[Dovecot] Using a Sieve script to handle delivery to public mailboxes

Stephan Bosch stephan at rename-it.nl
Wed Mar 19 00:56:33 UTC 2014


On 3/15/2014 2:57 PM, Alessandro Menti wrote:
> Hello everyone,
> I'm setting up a Postfix+Dovecot stack with virtual domains and public
> mailboxes.

[...]

> I encountered a problem with this setup: when I send a message to the
> "office at mydomain.com" account, the Postfix logs say it is correctly
> delivered via Dovecot, but the Sieve script says it can not find the
> folder "Public/.office". As a consequence, Dovecot creates a new
> Maildir in /var/mail/mydomain.com/office and delivers the mail there
> instead of saving it in the correct directory
> (/var/mail/mydomain.com/public/.office).
>
> Is there something I set incorrectly in my configuration? What is
> causing Dovecot not to recognize the correct mailbox during delivery?
> Is there a way to list all mailboxes seen by dovecot-lda itself? K
> Logout completed.

I must say I haven't tried using Sieve with public folders so far.
However, I cannot quite imagine why this wouldn't work. Can you
successfully append messages to the public folder through IMAP?

Regards,

Stephan.


More information about the dovecot mailing list