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