Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Urs Thuermann <urs@isnogud.escape.de>
Subject: Re: setting the from header in outgoing mail and news
Date: 26 May 2006 21:40:05 +0200	[thread overview]
Message-ID: <m2ejyginhm.fsf@janus.isnogud.escape.de> (raw)
In-Reply-To: <878xopc00e.fsf@topper.koldfront.dk>

asjo@koldfront.dk (Adam Sjøgren) writes:

> > How can I make Gnus use the correct From: header in mail and news?
> 
> Does it help to set user-mail-address?
> 
> Like this, in your ~/.gnus, perhaps:
> 
>  (setq user-mail-address "urs@isnogud.escape.de")
> 
> ,----[ C-h v user-mail-address RET ]
> | `user-mail-address' is a variable declared in Lisp.
> |   -- loaded from "sendmail"
> | 
> | Value: "asjo@koldfront.dk"
> | 
> | Documentation:
> | *Full mailing address of this user.
> | This is initialized based on `mail-host-address',
> | after your init file is read, in case it sets `mail-host-address'.
> `----
> 
> Perhaps it is sufficient to set mail-host-address in your .emacs

Ah, thanks for your prompt answer.  Setting mail-host-address in
.emacs does exactly what I want.  I think I should set it in
/usr/share/emacs/site-lisp/site-start.el so that it works for all
users.


urs

      reply	other threads:[~2006-05-26 19:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-25 20:14 Urs Thuermann
2006-05-25 20:39 ` Adam Sjøgren
2006-05-26 19:40   ` Urs Thuermann [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2ejyginhm.fsf@janus.isnogud.escape.de \
    --to=urs@isnogud.escape.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).