Thanks Steffen,
It mostly works.
my public namespace config:
--
namespace {
type = public
prefix = public/
separator = /
location = sdbox:/home/vmail/public/
list = no
subscriptions = no
}
--
If I rewrite [email protected] to vmail+public/[email protected], then it saved to
/home/vmail/public/mailboxes/info however if I get mail to
vmail+public/[email protected] then it's saved to the same mailbox.
How can I set dovecot to save to different mailboxes?
Regards: Király László
---------- Original Message -----------
From: Steffen Kaiser <[email protected]>
To: [email protected]
Cc: [email protected]
Sent: Tue, 2 Jul 2013 14:28:41 +0200 (CEST)
Subject: Re: [Dovecot] namespace delivery question
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Thu, 27 Jun 2013, Laszlo Kiraly wrote:
>
> > [email protected] <- public, readable by user2
> > [email protected] <- private
> > [email protected] <- private
> >
> > The mailboxes are virtual, authentication through pam (kerberos).
> > The public mailbox doesn't have valid kerberos account.
> >
> > I couldn't find solution in the documentation, how can I manage the email
> > delivery to the public namespace?
> >
> > There is a -m option in the lda delivery where you can give namespace
> > prefix.
> > Maybe it's good for this, but I couldn't find any information how can I do
> > this with lmtp?
>
> If you set:
>
> lmtp_save_to_detail_mailbox = yes
> recipient_delimiter = #
>
> you could alias [email protected] to
> <user>#[email protected] . 1st option tells LMTP to
> use the detail (subaddress) as default mailbox, which is essentially
> the same as the -m option of the LDA. 2nd options sets the delimiter
> of user and detail. <user> must habe write permission to the folder.
>
> Regards,
>
> - --
> Steffen Kaiser