From: asjo@koldfront.dk (Adam Sjøgren)
Subject: Re: setting the from header in outgoing mail and news
Date: Thu, 25 May 2006 22:39:13 +0200 [thread overview]
Message-ID: <878xopc00e.fsf@topper.koldfront.dk> (raw)
In-Reply-To: <m2irntuajb.fsf@janus.isnogud.escape.de>
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
> <host>.isnogud.escape.de and Gnus therefore wants to set the From:
> header to urs@<host>.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
next prev parent reply other threads:[~2006-05-25 20:39 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 [this message]
2006-05-26 19:40 ` Urs Thuermann
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=878xopc00e.fsf@topper.koldfront.dk \
--to=asjo@koldfront.dk \
/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).