From owner-freebsd-isp Tue Dec 31 13:39:57 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id NAA23244 for isp-outgoing; Tue, 31 Dec 1996 13:39:57 -0800 (PST) Received: from mail.crl.com (mail.crl.com [165.113.1.22]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id NAA23239 for ; Tue, 31 Dec 1996 13:39:55 -0800 (PST) Received: from news.toplink.net by mail.crl.com with SMTP id AA05129 (5.65c/IDA-1.5 for ); Tue, 31 Dec 1996 13:39:54 -0800 Received: (from news@localhost) by news.toplink.net (8.7.5/8.7.3) id WAA23952; Tue, 31 Dec 1996 22:35:19 +0100 (MET) From: News Subsystem Message-Id: <199612312135.WAA23952@news.toplink.net> Subject: Re: Usernames (was Sendmail, POP3 & RADIUS, etc.) To: richards@herald.net (Richard Stanford) Date: Tue, 31 Dec 1996 22:35:19 +0100 (MET) Cc: freebsd-isp@freebsd.org In-Reply-To: from Richard Stanford at "Dec 31, 96 03:13:13 pm" X-Mailer: ELM [version 2.4ME+ PL22 (25)] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-isp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi > On Tue, 31 Dec 1996, Samara McCord wrote: > > > How do I explain to company A that the user name: "joeblow" is > > not available because company B has already used it? Only by making > > the POP user name (and hence the /etc/password name) so ugly that they > > don't confuse it with an email address (and in fact, not useable as an > > email address), and then training them to use POP user names as strictly > > internal and then we can map whatever domain-specific email name (i.e. > > return address) they want into that 8-character ugly name. > > Sell it as a security feature. Point out that you allow, say, 25 character > mail names and web addresses (for non-virtualhost customers) and alias them. > > Then tell them that their login name to your servers is ________ (or let them > pick one) for security reasons to protect their account. And if they want > it to be the same as their <9 character mail/web name -- let them. If it's > available. We call the pop accounts customername01 -- customername99 where customername is a 6 character thingy WE make up from whatever they call themselves. We use a sendmail hack from somewhere off the net works with a db file of email addresses to accounts. We call it /etc/maildomains for lack of a better name ;) ## ## customer a ## info@customera.com custa1 webmaster@customera.com custa1 bla@customera.com custa2 foo@customera.com custa3 customera.org nonexistent ## ## customer b ## info@customerb.org custb1 webmaster@customerb.org custb1 bla@customerb.org custb2 foo@customerb.org custb3 customerb.org nonexistent The nonexistent bounces unlisted email addresses. /etc/maildomains gets converted to a db file using this; ck@toplink1: {44} cat /usr/local/sbin/make.maildomains #!/bin/sh cd /etc if [ -f /etc/maildomains ]; then makemap -v hash /etc/maildomains.db < /etc/maildomains else echo "file missing: /etc/maildomains" fi This is our sendmail.mc file include(`../m4/cf.m4') VERSIONID(`@(#)toplink1.mc 1.1') OSTYPE(bsd4.4)dnl MAILER(local)dnl MAILER(smtp)dnl MAILER(uucp)dnl FEATURE(use_cw_file)dnl FEATURE(mailertable)dnl LOCAL_CONFIG Kmaildomains hash /etc/maildomains.db LOCAL_RULE_0 R$+ < @ $+ . > $: $1 < @ $2 > . R$+ < @ $+ > $* $: $(maildomains $1@$2 $: $1 < @ $2 > $3 $) R$+ < @ $+ > $* $: $(maildomains $2 $: $1 < @ $2 > $3 $) R$+ < @ $+ > . $: $1 < @ $2 . > You don't have to put the domains into the w class. Greetings Christian -- TopLink GbR, Internet Services news@toplink.net Usenet News Administration Phone: +49 7452 885-0 Fax: +49 7452 885-199 FreeBSD spoken here!