Re: Where's the MAIL FROM line?

2002-01-02 Thread David T-G

Cliff, et al --

...and then Cliff Sarginson said...
% 
% On Tue, Jan 01, 2002 at 10:53:39PM -0500, David T-G wrote:
%  
%  ...and then Philip Mak said...
%  % 
%  % Is it possible to see the SMTP MAIL FROM line of a message in my
...
%  If you mean the ^From_ line that looks about like
%  
%From user@domain Day Mon NN TT:TT:TT 
...
% 
% I don;t think he means that, and you can see what you refer to, viz:
% 
% From [EMAIL PROTECTED]  Wed Jan  2
% 04:57:29 2002

No, I know that.  I simply didn't want to post such a concrete example :-)


% 
% I think he means the MAIL FROM that is part of the SMTP dialog that
% goes on between MTA's.

Ah.


% 
% As in...
% 
% cliff@tanya:~ telnet localhost 25
...
% 250 tanya.raggedclown.local
% MAIL FROM: baggins
% 250 Ok
...
% QUIT
% 221 Bye
% Connection closed by foreign host.

Hokay.  Gotcha there.


% 
% Well, since it is not part of the message, I guess you cannot.

But it's used for message information, no?  It becomes the ^From: line,
or at least so it appears.  That's why it's so easy to fake and so on,
too, but it looks like whatever is put there would show up in the header.


% 
% -- 
% Regards
% Cliff
% 


:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg22088/pgp0.pgp
Description: PGP signature


Re: Where's the MAIL FROM line?

2002-01-02 Thread Philip Mak

On Wed, 2 Jan 2002, David T-G wrote:

 But it's used for message information, no?  It becomes the ^From: line,
 or at least so it appears.  That's why it's so easy to fake and so on,
 too, but it looks like whatever is put there would show up in the header.

It's not the ^From: line. For example, when I send e-mail to
[EMAIL PROTECTED], I think the SMTP transaction goes something like
this:

$ telnet localhost 25
HELO localhost
MAIL FROM:[EMAIL PROTECTED]
RCPT TO:[EMAIL PROTECTED]
DATA
From: Philip Mak [EMAIL PROTECTED]
To: Mutt Users' List [EMAIL PROTECTED]
Subject: Re: Where's the MAIL FROM line?

Message text goes here.
.

The MAIL FROM line is not necessarily the same as the ^From: line. In
mbox format, the former shows up as From user[@domain] date on the
first line of the message, but Maildir format doesn't have that.




Re: Where's the MAIL FROM line?

2002-01-02 Thread Ben Reser

On Wed, Jan 02, 2002 at 05:24:57AM +0100, Cliff Sarginson wrote:
 I think he means the MAIL FROM that is part of the SMTP dialog that
 goes on between MTA's.

If so my mail server puts it as part of the Received header like so:
Received: from ns.gbnet.net ([EMAIL PROTECTED] [194.70.126.10])
by stroke.of.genius.brain.org (8.11.6/8.11.6) with SMTP id
g024PN200332 for [EMAIL PROTECTED]; Tue, 1 Jan 2002
20:25:23 -0800 (PST)

Take note of the for [EMAIL PROTECTED] bit.

-- 
Ben Reser [EMAIL PROTECTED]
http://ben.reser.org

I wish it need not have happened in my time, said Frodo.
So do I, said Gandalf, and so do all who live in such times. But
that is not for them to decide.  All we have to decide is what to do
with the time that is given us.



Re: Where's the MAIL FROM line?

2002-01-02 Thread David T-G

Ben, et al --

...and then Ben Reser said...
% 
% On Wed, Jan 02, 2002 at 05:24:57AM +0100, Cliff Sarginson wrote:
%  I think he means the MAIL FROM that is part of the SMTP dialog that
%  goes on between MTA's.
% 
% If so my mail server puts it as part of the Received header like so:
% Received: from ns.gbnet.net ([EMAIL PROTECTED] [194.70.126.10])
% by stroke.of.genius.brain.org (8.11.6/8.11.6) with SMTP id
%   g024PN200332 for [EMAIL PROTECTED]; Tue, 1 Jan 2002
%   20:25:23 -0800 (PST)
% 
% Take note of the for [EMAIL PROTECTED] bit.

Are you sure that's not the RCPT TO: part?


