From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/7411 Path: news.gmane.org!not-for-mail From: Urs Thuermann Newsgroups: gmane.emacs.gnus.user Subject: Re: setting the from header in outgoing mail and news Date: 26 May 2006 21:40:05 +0200 Organization: escape e.V. - Verein zur Foerderung der Datenkommuniation Message-ID: References: <878xopc00e.fsf@topper.koldfront.dk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1148676039 11605 80.91.229.2 (26 May 2006 20:40:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 26 May 2006 20:40:39 +0000 (UTC) Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Fri May 26 22:40:37 2006 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Fjj6o-0005XK-W7 for gegu-info-gnus-english@m.gmane.org; Fri, 26 May 2006 22:40:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fjj6o-0007ex-2g for gegu-info-gnus-english@m.gmane.org; Fri, 26 May 2006 16:40:34 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news3.google.com!news2.volia.net!npeer.de.kpn-eurorings.net!gaertner.de!escape.de!janus.isnogud.escape.de!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 31 Original-NNTP-Posting-Host: janus.isnogud.escape.de User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 Original-Xref: shelby.stanford.edu gnu.emacs.gnus:77594 Original-To: info-gnus-english@gnu.org X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:7411 Archived-At: 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