home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / unix / aix / 13053 < prev    next >
Encoding:
Internet Message Format  |  1993-01-06  |  2.0 KB

  1. Path: sparky!uunet!paladin.american.edu!gatech!concert!duke!news.duke.edu!ee.egr.duke.edu!jpe
  2. From: jpe@ee.egr.duke.edu (John P. Eisenmenger)
  3. Newsgroups: comp.unix.aix
  4. Subject: Re: what's wrong with sendmail?
  5. Message-ID: <jpe.726342361@ee.egr.duke.edu>
  6. Date: 6 Jan 93 17:46:01 GMT
  7. References: <1ie2vuINNedk@CS.UTK.EDU>
  8. Sender: news@news.duke.edu
  9. Lines: 41
  10. Nntp-Posting-Host: ee.egr.duke.edu
  11.  
  12. moore@cs.utk.edu (Keith Moore) writes:
  13.  
  14. >% telnet rios smtp
  15. >Trying...
  16. >Connected to rios.cs.utk.edu.
  17. >Escape character is '^]'.
  18. >220 rios.cs.utk.edu Sendmail AIX 3.2/UCB 5.64/2.7c-UTK-AIX-brain-damage ready at Wed, 6 Jan 1993 02:57:20 -0500
  19. >helo localhost
  20. >250 rios.cs.utk.edu Hello localhost (RIOS.CS.UTK.EDU), pleased to meet you
  21. >mail from:<moore@cs.utk.edu>
  22. >554 rewrite: cannot prescan canonical hostname: cs.utk.edu>
  23. >554 <moore@cs.utk.edu>... Unbalanced '>'
  24. >451 rewrite: cannot prescan canonical hostname: cs.utk.edu>: No such file or directory
  25.  
  26. The problem is in IBM's sendmail.  Most sendmails automatically call ruleset
  27. 3 before calling ruleset 0 -- this is not true of the IBM version.  Try running
  28. sendamil -bt on the IBM and also a Sun -- type in "0 user@host".  On the sun
  29. you'll get the proper parsing, while the IBM will invoke the local mailer with
  30. a userid of "user@host".
  31.  
  32. >Is there a fix for this?
  33.  
  34. The fix - place the following rules at the top of ruleset 0:
  35.  
  36.     R$*<$*>$*        $1$2$3            defocus
  37.     R$+            $:$>3$1            make canonical
  38.  
  39. The first strips the "<>" from the address and the second passes the result
  40. to ruleset 3, which is what you want.
  41.  
  42. -John
  43. -- 
  44. *************************************************************************
  45. * John P. Eisenmenger             Phone: (919) 660-5248        *
  46. * Duke University             FAX:   (919) 660-5293        *
  47. * Department of Electrical Engineering     Email: jpe@egr.duke.edu (pref)    *
  48. * Box 90291                        jpe@cs.duke.edu        *
  49. * Durham, NC 27708-0291                            *
  50. *                                    *
  51. *  Reports of problems w/EE systems should go to problem@egr.duke.edu    *
  52. *************************************************************************
  53.