From owner-freebsd-isp Mon Mar 1 14:58:43 1999 Delivered-To: freebsd-isp@freebsd.org Received: from neptune.kohtz.com (christy.kohtz.com [204.62.193.181]) by hub.freebsd.org (Postfix) with ESMTP id DEC7415433 for ; Mon, 1 Mar 1999 14:58:41 -0800 (PST) (envelope-from andrew@kohtz.com) Received: from neptune.kohtz.com (neptune.kohtz.com [204.62.193.108]) by neptune.kohtz.com (8.9.3/8.9.3) with ESMTP id QAA13405; Mon, 1 Mar 1999 16:01:54 -0700 (MST) Date: Mon, 1 Mar 1999 16:01:53 -0700 (MST) From: Andy Kohtz To: Carol Deihl Cc: freebsd-isp@FreeBSD.ORG Subject: Re: usernames longer than 8 characters In-Reply-To: <36DB1755.6A468C75@tinker.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Carol, On FreeBSD 3.1-Release, where the system is able to handle up to 16 characters for the username, is qpopper able to use larger than 8 without the pop virtuser patch mentioned below? I actually intend to use the virtusertable for this system. AIMS has so many problems with it, and no real support for virtual hosts. Which brings me to a new question, if I may be so bold. I have only setup sendmail on my second favorite OS, Solaris. Is the 'hash' method any different than the 'dbm' format that I'm used to setting up on Solaris? If so, are there any suggestions or warnings before I dive in? Thanks again! - Andrew Kohtz - akohtz@amug.org - andrew@kohtz.com > If these folks are *only* getting email (and don't need > telnet access), an option that will work with any version of FreeBSD > is to use sendmail's virtusertable option. It will let you > map usernames of any length to local account names. (That's > also how to provide support for virtual domains, but that's > another story.) It's described at http://www.sendmail.org > under Virtual Domains. > > If you use virtusertable, you'll probably also want to > patch popper to do a similar mapping, so that the users > can use their "long" names to pick up mail, instead of their > shorter local account names. The (old) patches > are at http://www.westnet.com/providers, but they've not > been incorporated into the current popper release. I've included > below the patches that I recently made for FBSD 2.2.8 > based on westnet's patches. My patches use the "hash" > database, since that's what the makemap program in the > sendmail FBSD port uses. > > For example, you'd make a file /etc/virtusertable: > joe_somebody@mydomain.com joe001 > mary_longname@mydomain.com mar001 > > or whatever to map the long usernames into the local account > names. Also make a similar file /etc/virtpop - actually, in > simple cases, it can be the same file (make sure you compiled > the correct filename into popper). > > Then you'll need to "hash" the tables, for fast lookup by > sendmail and popper: > root# /usr/sbin/makemap hash /etc/virtusertable.db < /etc/virtusertable > root# /usr/sbin/makemap hash /etc/virtpop < /etc/virtpop > > Since these popper patches were designed to support virtual > domains, they expect the reverse DNS to be properly setup > (so it can tell which virtual domain it's servicing). In your > case, you just need to ensure that the reverse DNS entry > for your mail server reports the same name that users try > to connect to, for example pop.mydomain.com. (Alternatively, > you could pull that part of the code out of the patches, since > you aren't serving multiple domain.) > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message