From: asjo@koldfront.dk (Adam Sjøgren)
Subject: Re: header error
Date: Sat, 09 Jul 2005 10:24:10 +0200 [thread overview]
Message-ID: <87slyo8k0l.fsf@koldfront.dk> (raw)
In-Reply-To: <87mzowd9gx.fsf@teufel.hartford-hwp.com>
On Sat, 09 Jul 2005 02:00:46 GMT, Haines wrote:
> I have these two lines in ~/.gnus:
> (setq user-mail-address "brownh@hartford-hwp.com")
> (setq mail-host-address "brownh@hartford-hwp.com")
This last line is definitely 100% WRONG:
,----[ C-h v mail-host-address RET ]
| `mail-host-address' is a variable declared in Lisp.
| -- loaded from "/home/mohura/packages/build-area/xemacs21-21.4.17/lisp/startup.elc"
|
| Value: "koldfront.dk"
|
| Documentation:
| *Name of this machine, for purposes of naming users.
`----
When you set this to your email-address instead of - what it says -
the name of the machine, your Message-Id will have two '@'-signs and
therefore be invalid.
Where did you get the idea to set mail-host-address like this?
[...]
> As for mail-host-address, it uses (system-name) (but I don't know how
> to display the current value of a variable in emacs).
You can use - tada - C-h v variable-name RET.
You can run a function (like (system-name)) by simply placing your
cursor after the closing paren and pressing C-x C-e.
> I am very uncertain how I should have defined /etc/mailname, but here
> I've changed it to "brownh@hartford-hwp.com", but it didn't help. I'm
> also very uncertain as to how to define /etc/hostname, and I used the
> value "teufel.hartford-hwp.com". Some places I read seemed to say I
> should use the FQDN, rather than local hostname ("teufel"). I've asked
> around on both of these issues, but never got a reply. I'd love to
> hear some wise advice here.
This is all not that relevant to Gnus (how you configure your box),
but setting user-mail-address should bypass this anyway, I would
assume.
> In any case, I don't see that it would cause the header From: line
> to be missing entirely.
No, that is a little strange. Doesn't happen here.
If I were you, I'd either locate the line in my configuration that
makes the From:-line stop appearing (by commenting out lines), or use
edebug to walk through the relevant function to see why it doesn't
appear.
Best regards,
--
"Ge mig en vinterdrog, ge mig allt du har Adam Sjøgren
Kom nu jag är kroniskt låg, bara mörkret hörs" asjo@koldfront.dk
next prev parent reply other threads:[~2005-07-09 8:24 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-08 13:25 Haines Brown
2005-07-08 14:40 ` Adam Sjøgren
2005-07-08 15:34 ` Haines Brown
2005-07-08 16:30 ` Haines Brown
2005-07-08 22:23 ` Adam Sjøgren
2005-07-09 2:00 ` Haines Brown
2005-07-09 8:24 ` Adam Sjøgren [this message]
2005-07-09 13:30 ` Haines Brown
2005-07-10 16:30 ` Haines Brown
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=87slyo8k0l.fsf@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).