On 21Mar2016 18:07, Peter P. <peterpar...@fastmail.com> wrote:
* Артур Истомин <art.is...@yandex.ru> [2016-03-21 16:59]:
On Mon, Mar 21, 2016 at 06:08:13AM -0400, Peter P. wrote:
> Hi list,
>
> please excuse me if this has been discusse before, but I have not found
> a satisfactory explanation in the mailing list archives or on the web.
>
> I send mail with mutt and msmtp. Apparently the "Date:" header of the
> sent mail shows my current timezone to the receiver, which I would like
> to avoid.
>
> Is there a way to do this?
You can specify the time zone by means of the TZ environment variable before
running mutt.
TZ=UTC mutt
Thank you! A most elegant quick solution!
cheers, P
On the othe hand, I do not think mutt makes the header. I'm in compose mode
right now with headers and the Date: header is not there. This suggests that
the mail system may be making yours also. So your mutt "sendmail=" settings
says what to use to dispatch email; if you make that a tiny shell script which
sets TZ and then runs sendmail (or msmtp or whatever) then you can read email
in your local timezone and have the mail system generate a UTC Date: header.
Cheers,
Cameron Simpson <c...@zip.com.au>