Jim Breton <[EMAIL PROTECTED]> wrote on Fri, 25 Feb 2000:
> Is there a way (other than modifying the source) to change the format of
> the Date string put into messages I send?

You can't change the *format*, because that's more or less specifically
defined in the RFCs.  However I wouldn't call choosing the timezone for
the emails to be a modification of the format.

> I really just want to change
> the time zone and it looks like Mutt is writing this header (although I
> can't modify it when $edit_headers is set).

Yes, Mutt creates the Date header.  I think the reason it's not shown in
$edit_headers is that it's only created at the moment when the email is
sent.  Another alternative reason is that it's not given to the user
because it should be in that specific format.  But Mutt provides ample
other opportunities for a user to shoot him/herself in the foot, so this
shouldn't be any different, so I don't think that's the reason.

> Rather than EST I would like to use GMT.  My local machine is set to
> EST and I know I could change that, but I'm wondering if there's a way
> to change *just* mutt for this.

I don't think there's any easy way to configure to Mutt itself to change
the timezone.  What you can do is to set your $sendmail to point to a
script that strips the Date header that Mutt gives and substitutes one
which is in the right timezone.  Make sure you get the formatting right.

Your other alternative is to patch Mutt...

> If not: what would one do if he were using Mutt on a system over which
> he had no control of the system's time zone?

If it was me, I'd use the system's timezone. :-)  If I really wanted to
change it (I can't imagine why..?) I'd use a sendmail wrapper script,
like described above.


Hope this helps,
Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
"We are chasing the moon, just running wild and free"  -- The Corrs

Reply via email to