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

  1. Path: sparky!uunet!mcsun!fuug!demos!kiae!glas!demos!bertha.cc.u!daisy.ee.und.ac.za!barrett
  2. From: barrett@daisy.ee.und.ac.za
  3. Newsgroups: comp.mail.sendmail
  4. Date: 18 Jul 92 13:46 MDT
  5. Subject: BSMTP instead of rmail
  6. Sender: Notesfile to Usenet Gateway <notes@glas.apc.org>
  7. Message-ID: <1992Jul18.114636.169@bertha.cc.u>
  8. Nf-ID: #N:1992Jul18.114636.169@bertha.cc.u:-598092894:001:2150
  9. Nf-From: daisy.ee.und.ac.za!barrett    Jul 18 13:46:00 1992
  10. Lines: 50
  11.  
  12.  
  13. [I deleted comp.protocols.iso.x400 from the Newsgroups]
  14.  
  15. In article <biJtACn`@twinsun.com>,
  16. eggert@twinsun.com (Paul Eggert) writes:
  17. > The other site's rmail command objects to the `/' in the
  18. > address.  So it's not a sendmail bug, it's an rmail bug.
  19. >
  20. > I'm afraid that this is a fairly common bug, and will prevent
  21. > sendmail+UUCP sites from sending mail to X.400 addressees.
  22.  
  23. It might be an rmail bug, or it might be the result of a uucp policy
  24. (probably implemented by uuxqt) to forbid arguments that look like
  25. insecure file names.
  26.  
  27. There is also a problem with passing unusual command line arguments over
  28. uucp:  If the mail address contains white space or shell metacharacters
  29. then there is *no* portable way that the local mailer can quote the args
  30. before passing them to the local uux to ensure that the remote uuxqt
  31. passes the desired address to the remote rmail.
  32.  
  33. Because of the uux/uuxqt quoting problem, we need a method of sending
  34. mail via uucp without passing the addresses in argv.  This requires
  35. using a transport like BSMTP (which puts the sender and recipient
  36. addresses inside the data file instead of in the command arguments)
  37. instead of rmail.  This has the further advantage of allowing multiple
  38. mail messages to be sent in a single uux job, reducing uucico handshake
  39. overhead.
  40.  
  41. I encourage everybody to use bsmtp-over-uucp instead of rmail-over-uucp.
  42. smail3's way of doing this is seems to be the de facto standard:  A
  43. batch-SMTP job is sent via a command like
  44.  
  45.     uux - remotesite!rsmtp
  46.  
  47. and a compressed BSMTP job is sent via
  48.  
  49.     uux - remotesite!rcsmtp
  50.  
  51. The rcsmtp program on the remote site uncompresses the job and passes it
  52. on to rsmtp.  On an smail3 system, rsmtp is simply a link to smail,
  53. which knows how to handle incoming bsmtp jobs.  On a sendmail system,
  54. one would have to write a suitable rsmtp program to massage the job into
  55. a form usable by sendmail.  (This is trivial if you ignore errors, and
  56. it is probably not very tricky to handle errors correctly).
  57.  
  58. --apb
  59. Alan Barrett, Dept. of Electronic Eng., Univ. of Natal, Durban, South Africa
  60. RFC822: barrett@ee.und.ac.za             Bang: m2xenix!quagga!undeed!barrett
  61.  
  62.