On 10Jul2014 10:11, Mark H. Wood <mw...@iupui.edu> wrote:
On Wed, Jul 09, 2014 at 08:02:53PM -0400, Jon LaBadie wrote:
Emperical test, I'm in the Eastern US (EDT -4:00)
I sent myself a message on another system using an
altered TZ variable.
TZ=PST8PDT mutt j...@mums.jgcomp.com
I'm old fashioned, so I used the old style TZ settings
for Western US.
The header "Date:" showed the PDT date/time.
The first "Received:" header showed the local system
received it using the actual local time (EDT).
Thank you for testing and reporting. I would say that that is just as
it should be.
It *may* be possible to have your local timezone forwarded
automatically with your remote connection. For example: if you set TZ
in your local environment, OpenSSH will try to set it in the remote
shell process. The remote sshd would have to be configured to permit
this. (See SendEnv in ssh_config(5) and AcceptEnv in sshd_config(5),
as well as ssh(1), for more details, IF you use OpenSSH.) No matter
what you use to connect, this will likely require cooperation from the
remote sysadmin.
Provided you can run a remote command you should be good:
ssh -t remotehost env TZ=$TZ mutt -f blah blah ...
Cheers,
--
Do you even know anything about perl? - AC replying to Tom Christiansen post