Gnus development mailing list
 help / color / mirror / Atom feed
* [patch] message.el
@ 2000-06-24 19:43 Fabrice Popineau
  2000-06-24 21:27 ` Florian Weimer
  2000-06-24 23:02 ` [patch] message.el Kai Großjohann
  0 siblings, 2 replies; 6+ messages in thread
From: Fabrice Popineau @ 2000-06-24 19:43 UTC (permalink / raw)


Hi,

Is it possible to apply the following patch :

--- message.el~ Fri Jun 09 15:36:58 2000
+++ message.el  Sat Jun 24 21:04:53 2000
@@ -3091,7 +3091,8 @@
   "Return the \"real\" user address.
 This function tries to ignore all user modifications, and
 give as trustworthy answer as possible."
-  (concat (user-login-name) "@" (system-name)))
+  (or (message-user-mail-address)
+      (concat (user-login-name) "@" (system-name))))

 (defun message-make-address ()
   "Make the address of the user."

Possibly, conditionalize it by os is windows. But currently, chances
are great that the returned value be false under windows.

-- 
Fabrice POPINEAU
------------------------
e-mail:       Fabrice.Popineau@supelec.fr  |  The difference between theory 
voice-mail:   +33 (0) 387764715            |  and practice, is that
surface-mail: Supelec, 2 rue E. Belin,     |  theoretically,
	      F-57078 Metz Cedex 3         |  there is no difference !




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [patch] message.el
  2000-06-24 19:43 [patch] message.el Fabrice Popineau
@ 2000-06-24 21:27 ` Florian Weimer
  2000-06-28 21:07   ` Fabrice Popineau
  2000-12-04  4:34   ` message.el Greg Stark
  2000-06-24 23:02 ` [patch] message.el Kai Großjohann
  1 sibling, 2 replies; 6+ messages in thread
From: Florian Weimer @ 2000-06-24 21:27 UTC (permalink / raw)


Fabrice Popineau <Fabrice.Popineau@supelec.fr> writes:

> Possibly, conditionalize it by os is windows. But currently, chances
> are great that the returned value be false under windows.

Chances are great that "message-make-sender" returns a bogus address
on many systems.  In the past, Lars expressed several times that he
feels that's right, anyway.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [patch] message.el
  2000-06-24 19:43 [patch] message.el Fabrice Popineau
  2000-06-24 21:27 ` Florian Weimer
@ 2000-06-24 23:02 ` Kai Großjohann
  1 sibling, 0 replies; 6+ messages in thread
From: Kai Großjohann @ 2000-06-24 23:02 UTC (permalink / raw)
  Cc: ding

Fabrice Popineau <Fabrice.Popineau@supelec.fr> writes:

> Possibly, conditionalize it by os is windows. But currently, chances
> are great that the returned value be false under windows.

IMHO, the old behavior does not make sense in any case.  It is not
possible to automatically find out what is the email address of the
sender of the current message, anyway.

The only possibility I can think of is that someone writes a message
but manually changes the From header.  (Or maybe the From header is
changed from the posting styles, or from gnus-pers.el.)  In this case,
the sender would be different from the From header, and
user-mail-address should be put into the Sender header (if set).

kai
-- 
I like BOTH kinds of music.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [patch] message.el
  2000-06-24 21:27 ` Florian Weimer
@ 2000-06-28 21:07   ` Fabrice Popineau
  2000-08-14 18:40     ` Lars Magne Ingebrigtsen
  2000-12-04  4:34   ` message.el Greg Stark
  1 sibling, 1 reply; 6+ messages in thread
From: Fabrice Popineau @ 2000-06-28 21:07 UTC (permalink / raw)
  Cc: ding


It is definitely bogus on my laptop : "Fabrice Popineau@neveryon" is
refused by the nntp server ! Or this just means that somewhere,
message-make-sender has been used in place of message-make-address (?).


-- 
Fabrice 




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [patch] message.el
  2000-06-28 21:07   ` Fabrice Popineau
@ 2000-08-14 18:40     ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 6+ messages in thread
From: Lars Magne Ingebrigtsen @ 2000-08-14 18:40 UTC (permalink / raw)


Fabrice Popineau <Fabrice.Popineau@supelec.fr> writes:

> It is definitely bogus on my laptop : "Fabrice Popineau@neveryon" is
> refused by the nntp server ! Or this just means that somewhere,
> message-make-sender has been used in place of message-make-address (?).

No, this means that your setup is invalid.  (user-login-name) should
return your login name.

-- 
(domestic pets only, the antidote for overdose, milk.)
   larsi@gnus.org * Lars Magne Ingebrigtsen



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: message.el
  2000-06-24 21:27 ` Florian Weimer
  2000-06-28 21:07   ` Fabrice Popineau
@ 2000-12-04  4:34   ` Greg Stark
  1 sibling, 0 replies; 6+ messages in thread
From: Greg Stark @ 2000-12-04  4:34 UTC (permalink / raw)
  Cc: ding


Florian Weimer <fw@deneb.enyo.de> writes:

> Fabrice Popineau <Fabrice.Popineau@supelec.fr> writes:
> 
> > Possibly, conditionalize it by os is windows. But currently, chances
> > are great that the returned value be false under windows.
> 
> Chances are great that "message-make-sender" returns a bogus address
> on many systems.  In the past, Lars expressed several times that he
> feels that's right, anyway.

Ok, so this is a real problem now. The problem is that he's correct for NNTP.
The Sender header in NNTP is supposed to be there to help track down where the
message really came from, not to actually be a deliverable address. However
it's wrong for mail messages. In mail messages the Sender header is supposed
to be the e-mail address of the person actually sending the e-mail in cases
such as when a secretary is sending an e-mail for someone else.

This has caused problems for me a few times. Some windows software actually
uses the Sender header in preference to the From header. Also some list
processing software (brokenly imho, even if you accept the interpretation
above) try to subscribe the Sender address rather than the From address.

Probably the sender header should simply be stripped from mail messages since
there really is no consensus on how it should be used. If anything I would
suggest message check when preparing to send the message if the From header is
the same as it would be initialized. If it's been altered by the user in the
message buffer then message should ask whether to add a Sender header
indicating the actual sender.

Unfortunately this is one of those cases where news articles and mail messages
don't have precisely the same interpretation for the same header.

-- 
greg




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2000-12-04  4:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-06-24 19:43 [patch] message.el Fabrice Popineau
2000-06-24 21:27 ` Florian Weimer
2000-06-28 21:07   ` Fabrice Popineau
2000-08-14 18:40     ` Lars Magne Ingebrigtsen
2000-12-04  4:34   ` message.el Greg Stark
2000-06-24 23:02 ` [patch] message.el Kai Großjohann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).