Re: set Bcc when To: is not myself

2017-12-17 Thread David Woodfall

How can I set the Bcc: to myself when To: is not myself?

I try something like this but it does not work:
   send-hook "!~t ablacktsh...@gmail.com" 'my_hdr Bcc: Yubin Ruan 
'

Then I try this and it work when I try to send a fresh email:

   send-hook "~t ablacktshirt" 'my_hdr Bcc:'
   send-hook . 'my_hdr Bcc: Yubin Ruan '

however when I reply to somebody, it does not work. Frustrating! ;-(

   Yubin


I read in an old post that changing/setting headers doesn't work with
send-hook.

You may want to try a folder-hook perhaps?


why :command does not work

2017-12-17 Thread Yubin Ruan
Why :command fails to execute the `command'. Doesn't mutt work like vim?

Yubin


set Bcc when To: is not myself

2017-12-17 Thread Yubin Ruan
How can I set the Bcc: to myself when To: is not myself?

I try something like this but it does not work:
send-hook "!~t ablacktsh...@gmail.com" 'my_hdr Bcc: Yubin Ruan 
'

Then I try this and it work when I try to send a fresh email:

send-hook "~t ablacktshirt" 'my_hdr Bcc:'
send-hook . 'my_hdr Bcc: Yubin Ruan '

however when I reply to somebody, it does not work. Frustrating! ;-(

Yubin


Re: Unable to set Reply-To

2017-12-17 Thread mimosinnet

El Friday, 15 de December del 2017 a les 12:39, David Woodfall va escriure:


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: m...@mydomain.com

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.


This is what I have to set the mutt profile:


set signature=~/.mutt/signatures/mutt
set envelope_from_address="m...@mydomain.com"
# remove all extra headers first.
unmy_hdr *
my_hdr From:me 
my_hdr Reply-To:mutt-users@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)


Re: Unable to set Reply-To

2017-12-17 Thread Ian Zimmerman
On 2017-12-17 19:31, Richard Z wrote:

> 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.


Re: Unable to set Reply-To

2017-12-17 Thread David Woodfall

On Fri, Dec 15, 2017 at 12:39:13PM +, David Woodfall wrote:

>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: m...@mydomain.com
>
>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.


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.


Re: Unable to set Reply-To

2017-12-17 Thread Richard Z
On Fri, Dec 15, 2017 at 12:39:13PM +, David Woodfall wrote:
> >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: m...@mydomain.com
> >
> >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.

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