On 22Mar16 08:40 +1100, Cameron Simpson wrote:
> >>TZ=UTC mutt
> >Thank you! A most elegant quick solution!
> 
> On the othe hand, I do not think mutt makes the header. 

The input to my sendmail= script lists a date header. (1.5.24)
So, mutt does it I assume.

> I'm in compose mode right now with headers and the Date: header is not
> there.
  
Wild guess: Date: is added right before sending 'y' ?

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

Further idea:
 - Use the sendmail= script to modify the date header
 - Or configure/hack msmtp to rewrite/modify it


Cheers,
-- 
Bastian

Reply via email to