Subject: Re: Novice: How to send a mail packet?

From: [email-masked] (Paul Robinson)
Date: 15 May 1995 18:48:04 GMT

Andy Longton ([email-masked]) wrote:
: [ Article crossposted from comp.mail.headers ]
: [ Author was Andy Longton ]
: [ Posted on 17 Apr 1995 19:32:00 GMT ]

: Any help with this would be appreciated....

: I'm writing a _very_ _simple_ program to send mail using an ANSI (not 
: SLIP) modem connection.  So far, I've been able to send messages by 
: poking keystrokes into PINE.

Create an RFC 821 (SMTP) envelope, prefix your messages with RFC 841
headers, add a CR LF . CR LF between messages, and then you can use
/usr/lib/sendmail -bb in front of the file, and just send out the message
as an ascii packet into sendmail.

I'll write you privately, as this is something I'm working on.  Maybe we 
can work together on this.

--
Ask me about Listmgr - the first PC-Based mailing list manager for E-Mail.
Find out about "The Gatekeeper: The Gate Contracts" - Write to address below.
Paul Robinson - [email-masked] / [email-masked] / [email-masked]
"The Greatest Philosopher in the World, maybe the Greatest who ever lived."

---

From: [email-masked] (Kari E. Hurtta)
Date: 17 May 1995 10:25:47 GMT

[ Added comp.mail.sendmail as receiver. Followups to comp.mail.sendmail ]

[email-masked] (Paul Robinson) writes in comp.mail.{mime,pine,elm}:

»Create an RFC 821 (SMTP) envelope, prefix your messages with RFC 841
»headers, add a CR LF . CR LF between messages, and then you can use
»/usr/lib/sendmail -bb in front of the file, and just send out the message
»as an ascii packet into sendmail.

"-bb" -- What version of sendmail have that option?

That operation mode is not in sendmail 8.6 (at least):

#define MD_DELIVER      'm'             /* be a mail sender */
#define MD_SMTP         's'             /* run SMTP on standard input */
#define MD_ARPAFTP      'a'             /* obsolete ARPANET mode (Grey Book) */
#define MD_DAEMON       'd'             /* run as a daemon */
#define MD_VERIFY       'v'             /* verify: don't collect or deliver */
#define MD_TEST         't'             /* test mode: resolve addrs only */
#define MD_INITALIAS    'i'             /* initialize alias database */
#define MD_PRINT        'p'             /* print the queue */
#define MD_FREEZE       'z'             /* freeze the configuration file */