From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/7394 Path: news.gmane.org!not-for-mail From: asjo@koldfront.dk (Adam =?iso-8859-1?Q?Sj=F8gren?=) Newsgroups: gmane.emacs.gnus.user Subject: Re: setting the from header in outgoing mail and news Date: Thu, 25 May 2006 22:39:13 +0200 Organization: koldfront - analysis & revolution, Copenhagen, Denmark Message-ID: <878xopc00e.fsf@topper.koldfront.dk> References: 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 1148589647 22972 80.91.229.2 (25 May 2006 20:40:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 25 May 2006 20:40:47 +0000 (UTC) Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Thu May 25 22:40:46 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 1FjMdP-00080Q-Ab for gegu-info-gnus-english@m.gmane.org; Thu, 25 May 2006 22:40:45 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FjMdO-0000Y3-S9 for gegu-info-gnus-english@m.gmane.org; Thu, 25 May 2006 16:40:42 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.gamma.ru!Gamma.RU!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.arcor.de!feed.xsnews.nl!feeder.xsnews.nl!193.201.147.77.MISMATCH!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed101.telia.com!nf02.dk.telia.net!news.bunk.cc!news.koldfront.dk!pnx.dk!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 49 Original-NNTP-Posting-Host: topper.koldfront.local Original-X-Trace: virgil.koldfront.dk 1148589556 4691 192.168.1.160 (25 May 2006 20:39:16 GMT) Original-X-Complaints-To: abuse@koldfront.dk Original-NNTP-Posting-Date: Thu, 25 May 2006 20:39:16 +0000 (UTC) X-Face: )qY&CseJ?.:=8F#^~GcSA?F=9eu'{KAFfL1C3/A&:nE?PW\i65"ba0NS)97, Q(^@xk}n4Ou rPuR#V8I(J_@~H($[ym:`K_+]*kjvW>xH5jbgLBVFGXY:(#4P>zVBklLbdL&XxL\M)%T}3S/IS9lMJ ^St'=VZBR 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:7394 Archived-At: On 25 May 2006 22:14:32 +0200, Urs wrote: > I have a domain "isnogud.escape.de" which I use for the From: header > in mail and news. All my machines have hostnames > .isnogud.escape.de and Gnus therefore wants to set the From: > header to urs@.isnogud.escpae.de, which is not a valid email > address. > For mail I fix this with sendmail masquerading, for news I always have > to add the correct From: header by hand. This is not only nasty (and > I sometimes forget to set the header causing news posting with invalid > email address), it also prevents me from canceling my news postings > since Gnus thinks my articles are not my own when I try to cancel. > This is probably because the From: header is different from what Gnus > would put there. > I have searched the Gnus manual but didn't find the solution. I have > an old .gnus file which contains the setting of the variable > gnus-use-generic-from, which I thought I have found in the docs quite > some time ago, but which I can't find anymore. It also doesn't work. > 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 Best regards, -- "Our hero regains consciousness at the feet of a Adam Sjøgren sarcastic alien..." asjo@koldfront.dk