Date: Thu, 24 Feb 2005 22:56:23 -0500 (EST) From: David Miller <dmiller@search.sparks.net> To: "Joseph E. Maxwell" <jemaxwell@jaymax.com> Cc: freebsd-database@freebsd.org Subject: Re: Setting up - Users with mail access but without telnet access Message-ID: <Pine.BSF.4.21.0502242249030.61985-100000@search.sparks.net> In-Reply-To: <421E4E5B.6010705@jaymax.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 24 Feb 2005, Joseph E. Maxwell wrote: > I am running a mail server (qmail) on a machine (freebsd 4.9). How can I > set up users on it with email functioning but without telnet access ? This really isn't a database question, but I'll take a stab at it anyway. The quick answer is to just add them as unix users but turn telnet off in inetd.conf. That's almost certainly the default anyway, nobody uses telnet to access a system anymore. It's also kind of a wisecrack, because you're probably asking how to deny them shell access. If you just give them a shell of /bin/false they won't be able to login with ssh, rlogin, telnet, or a serial terminal. There are other more complex answers too, like setting up qmail to use LDAP or query some sort of database to see if the recipient is a legitimate user. This is not a trivial thing to setup, and will be client specific (qmail/POP/IMAP all have to match up). Hope this helps, --- David
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0502242249030.61985-100000>