Hi Thomas,
Thank you for your answer. I'm happy with / separators too so I changed them.
Will it work too if I rewrite "rcpt to" at transport time in exim?
For example: info@domain.com -> Public/info@domain.com
I have a file with email addresses for exim to distinguish public mails. In this way I could avoid double adjustments and checks.
Best regards: Király László
---------- Original Message ----------- From: Thomas Leuxner tlx@leuxner.net To: dovecot@dovecot.org Sent: Fri, 28 Jun 2013 15:37:34 +0200 Subject: Re: [Dovecot] namespace delivery question
- Laszlo Kiraly l.kiraly@madalbal.hu 2013.06.27 14:20:
I couldn't find solution in the documentation, how can I manage the email delivery to the public namespace? [...] namespace { location = sdbox:/home/vmail/public/%u prefix = public. separator = . subscriptions = no type = public }
You can use sieve for that with LMTP:
if address :is ["To","CC"] "someone@domain.tld" { fileinto "Public.Mailbox.Folder"; }
I personally use / separators so not 100% the syntax applies to your scenario.
Thomas ------- End of Original Message -------