From owner-freebsd-questions@FreeBSD.ORG Thu Mar 20 16:23:08 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F0382106566C for ; Thu, 20 Mar 2008 16:23:08 +0000 (UTC) (envelope-from roberto.nunnari@supsi.ch) Received: from ti-edu.ch (posta.ti-edu.ch [195.176.176.171]) by mx1.freebsd.org (Postfix) with ESMTP id 927038FC27 for ; Thu, 20 Mar 2008 16:23:07 +0000 (UTC) (envelope-from roberto.nunnari@supsi.ch) X-Virus-Scanned: by cgpav Received: from [193.5.152.27] (HELO [127.0.0.1]) by ti-edu.ch (CommuniGate Pro SMTP 5.1.12) with ESMTP id 24966614; Thu, 20 Mar 2008 17:23:06 +0100 Message-ID: <47E28EFE.6070701@supsi.ch> Date: Thu, 20 Mar 2008 17:21:18 +0100 From: Roberto Nunnari User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: Norberto Meijome References: <47DFD1C9.9060605@supsi.ch> <20080321004553.2140f093@meijome.net> In-Reply-To: <20080321004553.2140f093@meijome.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Best way to achive email hosting for several domains 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: Thu, 20 Mar 2008 16:23:09 -0000 Hi Norberto. Norberto Meijome wrote: > On Tue, 18 Mar 2008 15:29:29 +0100 > Roberto Nunnari wrote: > >> Now, everything works fine, but I'm a bit concerned with the >> webmail login.. I'd like info@adomain.com to login with a >> username equal to the email, but as the authentication in >> horde is handled by imp, I'm not sure how to proceed with that.. > > Hi Roberto, > I try to avoid that beast of horde...but most webmail products that I've seen > (including Horde, if memory doesn't fail me), simply make an imap connection to > your server and pass on whatever auth you give to it.... IOW, whatever works > for imap works with webmail. Yes.. That's how it works now.. horde simply delegates to imp that does the authentication to the imap server.. what I mean is that as users unix accounts are named like aaa01, aaa02, aab01, but they are mapped to email addresses like joe@adomain.com, info@adomain.com and info@anotherdomain.com, I'd like to let the user authenticate to the webmail using the email address, and then have some piece of software map the email address to the local unix account before attempting the auth process.. I found out that imp provides hook points to do this kind of things and maybe I'll go that direction, but I just would like to hear what other people are doing.. maybe have aliases in /etc/passwd (ie different usernames, same UID/GID)? Best regards. Robi. > > anyway, it wouldn't be too hard to test, right? > > B > _________________________ > {Beto|Norberto|Numard} Meijome > > "Unix is very simple, but it takes a genius to understand the simplicity." > Dennis Ritchie > > I speak for myself, not my employer. Contents may be hot. Slippery when wet. > Reading disclaimers makes you go blind. Writing them is worse. You have been > Warned. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"