On Wed, 26 Jan 2000, Satya wrote:
> On Jan 26, 2000 at 17:50, Philip S Tellis wrote:
>
> > pine's userdomain is a problem because then I get
> > <localuser>@<remotedomain> then people try to reply to that address. So
>
> And why is that a problem?
Because the mail will either bounce, or go to the wrong person. See, my
address is [EMAIL PROTECTED], but pine will send the mail from
[EMAIL PROTECTED]
> > The best solution I can think of is to use smtp rather than sendmail.
>
> Er... isn't sendmail an smtp daemon?
sendmail is an smtp daemon, but can also be run as a standalone program
(without running as a daemon). Pine writes directly to sendmail and does
not make an smtp connection (which is what oe and netscape messenger do).
When you write directly to sendmail -t, you do this:
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: sendmail/localhost
My mail
^D
sendmail does this:
open smtp socket with destination server (ilug-bom.org)
< 220
> helo <localdomain>
< 250
> mail from: <localuser>@<localdomain>
< 250 if accepted
> rcpt to: [EMAIL PROTECTED]
< 250
> data
< 354
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: sendmail/localhost
>
> My mail
>
>
> .
< 250
> quit
< 221
But when you make the smtp connection yourself, you can rewrite the mail
from: line to show the correct address. This is what oe and nm do.
I could be wrong however, because I have seen very few of the mail headers
that have originated from my office.
Philip
To subscribe / unsubscribe goto the site www.ilug-bom.org ., click on the mailing list
button and fill the appropriate information
and submit. For any other queries contact the ML maintener