nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] I did something wrong with replcomps

2016-12-09 09:40:39
When I changed my replcomps:

11,12c11,12
< Reply-To: Norman Shapiro <norm(_at_)dad(_dot_)org>
< From: norm(_at_)dad(_dot_)org
---
Reply-To: %(localmbox)
From: %(localmbox)

repl suddenly started inserting a spurious unadorned "cc: norm" (with no
@dad.org) into my drafts, when there is no such address in the message
being replied to.

That's from this line:

%(lit)%(formataddr{to})%(formataddr{cc})%(formataddr(me))

Specifically, the "%(formataddr(me))".  (You should probably never use
%(me) except for a very few specific things).

To give you an idea, for me:

%(me)           kenh
%(myhost)       pobox.com
%(me)@%(myhost) kenh(_at_)pobox(_dot_)com
%(localmbox)    Ken Hornstein <kenh(_at_)pobox(_dot_)com>

(Also, when you're in your replcomps, you might want to consider updating
the In-Reply-To header).

The problem is not fatal, because send will not
send such a message, but it is inconvenient.

Now, that's odd. Because I use usernames without a hostname and it works
fine for me.

--Ken

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>