home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / mail / sendmail / 2815 < prev    next >
Encoding:
Text File  |  1992-11-17  |  2.0 KB  |  51 lines

  1. Newsgroups: comp.mail.sendmail
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!saimiri.primate.wisc.edu!zaphod.mps.ohio-state.edu!usc!rpi!utcsri!skule.ecf!torn!utzoo!telly!moore!paul
  3. From: paul@moore.com (Paul Maclauchlan)
  4. Subject: ruleset 0 query
  5. Message-ID: <1992Nov17.145435.27489@moore.com>
  6. Organization: Moore Corporation Limited, Toronto ON, Canada
  7. Date: Tue, 17 Nov 92 14:54:35 GMT
  8. Lines: 41
  9.  
  10. I am having a problem with the way ruleset zero is rewriting addresses
  11. destined for UUX.
  12.  
  13. Addresses of the form "user@boo.foo.com" are correctly handled, but
  14. an address like "user@foo.com" isn't.  In the second case, the .com
  15. is lost.
  16.  
  17. Here is some sample output from test mode:
  18.  
  19. $ /usr/lib/sendmail -bt
  20. ADDRESS TEST MODE
  21. Enter <ruleset> <address>
  22. > 0 user@foo.com
  23. rewrite: ruleset  3   input: "user" "@" "foo" "." "com"
  24. rewrite: ruleset  3 returns: "user" "<" "@" "foo" "." "com" ">"
  25. rewrite: ruleset  0   input: "user" "<" "@" "foo" "." "com" ">"
  26. rewrite: ruleset  3   input: "user" "@" "foo" "." "com"
  27. rewrite: ruleset  3 returns: "user" "<" "@" "foo" "." "com" ">"
  28. rewrite: ruleset  0 returns: $# "uux" $@ "foo" $: "user"
  29. > 0 user@boo.foo.com
  30. rewrite: ruleset  3   input: "user" "@" "boo" "." "foo" "." "com"
  31. rewrite: ruleset  3 returns: "user" "<" "@" "boo" "." "foo" "." "com" ">"
  32. rewrite: ruleset  0   input: "user" "<" "@" "boo" "." "foo" "." "com" ">"
  33. rewrite: ruleset  3   input: "user" "@" "boo" "." "foo" "." "com"
  34. rewrite: ruleset  3 returns: "user" "<" "@" "boo" "." "foo" "." "com" ">"
  35. rewrite: ruleset  0 returns: $# "uux" $@ "boo" "." "foo" "." "com" $: "user"
  36. >
  37.  
  38. I am running smail 2.5, so the second address is handled correctly,
  39. while the first address is sent to my UUCP smarthost as "foo!user".
  40.  
  41. Can someone please provide me with a ruleset zero that handles both
  42. addresses?
  43.  
  44. Thanks.
  45.  
  46. -- 
  47. .../Paul Maclauchlan
  48. Moore Corporation Limited, Toronto, Ontario (416) 364-2600
  49. paul@moore.com   -or-  {...!uunet.ca,...!telly}!moore!paul
  50. "Why should it be so much to ask of you, what you're doing to me?"/JL&PMcC'64
  51.