Sam Roberts [mutt-users] <19/06/01 11:51 -0400>: 
> Have you tried this, Suresh?
> It says "emulates mailx", and that's it.
> And on my system (RedHat, which is fairly mainstream) mailx
> does not exist.
 
 So?  It'll work.  And mailx == /bin/mail, more or less.

> to do this programmatically, I'd like to see them, I am
> collecting docs on mail interfaces. If you use /sbin/sendmail
> it's man page has an extremely terse description of what it

suresh@blackehlo:~$ cat test.txt |sendmail -v [EMAIL PROTECTED] [EMAIL PROTECTED]
.
[EMAIL PROTECTED] Connecting to localhost via relay...
220 blackehlo.cluestick.org ESMTP Sendmail 8.12.0.Beta12/8.12.0.Beta12/clue-2.0; Tue, 
19 Jun 2001 21:55:00 +0530
>>> EHLO blackehlo.cluestick.org
250-blackehlo.cluestick.org Hello localhost.localdomain [127.0.0.1], pleased to meet 
you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-EXPN
250-VERB
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-DELIVERBY
250 HELP
>>> MAIL From:<[EMAIL PROTECTED]> SIZE=4751
250 2.1.0 <[EMAIL PROTECTED]>... Sender ok
>>> RCPT To:<[EMAIL PROTECTED]>
>>> DATA
250 2.1.5 <[EMAIL PROTECTED]>... Recipient ok
354 Enter mail, end with "." on a line by itself
>>> .
250 2.0.0 f5JGP0bT000291 Message accepted for delivery
[EMAIL PROTECTED] Sent (f5JGP0bT000291 Message accepted for delivery)
Closing connection to localhost
>>> QUIT
221 2.0.0 blackehlo.cluestick.org closing connection

        --suresh

-- 
Suresh Ramasubramanian + Wallopus Malletus Indigenensis
mallet @ cluestick.org + Lumber Cartel of India, tinlcI
EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin  

Reply via email to