[Dovecot] namespace delivery question

Laszlo Kiraly l.kiraly at madalbal.hu
Wed Jul 3 15:45:04 EEST 2013


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 info at domain.com to vmail+public/info at domain.com, then it saved to
/home/vmail/public/mailboxes/info however if I get mail to
vmail+public/info at anotherdomain.com 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 <skdovecot at smail.inf.fh-brs.de>
To: kiru at madalbal.hu
Cc: dovecot at dovecot.org
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:
> 
> > info at domain.com <- public, readable by user2
> > user1 at domain.com <- private
> > user2 at domain.com <- 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 info at domain.com to 
> <user>#Public.Mailbox.Folder at domain.com . 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



More information about the dovecot mailing list