home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / next / sysadmin / 4776 < prev    next >
Encoding:
Internet Message Format  |  1992-08-20  |  4.8 KB

  1. Path: sparky!uunet!charon.amdahl.com!pacbell.com!mips!sdd.hp.com!cs.utexas.edu!sun-barr!sh.wide!wnoc-tyo-news!ccut!twics!hashton
  2. From: hashton@twics.co.jp (HUGH ASHTON)
  3. Newsgroups: comp.sys.next.sysadmin
  4. Subject: sendmail problems (help wanted, please)
  5. Message-ID: <25999@twics.co.jp>
  6. Date: 20 Aug 92 18:42:53 GMT
  7. Organization: TWICS, Tokyo, Japan
  8. Lines: 130
  9.  
  10. --------------------- 
  11. sendmail help needed
  12. ---------------------
  13.  
  14. Can some kind soul out there please help with a sendmail query? 
  15. Please forgive if this is a FAQ, but I have no access to anonymous
  16. ftp here, and so can't access FAQ lists or any of the useful tools
  17. which float around. 
  18.  
  19. We have a NeXT network which uses a mail server (server) and a
  20. machine connected to a modem (techw1).  It is not geographically
  21. convenient to make techw1 the mail server, or to connect the modem
  22. to server (which would solve a lot of our problems). 
  23.  
  24. We have recently acquired a feed to the Internet Mail, which in
  25. theory, should allow us to send and receive mail from and to any 
  26. machine on the network. 
  27.  
  28. The system at present is set up so that a TCP uucp link is set up
  29. between techw1 and server so that server polls techw1 every 5
  30. minutes or so (hardly elegant, but it works).  techw1 has a modem
  31. uucp link set up to a VAXlet which is set up as a gateway to the
  32. Internet.  I have hacked techw1's sendmail.cf (which I copied
  33. from sendmail.cf.mailhost) so that  
  34.  
  35. DM uucp
  36.  
  37. DR twics
  38. CR twics
  39.  
  40. (twics being the name of the VAXlet which is acting as the
  41. gateway).  I have also followed the Ruleset 0 decomment and
  42. comment instructions. 
  43.  
  44. On server, I have set
  45.  
  46. DM uucp
  47.  
  48. DR techw1
  49. DR techw1
  50.  
  51. and hacked Ruleset 0.
  52. When sending a message from techw1 to foo@bar.com, this goes
  53. straight into the uucp queue and on a uucico call to twics, it gets
  54. delivered to twics (what happens after that, I don't know - I
  55. suspect a black hole in the immediate vicinity, but that's not
  56. *my* immediate problem!). 
  57.  
  58. When sending a message from server to foo@bar.com, the message
  59. gets placed in the uucp spool queue.  On the next
  60. crontab-generated poll it gets passed to techw1, which sticks it
  61. in the twics uucp spool queue, and it goes out into the big wide
  62. world. 
  63.  
  64. However, if I send from a client of server, the mail bounces with:
  65.  
  66. >     ----- Transcript of session follows ----- 421 Host
  67. >  crestec.twics.co.jp not found for mailer ddn. 550
  68. >  <hashton@crestec.twics.co.jp>... Host unknown
  69. >  
  70. >     ----- Unsent message follows ----- Return-Path: <hashton>
  71. >  Received: from  techw3  (techw3) by  server  (NeXT-1.0 (From
  72. >  Sendmail 5.52)/NeXT-2.0)     id AA06068; Thu, 20 Aug 92 08:56:47
  73. >  JST Message-Id: <9208192356.AA06068@ server > 
  74. >  
  75.  
  76. Examining /usr/spool/mqueue/syslog on server, I discover that
  77. if I send a message from server or techw1, the syslog contains: 
  78.  
  79. Aug 20 08:55:22 server sendmail[6060]: AA06060:
  80. to=hashton@crestec.twics.co.jp, delay=00:00:01, stat=Sent 
  81.  
  82. and if I send from a client, I get the following in the syslog: 
  83.  
  84. Aug 20 08:56:48 server sendmail[6070]: AA06068:
  85. to=<hashton@crestec.twics.co.jp>, delay=00:00:01,
  86. stat=Host unknown 
  87.  
  88. Somehow, somewhere, the address is being parsed as
  89. <foo@bar.com> from a client and is not parsed this way from server
  90. or techw1.  I thought (in my innocence) that setting a relay to uucp
  91. on server would parse any unknown domains correctly.  No way.  btw,
  92. when an address goes out from techw1, it's parsed as: 
  93.  
  94. hashton twics (8/20-13:03-2657) XQT QUE'D (rmail bar.com!foo)
  95.  
  96. This comes from /usr/spool/uucp/LOGFILE.  Seems OK to me (but
  97. then, I'm stupid). 
  98.  
  99. I have also clobbered techw1's local mail in the process.  I used to
  100. be able to send to fred (all users are networkwide), but I now have
  101. to send to fred@server (I lose user pictures, aliases, etc.,
  102. because I now appear to live in a different domain).  If I try
  103. sending to fred, I get: 
  104. >  techw1:38# mail -v fred
  105. >  Subject: Test
  106. >  Clobbered
  107. >  .
  108. >  EOT
  109. >  fred... Connecting to  (local)...
  110. >  mail: /usr/spool/mail/fred: cannot append
  111. >  mail: cannot open dead.letter
  112. >  fred... 554 unknown mailer error 1
  113. >  Saving message in //dead.letter
  114. >  //dead.letter... Sent
  115. >  
  116. >  
  117. This is a minor hassle by comparison with the problem of clients
  118. being unable to deliver outside their domain. 
  119.  
  120. I have tried to RTFM and the O'Reilly/Todino book.  I don't claim to
  121. understand it all, but pointers to the relevant places in
  122. documentation would be valuable. 
  123.  
  124. My e-mail address is now officially:
  125. hashton@crestec.twics.co.jp
  126.  
  127. Mail addressed to my old address:
  128. hashton@twics.co.jp
  129.  
  130. _should_ be forwarded.  If it bounces:
  131.  
  132. | Hugh Ashton         
  133. | Tel:+81-53-435-3553  Fax:+81-53-435-3356 
  134. | hashton@crestec.twics.co.jp 
  135. | SnailMail:Crestec Inc., 676 Kasaishinden-cho,
  136. | Hamamatsu-shi 431-31, Japan
  137. | NextMail welcome    
  138. +-----------------------------------------------------------+
  139. | #include <std.witty.message>                              |
  140.