You are not logged in.

#1 2011-08-07 02:01:13

jbiggs12
Member
From: USA
Registered: 2011-08-07
Posts: 14
Website

Mutt woes

Hi, I've been having various problems with my Mutt configuration.

My first issue is that various addresses of mine funnel into the same gmail account, and I'd like to change the default sender's address to the address the message was sent to when I compose my reply.

Second, I'd like to edit the default headers Mutt uses so that I can specify a PGP public key and set the Content-Type to html so that I can compose HTML email with Markdown.

Any help would be greatly appreciated.

Offline

#2 2011-08-07 03:05:09

Stebalien
Member
Registered: 2010-04-27
Posts: 1,237
Website

Re: Mutt woes

1. Set reverse_name: http://wiki.mutt.org/?MuttFaq/Header
2. Use my_hdr <header>


Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C
Do not email: honeypot@stebalien.com

Offline

#3 2011-08-07 03:26:43

jbiggs12
Member
From: USA
Registered: 2011-08-07
Posts: 14
Website

Re: Mutt woes

Stebalien wrote:

1. Set reverse_name: http://wiki.mutt.org/?MuttFaq/Header
2. Use my_hdr <header>

my_hdr doesn't work because the Content-Type is apparently already specified. I can change it from the compose menu by using ^t, but as previously stated I'd rather not have to do that every single time. Any way to edit the default header?

edit: also, from the reverse_name link you sent me, should I edit the lines that say default@address.tld, or should I leave them be?

Last edited by jbiggs12 (2011-08-07 03:29:15)

Offline

#4 2011-08-07 04:00:23

Stebalien
Member
Registered: 2010-04-27
Posts: 1,237
Website

Re: Mutt woes

Everything you need can be found in the manual (man muttrc).
You can specify the content type with:

set content_type="text/html"

And yes, you need to change default@address.ltd to your default/main/fallback address. You also need to change alternates to a list of your alternate email addresses.


Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C
Do not email: honeypot@stebalien.com

Offline

#5 2011-08-07 04:25:49

jbiggs12
Member
From: USA
Registered: 2011-08-07
Posts: 14
Website

Re: Mutt woes

Stebalien wrote:

Everything you need can be found in the manual (man muttrc).
You can specify the content type with:

set content_type="text/html"

And yes, you need to change default@address.ltd to your default/main/fallback address. You also need to change alternates to a list of your alternate email addresses.


Many thanks. All squared away there. One final question: Is there any way to pipe the composed message through a command on vim's exit? At the moment I'm just piping through markdown within vim, but it'd be nice if mutt could do this automagically.

Offline

#6 2011-08-07 09:29:33

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: Mutt woes

jbiggs12 wrote:

My first issue is that various addresses of mine funnel into the same gmail account, and I'd like to change the default sender's address to the address the message was sent to when I compose my reply.

I've been looking for a way to do that for some time, thanks for this and thanks Stebalien for the solution, works great here. Now mutt is completed for me and works 100% perfect.

Offline

Board footer

Powered by FluxBB