So between this exmaple and the fact that his qmail seems to have been
   hacked so that it allows the directive MAIL TO to work, I don't know
   what to believe. 

I think `mail to'  is interpreted as `mail from' under qmail-smtpd.
You can even use `mail cookie' if you want to, like

mail cookie: [EMAIL PROTECTED]

Similarly for `rcpt to'.

Here is a sample conversation:

$ telnet thales 25
Trying 141.225.37.221...
Connected to thales.memphis.edu.
Escape character is '^]'.
220 thales.memphis.edu ESMTP
mail cookie: [EMAIL PROTECTED]
250 ok
rcpt relaygoodies: [EMAIL PROTECTED]
250 ok
data
354 go ahead
to: [EMAIL PROTECTED]
Subject: funny stuff

blah
.
250 ok 916937857 qp 2470
quit
221 thales.memphis.edu
Connection closed by foreign host.

Here is the resulting message

>From [EMAIL PROTECTED] Thu Jan 21 16:57:37 1999
Return-Path: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 2470 invoked from network); 21 Jan 1999 16:57:04 -0000
Received: from wierdlmpc.msci.memphis.edu ([EMAIL PROTECTED])
  by thales.memphis.edu with SMTP; 21 Jan 1999 16:57:04 -0000
to: [EMAIL PROTECTED]
Subject: funny stuff

blah


Mate

Reply via email to