From owner-freebsd-questions Tue Jul 30 7:48:27 2002 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 E1B9737B48A for ; Tue, 30 Jul 2002 07:48:15 -0700 (PDT) Received: from prima.connect1.ca (prima.connect1.ca [216.138.233.232]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9BF5B43E4A for ; Tue, 30 Jul 2002 07:48:14 -0700 (PDT) (envelope-from bsdquestions@connect1.ca) Received: from connect1.ca (localhost.connect1.ca [127.0.0.1]) by prima.connect1.ca (Postfix) with SMTP id DB06564C01; Tue, 30 Jul 2002 10:48:31 -0400 (EDT) Received: from 216.254.135.133 (SquirrelMail authenticated user franka) by www.connect1.ca with HTTP; Tue, 30 Jul 2002 10:48:31 -0400 (EDT) Message-ID: <5878.216.254.135.133.1028040511.squirrel@www.connect1.ca> Date: Tue, 30 Jul 2002 10:48:31 -0400 (EDT) Subject: Re: User auth through database From: "BSD Questions" To: In-Reply-To: <00c101c2378f$9a93e570$0100a8c0@asgardnet.org> References: <00c101c2378f$9a93e570$0100a8c0@asgardnet.org> X-Priority: 3 Importance: Normal X-MSMail-Priority: Normal Cc: , Reply-To: bsdquestions@connect1.ca X-Mailer: SquirrelMail (version 1.2.5) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG What I think is a great setup is using Postfix as your MTA, Qmail to pop with and Vpopmail. You can find more info here. http://inter7.com/vpopmail/ I set this up a while back and it works great. You do not have to create any user acccounts on your system. Qmail with vpopmail creates a seperate passwd file for each domain that you want to use it with. You can also setup a web admin so you can easily add users or make changes from the website you setup. I really found this to be a great setup.. Frank Ciro Maeitta said: > > ----- Original Message ----- > From: "Steven Lake" > To: > Sent: Monday, July 29, 2002 2307h > Subject: User auth through database > > >> Hi again. Quick question. Is there a port, or a good tutorial >> guide on how to setup a server so that users can get mail but not >> actually have a legitimate shell account on the server. I only want >> three actual accounts that can login to the machine through sell and >> the console, but I want Qpopper to treat the users as though they >> actually had a shell account on the machine. >> >> Basically what I'm thinking is to use some form of user auth for the >> mail services through an SQL database of some kind. I've seen it >> done, but I'm not sure how to do it. Anyone have any ideas? Or do I >> need to use a different Pop3 mail server port to make use of this SQL >> database auth method I'm looking at doing? >> >> Also, if I want users to have to auth to send mail, can I setup >> sendmail to use this same database, or do I need to use something >> else? > > I dont quite follow what you mean about a database... you should be > able to do this by just setting the users shell to /sbin/nologin or > /nonexistant or whatever is appropriate for your setup... then they > cannot log in at the console or via ssh, but qpopper will still be able > to feed them thier mail. > > > HTH > -C > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message