[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: setting the from header in outgoing mail and news
From: |
Urs Thuermann |
Subject: |
Re: setting the from header in outgoing mail and news |
Date: |
26 May 2006 21:40:05 +0200 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
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