Discussion:
Unable to set Reply-To
David Woodfall
2017-12-15 07:50:16 UTC
Permalink
Mutt 1.9.1 (2017-09-22)

I have a folder-hook that sources a file. The file sets sendmail and
does this:

my_hdr Reply-To: ***@mydomain.com

But it refuses to work. I know the file /is/ being sourced because
sendmail changes.

Any ideas?
David Woodfall
2017-12-15 12:39:13 UTC
Permalink
Post by David Woodfall
Mutt 1.9.1 (2017-09-22)
I have a folder-hook that sources a file. The file sets sendmail and
But it refuses to work. I know the file /is/ being sourced because
sendmail changes.
Any ideas?
More info:

I tried running mutt from CLI using -e for the my_hdr command. It did
add the Reply-To header, but not with the email address that I gave
it.

I've been googling this for hours now and nothing I try works.
Richard Z
2017-12-17 18:31:24 UTC
Permalink
Post by David Woodfall
Post by David Woodfall
Mutt 1.9.1 (2017-09-22)
I have a folder-hook that sources a file. The file sets sendmail and
But it refuses to work. I know the file /is/ being sourced because
sendmail changes.
Any ideas?
I tried running mutt from CLI using -e for the my_hdr command. It did
add the Reply-To header, but not with the email address that I gave
it.
I've been googling this for hours now and nothing I try works.
there seems to be a config var "reply_to", maybe that overrides your
my_hdr? Also, using the config var might be easier than my_hdr.


Richard
--
Name and OpenPGP keys available from pgp key servers
David Woodfall
2017-12-17 21:10:41 UTC
Permalink
Post by Richard Z
Post by David Woodfall
Post by David Woodfall
Mutt 1.9.1 (2017-09-22)
I have a folder-hook that sources a file. The file sets sendmail and
But it refuses to work. I know the file /is/ being sourced because
sendmail changes.
Any ideas?
I tried running mutt from CLI using -e for the my_hdr command. It did
add the Reply-To header, but not with the email address that I gave
it.
I've been googling this for hours now and nothing I try works.
there seems to be a config var "reply_to", maybe that overrides your
my_hdr? Also, using the config var might be easier than my_hdr.
Richard
--
Name and OpenPGP keys available from pgp key servers
From what I've read about the reply_to var it seems to be for when you
are replying to an email, rarher than setting you own Reply-To:
address.
Ian Zimmerman
2017-12-17 21:26:56 UTC
Permalink
Post by Richard Z
there seems to be a config var "reply_to", maybe that overrides your
my_hdr? Also, using the config var might be easier than my_hdr.
That variable does something quite different; it's not even a string var
but rather a quad one. See the full documentation.
--
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.
mimosinnet
2017-12-17 23:55:46 UTC
Permalink
Post by David Woodfall
Post by David Woodfall
Mutt 1.9.1 (2017-09-22)
I have a folder-hook that sources a file. The file sets sendmail and
But it refuses to work. I know the file /is/ being sourced because
sendmail changes.
Any ideas?
I tried running mutt from CLI using -e for the my_hdr command. It did
add the Reply-To header, but not with the email address that I gave
it.
I've been googling this for hours now and nothing I try works.
This is what I have to set the mutt profile:

----
set signature=~/.mutt/signatures/mutt
set envelope_from_address="***@mydomain.com"
# remove all extra headers first.
unmy_hdr *
my_hdr From: me <***@mydomain.com>
my_hdr Reply-To: mutt-***@mutt.org
---

This works. Could you send some more information of your mutt
configuration?

Cheers!
--
Mimosinnet
Linux User: #463211
41:25:16N (41.421110) 2:11:28E (2.188333)
Loading...