From owner-freebsd-questions@FreeBSD.ORG Wed Sep 14 09:30:56 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DD2D416A41F for ; Wed, 14 Sep 2005 09:30:56 +0000 (GMT) (envelope-from dvorakv@vdsoft.org) Received: from mail.vdsoft.org (poseidon.vdsoft.org [193.85.147.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6FBE043D45 for ; Wed, 14 Sep 2005 09:30:56 +0000 (GMT) (envelope-from dvorakv@vdsoft.org) Received: from [10.10.0.110] (195.70.144.6.adsl.nextra.cz [195.70.144.6]) by mail.vdsoft.org (Postfix) with ESMTP id 70F3947E011; Wed, 14 Sep 2005 11:30:52 +0200 (CEST) Message-ID: <4327EDF5.3000809@vdsoft.org> Date: Wed, 14 Sep 2005 11:31:33 +0200 From: Vladimir Dvorak User-Agent: Debian Thunderbird 1.0.6 (X11/20050802) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Erik Norgaard References: <432693A9.5010706@vdsoft.org> <4326998C.1080600@locolomo.org> <43269C73.30003@vdsoft.org> <43269EFF.8060501@vdsoft.org> <4326A9F1.2040507@locolomo.org> <4326C2F5.2000304@vdsoft.org> <4326D127.5010403@locolomo.org> <4326D2BB.2030209@vdsoft.org> <4326D583.7060704@locolomo.org> <4327DD31.1020602@vdsoft.org> <4327E607.1010809@locolomo.org> In-Reply-To: <4327E607.1010809@locolomo.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: cyrus-imap + virtualdomains X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Sep 2005 09:30:57 -0000 Erik Norgaard wrote: > Vladimir Dvorak wrote: > >> Yes, you are right. Now I am using 2.2.12 and virtdomains seem to be >> working. But I found another strange problem: >> >> devel:/var/run# cyradm -u cyrus@devel localhost >> IMAP Password: >> localhost.localdomain> cm user.test >> >> ^^^ it works; user test is included into defaultdomain. >> >> But when I try: >> localhost.localdomain> cm user.test@test.com >> createmailbox: Invalid mailbox name >> >> Cyrus is strange software, isn`t it ? :-) > > > No, by loging in as cyrus@devel you get access to mailboxes under the > devel domain, point is that different virtual domains can have > different admins. You specify this in the imapd.conf. > > Try loging in just as cyrus: > > # cyradm -u cyrus localhost > > Cheers, Erik > You are right. I can create localhost> cm user.test@devel when I has been connected as cyrus@devel. Its not good to have admin for each domain in database ( because it will be huge; all auth and other information are stored in MySQL backend ). I need some _super-cyrus_ user, which will be able to create arbitrary mailbox with domain. Several month ago I set it up on Linux Gentoo system and there it was simple and it behaves as I required - cyrus user was able to create and delete all mailboxes what he want. Vladimir