% 
% -- 
% Ben Reser [EMAIL PROTECTED]
% http://ben.reser.org
% 
% I wish it need not have happened in my time, said Frodo.
% So do I, said Gandalf, and so do all who live in such times. But
% that is not for them to decide.  All we have to decide is what to do
% with the time that is given us.


HTH  HAND  Happy New Year to all

:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg22098/pgp0.pgp
Description: PGP signature


Re: Where's the MAIL FROM line?

2002-01-02 Thread Cliff Sarginson

On Wed, Jan 02, 2002 at 07:16:10AM -0500, Philip Mak wrote:
 On Wed, 2 Jan 2002, David T-G wrote:
 
  But it's used for message information, no?  It becomes the ^From: line,
  or at least so it appears.  That's why it's so easy to fake and so on,
  too, but it looks like whatever is put there would show up in the header.
 
 It's not the ^From: line. For example, when I send e-mail to
 [EMAIL PROTECTED], I think the SMTP transaction goes something like
 this:
 
 $ telnet localhost 25
 HELO localhost
 MAIL FROM:[EMAIL PROTECTED]
 RCPT TO:[EMAIL PROTECTED]
 DATA
 From: Philip Mak [EMAIL PROTECTED]
 To: Mutt Users' List [EMAIL PROTECTED]
 Subject: Re: Where's the MAIL FROM line?
 
 Message text goes here.
 .
 
 The MAIL FROM line is not necessarily the same as the ^From: line. In
 mbox format, the former shows up as From user[@domain] date on the
 first line of the message, but Maildir format doesn't have that.

Yup.

-- 
Regards
Cliff





Re: Where's the MAIL FROM line?

2002-01-02 Thread Ben Reser

On Wed, Jan 02, 2002 at 07:47:14AM -0500, David T-G wrote:
 Are you sure that's not the RCPT TO: part?

Your right.  This is what happens when I post late at night. :)

-- 
Ben Reser [EMAIL PROTECTED]
http://ben.reser.org

I wish it need not have happened in my time, said Frodo.
So do I, said Gandalf, and so do all who live in such times. But
that is not for them to decide.  All we have to decide is what to do
with the time that is given us.



Where's the MAIL FROM line?

2002-01-01 Thread Philip Mak

Is it possible to see the SMTP MAIL FROM line of a message in my
mailbox, or does Maildir format strip that information out before storing
it?




Re: Where's the MAIL FROM line?

2002-01-01 Thread David T-G

Philip --

Hey, what are you doing still using PINE??!


...and then Philip Mak said...
% 
% Is it possible to see the SMTP MAIL FROM line of a message in my
% mailbox, or does Maildir format strip that information out before storing
% it?

If you mean the ^From_ line that looks about like

  From user@domain Day Mon NN TT:TT:TT 

then you won't find it; that's part of the mbox format.  If not, I'm
interested in what it is also, since I haven't heard of it.


:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg22079/pgp0.pgp
Description: PGP signature


Re: Where's the MAIL FROM line?

2002-01-01 Thread Cliff Sarginson

On Tue, Jan 01, 2002 at 10:53:39PM -0500, David T-G wrote:
 Philip --
 
 Hey, what are you doing still using PINE??!
 
 
 ...and then Philip Mak said...
 % 
 % Is it possible to see the SMTP MAIL FROM line of a message in my
 % mailbox, or does Maildir format strip that information out before storing
 % it?
 
 If you mean the ^From_ line that looks about like
 
   From user@domain Day Mon NN TT:TT:TT 
 
 then you won't find it; that's part of the mbox format.  If not, I'm
 interested in what it is also, since I haven't heard of it.

I don;t think he means that, and you can see what you refer to, viz:

From [EMAIL PROTECTED]  Wed Jan  2
04:57:29 2002

I think he means the MAIL FROM that is part of the SMTP dialog that
goes on between MTA's.

As in...

cliff@tanya:~ telnet localhost 25
Trying ::1...
Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 tanya.raggedclown.local ESMTP
helo sailor
250 tanya.raggedclown.local
MAIL FROM: baggins
250 Ok
RCPT TO: frodo
250 Ok
DATA
354 End data with CRLF.CRLF
Hello sailor

.

QUIT
221 Bye
Connection closed by foreign host.

Well, since it is not part of the message, I guess you cannot.

-- 
Regards
Cliff