> I don't know if it's possible to remove the header altogether, but you
> can make mutt show only specific headers by using the "ignore" and
> "unignore" commands as specified in the mutt manual.
>
> In the sample starter muttrc file provided by the mutt package in my
> distribution, there are the following lines:
>
>     ignore *
>     unignore From Message-ID Date To Cc Bcc Subject

This does not work. Have you tried it yourself?

$ cat mycat.sh
#!/usr/bin/env bash
cat
$ cat temp.muttrc
set realname='My name'
set from=mya...@gmail.com
set hostname = gmail.com
set sendmail=/tmp/mycat.sh
ignore *
$ mutt -F temp.muttrc  t...@addr.com <<< abc
Date: Wed, 3 Feb 2021 10:42:55 -0600
From: My name <mya...@gmail.com>
To: t...@addr.com
Message-ID: <20210203164255.ga66...@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

abc

-- 
Regards,
Peng

Reply via email to