Re: Moving from single to multi-domain. Mailboxes from default domain not being the same as before

Heiler Bemerguy via Info-cyrus <[email protected]>
Newsgroups gmane.mail.imap.cyrus
Message-ID <[email protected]>
Hi,

Yeah "virtdomains" is set to "userid". The "defaultdomain" was
commented out. By setting it to "ourcompany.com.br", it prevented
the creation of another mailbox inside
"domain/o/ourcompany.com.br" sucessfully, thanks.

But now I got another problem. We used to have other "default"
domains like that. Like "companyalias.com.br",
"companyalias2.com.br"... So is there a way to use more than
one "defaultdomain", to block the creation of redundant
mailboxes..?

Em 04/07/2018 11:48, Vladislav Kurz
escreveu:

On 07/04/18 16:37, Heiler Bemerguy via Info-cyrus wrote:

*The problem is:* When I authenticate with @ourcompany.com.br, it
auto-creates *another *mailbox
(//var/spool/cyrus/mail/domain/o/ourcompany.com.br/h/user/heiler^bemerguy//).

As the "ourcompany.com.br" is the default domain, it would be better
(and a lot less troublesome) if it continued to use the old
"//var/spool/cyrus/mail/h/user/heiler^bemerguy" /mailbox/./ *Is it
possible*?

Did you set imapd.conf properly? Try this:

virtdomains: userid
defaultdomain: ourcompany.com.br

We used that when moving to multidomain system, but we used SASLDB as
backend (not LDAP).

----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.