SUMMARY: First.Last@site.whatever - how's it done?

From: Gary Richardson (
Date: Mon Jun 21 1993 - 14:53:56 CDT

Hello all...

Sorry for the delay in summarizing... I've been swamped.

I had written:

> I've seen lots of inquiries regarding the First.Last@site.blah on
> sun-managers over the past months, but never saw anyone ask
> simply "How do you set this up?" I know Sun does their addressing
> that way, and I'd like to set it up here. it seems all the questions
> about this on sun-managers refers to "I have it here, but it's
> not working right". I just wanna know how to set it up initially...
> then I'll ask all those "it doesn't work right" questions! :-) :-)
> Simple question: How do I set my site up for First.Last@site.blah?
> If it's in the FAQ, my apoligies. I didn't see it in the last one
> I received.

I got many responses... with alot being "please let me know what you
find out". A few people sent the following, which I haven't had time
to try, but hope to in the near future:

The rule added right after S22:

        R$- $:$>3${Z$1$} user

The /var/yp/Makefile changes at aliases.time:

        rm $(YPDBDIR)/$(DOM)/mail.aliases;
        # Build my own mail.byaddr wiping out existing mail.byaddr
        @(egrep '^[A-Z][a-z]*\.[A-Z][a-z]*:' $(DIR)/aliases $(CHKPIPE))\
        |( sed -e 's/:/ /' -e 's/@themailhost//' -e 's/,/ /' $(CHKPIPE))\
        |( awk '{print $$2,$$1}' $(CHKPIPE))\
        | $(MAKEDBM) - $(YPDBDIR)/$(DOM)/mail.byaddr;

The aliases file:

        joe: joe@themailhost
        Joe.Smith: joe@themailhost
        sue: sue@herclient
        Sue.Allen: sue@herclient, sue@elsewhere

The mail.byaddr built from aliases file:

        Key Value
        --- -----
        joe Joe.Smith
        sue@herclient Sue.Allen

Unfortunately, my mailhost a) doesn't run NIS, and b) isn't a Sun (it
is a DEC running Ultrix). Plus I couldn't find Rule S22 in either my
mailhost's nor in any of my Sun's sendmails. But when I
find the time, I'll see what I can do. At least this is something for
me to start with.

A couple of people suggested using Sendmail+IDA. I haven't looked
into this either.

Thank to all who responded to me:
Jason.Hargis@PII.COM (Jason Hargis) (Andrew Scherpbier) (Roger Harmston) (Wojtek Sylwestrzak)
Ian Johnston <> (Eckhard Rueggeberg) (Brian Farrell 4-6531 MRCE)
< (Birger A. Wathne) (Eric Burger)
steve@avalon.Dartmouth.EDU (Derek Terveer) (Kevin Heagney)

    ____ ___ ____ ____ ____ ____
   /___/ /__/ / / / /__ / / /| / WHO: Gary Richardson
  / / | /___/ / /____ /___/ / |/ INC. HOW:
  9 Technology Dr, Westborough, Ma 01581 WHAT: Unix Systems Admin

This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:07:57 CDT