Date: Tue, 31 Dec 1996 22:35:19 +0100 (MET) From: News Subsystem <news@news.toplink.net> To: richards@herald.net (Richard Stanford) Cc: freebsd-isp@freebsd.org Subject: Re: Usernames (was Sendmail, POP3 & RADIUS, etc.) Message-ID: <199612312135.WAA23952@news.toplink.net> In-Reply-To: <Pine.A32.3.91.961231151032.121818A-100000@future.dsc.dalsys.com> from Richard Stanford at "Dec 31, 96 03:13:13 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
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!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612312135.WAA23952>