From owner-freebsd-questions@FreeBSD.ORG Fri May 20 00:48:29 2005 Return-Path: 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 6DB5516A4CF for ; Fri, 20 May 2005 00:48:29 +0000 (GMT) Received: from mail1.acecape.com (mail1.acecape.com [66.114.74.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id E88E943D7B for ; Fri, 20 May 2005 00:48:28 +0000 (GMT) (envelope-from lists@natserv.com) Received: from zoraida.natserv.net (p65-147.acedsl.com [66.114.65.147]) by mail1.acecape.com (8.12.11/8.12.11) with ESMTP id j4K0mSCa016250; Thu, 19 May 2005 20:48:28 -0400 Date: Thu, 19 May 2005 20:48:28 -0400 (EDT) From: Francisco Reyes X-X-Sender: fran@zoraida.natserv.net To: "greg@grokking.org" In-Reply-To: <428C9D10.7020508@grokking.org> Message-ID: <20050519201246.T23338@zoraida.natserv.net> References: <20050517220403.T96779@zoraida.natserv.net> <428AAAA8.6060805@grokking.org><428B48F4.1060308@grokking.org> <428C9D10.7020508@grokking.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed cc: freebsd-questions@freebsd.org Subject: Re: Cyrus IMAP from Ports in 5.X? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 May 2005 00:48:29 -0000 On Thu, 19 May 2005, greg@grokking.org wrote: > I'm not absolutely certain of this but I thought virtual domain support > on cyrus was rough until 2.2x. I've got at least one box that hosts > multiple domains but it's running 2.2x not 2.1x. I am running 2.2.12 > Anyway, it looks like you're trying to use cyradm with a non-admin > account. You must use the __sasl2 account__ that you specify in your > imapd.conf under "admin". Doing that. As as per your suggestion made a name different from cyrus/root. > cyradm -u localhost One thing I find strange.. in my setup I have to do cyradm -u user@machine_name localhost For example in imapd put mailadmin as the admin. Have to use cyradm -u mailadmin@testpompa.natserv.net localhost > If it works correctly you should get a shell prompt with the hostname, > something like this: > > localhost.[yourdomain]> I get just localhost> lm does give me a list of users created. > Remember that when you add the accounts to sasl2 via the saslpasswd2 > script you have the option of making the account "native" or "vhosted" > simply based on whether you add an "@domain" suffix to the user id when > you create it. Note that I'm referring to sasl2 accounts at this point. > > For example, > > saslpasswd2 -c userid If I do that the machine name gets added... saslapsswd2 -c mailadmin Created mailadmin@testpompa.natserv.net > But vhosted users are created thus: > saslpasswd2 -c userid@domain Do I need to create users from cyardm or from saslpasswd2? > http://acs-wiki.andrew.cmu.edu/twiki/bin/view/Cyrus/ Looking at it... Also do I need "loginrealms" for using virtdomains?