home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / mail / sendmail / 3282 < prev    next >
Encoding:
Text File  |  1993-01-27  |  1.6 KB  |  47 lines

  1. Newsgroups: comp.mail.sendmail
  2. Path: sparky!uunet!think.com!spool.mu.edu!sdd.hp.com!ux1.cso.uiuc.edu!mp.cs.niu.edu!rickert
  3. From: rickert@mp.cs.niu.edu (Neil Rickert)
  4. Subject: Re: SunOs 4.1.1 sendmail MX problem
  5. Message-ID: <1993Jan26.204243.28044@mp.cs.niu.edu>
  6. Organization: Northern Illinois University
  7. References: <1iu5tjINNhu@mailgzrz.TU-Berlin.DE> <1993Jan26.185718.7087@newshost.lanl.gov>
  8. Date: Tue, 26 Jan 1993 20:42:43 GMT
  9. Lines: 36
  10.  
  11. In article <1993Jan26.185718.7087@newshost.lanl.gov> jroberts@beta.lanl.gov (Jack C. Roberts) writes:
  12.  
  13. >Client OS:      SunOS 4.1.1
  14.  
  15. >mr.xxx.yyy has been set up as a mail exchanger.  If I try to mail to
  16. >user@mr.xxx.yyy my sendmail on the sun tells me:
  17. >
  18. >jack@mr.xxx.yyy... Never heard of host mr in domain xxx . yyy
  19.  
  20. You are doing something that the designers of 'sendmail.{main,subsidiary}.cf'
  21. did not contemplate.  To oversimplify, the config is checking if a local
  22. host in your domain exists, and if not is displaying this message.  But
  23. the test for existence is a simple gethostbyname() which fails if there
  24. is no address associated with the host.
  25.  
  26. Toward the end of 'sendmail.cf' you will find rules approximately
  27. like this:
  28.  
  29.     R$*<@$%y.LOCAL>$*    $#ether $@$2 $:$1<@$2>$3
  30.  
  31.     ... (a few more rules)
  32.  
  33.     R$*<@$*.LOCAL>$*    $#error $:Never heard of host $2 in domain $m
  34.  
  35. Between those two rules you need to insert:
  36.  
  37.     R$*<@=X.LOCAL>$*    $#ether $@2 $:$1<@2>$3
  38.  
  39. and near the top of the config, you need to add
  40.  
  41.     # Define local MX only addresses within our domain.
  42.     CXmr
  43.  
  44. If your config is based on 'sendmail.main.cf' it would be better to change
  45. the '$#ether' to '$#ddn'.
  46.  
  47.