On Sun, 29 Oct 2000 19:45:10 +0000,
H a m m e r <[EMAIL PROTECTED]> wrote:
>
> Howard Schwartz wrote to the SurvPC list:
>>
>> ... In fact Mr. Cole wrote
>> a send only program called, sendmail.exe, that gives different
>> exit codes for different types of errors.
>
> Where could this be found ? Sound like something I'm looking for.

I believe this is the sendmail.exe that comes with Lynx386.

> Only (and this is making me suspicious) what would be the (header)
> format of this thingy ?

Glue.

> For instance, what precisely *is* a "glue header" ?  Is there an exact
> definition/description of the header format in the doc ?  And is there
> a means to change/adjust the (SMTP-relevant) header lines (eg., I would
> need to ad specific "Content-Type:" and "Content-Transfer-Encoding:"
> lines) ?

An easy way to see what a message with a "glue header" looks like,
is to use the glue.exe program that Howard Schwartz mentioned.
(Thanks for the tip, Howard).

You have to distinguish between the envelope and the data of an
email message, which is not the same thing as the headers and the
body. The "glue header" contains the addresses that will go in
the envelope (mail from and rcpt to). Everything else (headers
and body) is in the data portion of the message. They are not a
function of the smtp mailer.

Similarly, using the .txt/.wrk format, the .wrk file contains the
addresses that will go in the envelope (along with the mailhost),
while everything else (headers and body) is in the .txt file.

Normally the addresses in the envelope will be the same as those
in the data portion (From:, To:, Cc:). The glue.exe program takes
the addresses from the data and creates a "glue header" which it
"glues" to the top of the message so that the message can be sent
using a Pegasus type mailer.

Similarly the smofsend.exe program will take the addresses from
the same message and create a .txt file, which is the message
itself, and a .wrk file, so that the message can be sent using a
KA9Q type mailer.

In both cases it is possible to edit the files before they are
sent, so that the addresses in the envelope are not the same as
the addresses in the data. The mailer uses the addresses in the
envelope.

> I couldn't find a corresponding thing to
> upload mails on that same run (on back of a loaded dosppp). "xmailn"
> for instance, uses a peculiar and nowhere plainly revealed header
> format, and thus, creating mails for its use seems rather hopeless.

I discovered recently that "x_mailn" behaves differently than the
older "x_mail" in its handling of the sender address. The latter
simply uses the address in the From: line of the message as the
envelope from, while the behaviour of the former is somewhat more
complicated. For this reason, I reverted to the older program.

Howard E.
Ottawa, Canada

--
DOS TCP/IP * http://www.ncf.ca/~ag221/dosppp.html

To unsubscribe from SURVPC send a message to [EMAIL PROTECTED] with 
unsubscribe SURVPC in the body of the message.
Also, trim this footer from any quoted replies.
More info can be found at;
http://www.softcon.com/archives/SURVPC.html

Reply via email to