On Sat, 2002-03-16 at 00:59, Robert Pluim wrote:
Simon Josefsson writes:
> Ville Skyttä <ville.skytta(a)xemacs.org> writes:
>
> > Thought it would be useful to check the REPLYTO environment variable
> > when finding user-mail-address.
>
> I don't agree -- trn, elm, etc use the REPLYTO environment variable to
> populate the Reply-To: header, and this is also how sendmail.el
> already behaves. I haven't seen it being used to populate the From:
> address, and isn't `user-mail-address' used for other things
> (anonymous ftp address, changelog entries etc) as well? It doesn't
> seem like the right thing.
>
> What do you think?
There are good reasons why the two headers are distinct. Some people
have situations that force a particular From header, but have liberty
in setting the Reply-To (I used to have this). I don't think
populating user-mail-address from REPLYTO would be a good idea.
Well, I must agree. I tried to find an "standard" env variable that
would be used to tell the _sender_ address and REPLYTO was the closest
one I found. Why? Because I think "user-login-name@system-name" too
often produces addresses that cannot be used for mail delivery.
If there is a "standard" env var that is used for a sender address,
please let me know... I guess that could be used for populating
user-mail-address instead of REPLYTO.
--
Ville Skyttä
ville.skytta(a)xemacs.org