home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / unix / wizards / 5610 < prev    next >
Encoding:
Internet Message Format  |  1993-01-22  |  1.9 KB

  1. Path: sparky!uunet!auspex-gw!guy
  2. From: guy@Auspex.COM (Guy Harris)
  3. Newsgroups: comp.unix.wizards
  4. Subject: Re: Is it possible to E-mail through Telnet?
  5. Message-ID: <16549@auspex-gw.auspex.com>
  6. Date: 21 Jan 93 05:18:37 GMT
  7. References: <kennehra.727564452@craft.camp.clarkson.edu> <SHIRONO.93Jan20182719@gcx1.ssd.csd.harris.com>
  8. Sender: news@auspex-gw.auspex.com
  9. Organization: Auspex Systems, Santa Clara
  10. Lines: 34
  11. Nntp-Posting-Host: auspex.auspex.com
  12.  
  13. >The command above tells the BSD telnet program (and most if not all of its
  14. >derivatives) to connect to the well-known-port identified in the services
  15. >file by smtp.  In BSD and its derivatives, this should be the port assigned
  16. >to MTAs implementing SMTP (Simple Mail Transport --or is it Transmission?--
  17. >Protocol).
  18.  
  19. Transfer.
  20.  
  21. And, on any system that supports SMTP, that port is port 25; the
  22. assignment antedates BSD (it may even antedate UNIX...).
  23.  
  24. >If the local machine does forward foreign mail
  25. >automatically (most systems with BSD heritage might call the daemon
  26. >"sendmail"; sun calls it "in.smtpd" (or some such)),
  27.  
  28. No, Sun calls it "sendmail" (yes, even in Solaris 2.x).  Any SunOS
  29. daemons with "in." at the beginning of their name have the "traditional"
  30. name after the "in." (no, I don't know why it was stuck there; it
  31. happened before I went to work at Sun).  Guessing that it'd be called
  32. "in.smtpd" is interesting, but incorrect.
  33.  
  34. >you might use something a little less cryptic.
  35.  
  36. I.e., you might try handing the mail file to "sendmail"; see the manual
  37. page for it.
  38.  
  39. Not all machines necessarily use "sendmail"; others might, I think, use
  40. "smail", for example.  Others may require you to hand the mail to "mail"
  41. directly.
  42.  
  43. In any case, one advantage of handing it directly to some Mail Transfer
  44. Agent (MTA) such as "sendmail" isyou don't have to know SMTP - if you
  45. talk directly to a "telnet" that's connected to port 25, you'd have to
  46. pump out all the appropriate SMTP commands.
  47.