From owner-freebsd-isp@FreeBSD.ORG Fri Dec 5 07:00:10 2003 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 80EA716A4CE for ; Fri, 5 Dec 2003 07:00:10 -0800 (PST) Received: from unix18.sihope.com (unix18.sihope.com [207.195.195.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 19B8C43F3F for ; Fri, 5 Dec 2003 07:00:08 -0800 (PST) (envelope-from adamm@sihope.com) Received: from unixws1 (unixws1.sihope.com [207.195.195.190]) by unix18.sihope.com (8.12.9p2/8.12.9) with ESMTP id hB5F06kP007480; Fri, 5 Dec 2003 09:00:06 -0600 (CST) (envelope-from adamm@sihope.com) From: Adam Maloney To: Odhiambo Washington In-Reply-To: <20031205144409.GF69869@ns2.wananchi.com> References: <3FA69CE5.8000501@qcislands.net> <1067886466.14472.86.camel@unixws1> <20031205144409.GF69869@ns2.wananchi.com> Content-Type: text/plain Message-Id: <1070636405.5514.38.camel@unixws1> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Fri, 05 Dec 2003 09:00:06 -0600 Content-Transfer-Encoding: 7bit cc: freebsd-isp@freebsd.org Subject: Re: web mail X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Dec 2003 15:00:10 -0000 There is an auth_mysql module that comes with it, it looks like you can specify the database and table information, and the field names and types, so it knows how to authenticate. It does support crypted passwords in mysql. There is a section in the manual on setting up virtual domains/users. Our setup is authentication through NIS, virtual users in virtusertable (just Sendmail here). We have our users login as user@domain, and OWM actually expands the login name from virtusertable. It gives the user a list of their possible From addresses, based on the virtuser entries for that login (so if they have multiple addresses with the same login, they can choose which one their e-mail comes from.) As far as reading from the /var/spool/virtual/DOMAIN/USER/Maildir - I'm not sure whether OWM supports Maildir format, you'll have to check the docs. There is a mailspooldir configuration option. There is also an option to use hashed spool directories (/var/mail/a/d/adamm) which you can probably use as a starting point for making it use your version of the mail spool. This is in openwebmail.pl On Fri, 2003-12-05 at 08:44, Odhiambo Washington wrote: > * Adam Maloney [20031103 22:16]: wrote: > > openwebmail (openwebmail.org) - it's the swiss-army of webmails, and is > > a port. Got it running very painlessly, and it does pretty much > > everything. Haven't played with much else, but as soon as I found OWM I > > haven't had the need to look at any of the other ones. > > > Hello Friends, > > > Let me take Adam on this ;) > > And you by extension. > > I tried openwebmail today. It was very difficult to get running under a > virtualhost in apache. Perhaps I missed some point but even as > we speak, I still believe something is not right with the setup. > http://owm.wananchi.com. > > The login window looks very nice, but I haven't managed to get it to > authenticate a user at all. Why? Because I am still not sure. I think > I will need a whole night (w/o interferences) to do that. Those who > have used it may help me though. > I am moving towards a complete virtual setup where all users are in > a MySQL database. What I would like to know (which I so far doubt) is > whether openwebmail can authenticate using encrypted passwords (md5 - > same as those we have in master.passwd) from the DB. My setup stores > mail in /var/spool/virtual/$domain/$user/Maildir/. Is openwebmail > ever capable of reading the mail from this path, leave alone from > /home/$user/Maildir ($HOME/Maildir)?? > > Can it accept virtual user logins (user@domains)?? > > Or perhaps I can use PAM, with pam_mysql?? > > I'd very much appreciate any pointers. The webforum for OWM is not > the best that I have ever seen. I like Mailman-like forums, not one > like the owm one;) > > > -Wash > > http://www.netmeister.org/news/learn2quote.html > > -- > +======================================================================+ > |\ _,,,---,,_ | Odhiambo Washington > Zzz /,`.-'`' -. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com > |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 > '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 > +======================================================================+ > The USA is so enormous, and so numerous are its schools, colleges and > religious seminaries, many devoted to special religious beliefs ranging > from the unorthodox to the dotty, that we can hardly wonder at its > yielding a more bounteous harvest of gobbledygook than the rest of the > world put together. > -- Sir Peter Medawar