home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / mail / sendmail / 1921 < prev    next >
Encoding:
Internet Message Format  |  1992-07-21  |  2.1 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!usc!noiro.acs.uci.edu!unogate!mvb.saic.com!dayton.saic.com!ake
  2. From: ake@dayton.saic.com (Earle Ake)
  3. Newsgroups: comp.mail.sendmail
  4. Subject: Need help with sendmail.cf rewrites
  5. Message-ID: <1992Jul21.160231.6088@dayton.saic.com>
  6. Date: 21 Jul 92 16:02:31 EDT
  7. Organization: Science Applications Intl. Corp., Dayton, Ohio
  8. Lines: 46
  9.  
  10.     We have users on a cc:Mail gateway that are used to sending mail
  11. addressed to user%node.DNET@dayton.saic.com.  The gateway doesn't know how to
  12. talk DECnet so it passes the message along to dayton.saic.com who talks SMTP
  13. and DECnet and everything is handled fine.
  14.  
  15.     We are switching over to unix.  I want to allow the users on cc:Mail
  16. to continue using the existing syntax.  The new machine 'dayton.saic.com'
  17. will be running Interactive unix.  I need to configure sendmail to allow
  18. the syntax above and rewrite the address to something like:
  19.  
  20.     user%node.DNET@other.gateway.machine
  21.  
  22. and pass it along.  I tried a few things and I either get
  23.  
  24.     user%node.DNET%dayub.dayton.saic.com@CF_INET_R
  25.  
  26. or a blank to line.  The machine name I am running unix on is dayub.
  27.  
  28.     Is there a good reference to the sendmail rewrites?  I have tried the
  29. following rule:
  30.  
  31.  
  32. R$*<@$+.DNET>$*        $#tcp$@$[dayton.saic.com$]$:$1<@$2.DNET>$3
  33.  
  34.  
  35. and it gives me the CF_INET_R at the end.  If I comment out the CF_INET_R then
  36. it has an error parsing the header.
  37.  
  38.     What I want is the following:
  39.  
  40. user%node.dnet                => user%node.dnet@dayton.saic.com
  41. user@node.dnet                => user%node.dnet@dayton.saic.com
  42. user%node.dnet@dayub.dayton.saic.com    => user%node.dnet@dayton.saic.com
  43.  
  44.  
  45. Anyone who can help?  Also, can I manually check the rewrite rules?  Also
  46. can I somehow examine what line is being fed to sendmail before parsing?
  47.  
  48.  
  49. Earle
  50. _____________________________________________________________________________
  51.              ____ ____    ___
  52. Earle Ake   /___ /___/ / /     Science Applications International Corporation
  53.   (EFA1)   ____//   / / /__                 Dayton, Ohio
  54. -----------------------------------------------------------------------------
  55. Internet: ake@dayton.saic.com  uucp: dayvb!ake  NSI-DECnet (SPAN): 28284::ake
  56.