home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!uvaarpa!concert!duke!news.duke.edu!ee.egr.duke.edu!jpe
- From: jpe@ee.egr.duke.edu (John P. Eisenmenger)
- Newsgroups: comp.unix.aix
- Subject: Re: Sendmail for CNAME aliases?
- Message-ID: <jpe.724351334@ee.egr.duke.edu>
- Date: 14 Dec 92 16:42:14 GMT
- References: <9212111949.AA12276@ecnet.ec> <davecb.724112643@yorku.ca>
- Sender: news@news.duke.edu
- Lines: 32
- Nntp-Posting-Host: ee.egr.duke.edu
-
- davecb@nexus.yorku.ca (David Collier-Brown) writes:
-
- >jhidalgo@ecnet.ec (Javier Hidalgo E.) writes:
- >|Two questions: 1) is there a way to get sendmail to recognize that a
- >|CNAME points to its own host machine? 2) What does "local" mean in the
- >|above error message? It seems to us that the problem is, in fact,
- >|that ecnet.ec IS recognizing "ecnet.ec" as its own name....
-
- Yes. Before you try to determine whether iit is the local host or not, you
- need to "canonicalize the domain" (i.e. get the canonical name for the host).
- This is done with the "$[ $]" operators. Make SURE you can manipulate CNAME
- records (a la "OK ALL" or whatever).
-
- Here's an example:
-
- R$*<@$*>$* $:$1<@$[$2$]>$3 # canonicalize domain
-
- This changes the "<@some.host.name>" part of the address to
- "<@canonical.host.name>" which sounds like what you want.
-
- -John
-
- --
- *************************************************************************
- * John P. Eisenmenger Phone: (919) 660-5248 *
- * Duke University FAX: (919) 660-5293 *
- * Department of Electrical Engineering Email: jpe@egr.duke.edu (pref) *
- * Box 90291 jpe@cs.duke.edu *
- * Durham, NC 27708-0291 *
- * *
- * Reports of problems w/EE systems should go to problem@egr.duke.edu *
- *************************************************************************
-