From:	SMTP%"jleslie@dmccorp.com"  1-MAR-1995 10:02:58.23
To:	EVERHART
CC:	
Subj:	Re: Open/write fakemail?

From: jleslie@dmccorp.com (Jerry Leslie)
X-Newsgroups: comp.os.vms
Subject: Re: Open/write fakemail?
Date: 1 Mar 1995 03:00:10 GMT
Organization: Dynamic Matrix Control 713/272-5000
Lines: 58
Message-ID: <3j0nvq$ojl@tattoo.sccsi.com>
NNTP-Posting-Host: dmccorp.sccsi.com
X-Newsreader: TIN [version 1.2 PL2]
To: Info-VAX@Mvb.Saic.Com
X-Gateway-Source-Info: USENET

Eric B. (browere@fuller) wrote:
: Recently, a professor of mine asked if anyone knew how to fakemail in
: VMS.  I now ask the VMS wizards of this newsgroup how this is done.
: My request is for educational interest only.  I recall having read
: in a file sometime/somewhere that one could do this using a few lines
: from DCL that looked something like:

: open/write XXXX "node::task=27"
: (xxx is ?reference name? for the open file, node is node to send mail to)
: write xxxx "node::yourself"
: write xxxx "myname or whatever"
: then enter a subject, etc. and close the file.

: The problem that I have is my lack of VMS prowess, and I do not understand
: the underlying command usage.  If someone could be so kind as to describe 
: this process in a bit of detail, including an example or two, I would
: be greatly appreciative!

: Please do not 'lump' me into the group of malicious users who would 
: abuse this 'hack'.  I would just like to be able to answer the question
: of a professor I greatly respect.  They say info. should be free, so...

: Eric
: (email responses are greatly appreciated to save bandwidth!
:     browere@einstein.cnrs.humboldt.edu)

One way is to telnet to port 25 of a system, per the FAQ for alt.2600...

12. How do I send fakemail?

  "Telnet to port 25 of the machine you want the mail to appear to
   originate from.  Enter your message as in this example:

    HELO bellcore.com
    MAIL FROM:Voyager@bellcore.com
    RCPT TO:president@whitehouse.gov
    DATA

    Please discontinue your silly Clipper initiative.
    .
    QUIT

   On systems that have RFC 931 implemented, spoofing your "MAIL FROM:"
   line will not work.  Test by sending yourself fakemail first."


This presumes the VMS system has a TCP/IP package installed such as UCX, 
TGV Multinet, Wollongong, et.al. In the UCX & TGV Multinet case, the 
telnet syntax is:

   $ telnet/port=25 host

--Jerry,

 Gerald (Jerry) R. Leslie   jleslie@dmccorp.com    gleslie@isvsrv.enet.dec.com
 Dynamic Matrix Control Corporation                (my opinions are my own)

(the alt.2600 FAQ resides at rtfm.mit.edu:/pub/usenet-by-group/alt.2600)
