Sendmail - timestamp is wrong on sent message

Posted on 2005-04-13
Last Modified: 2013-12-16
sendmail on my fedora 1 apache server seems to be sending the wrong time. For example an email may be sent at 930am but the time displayed within the email syays 1 hour ahead, 10:30am.
date returns 930 and the proper timezone

which is the correct zone

Can some please help me figure out why sendmail is sending the wrong timestamp

thanks for your help
Question by:BFirth
    LVL 9

    Expert Comment

    by:David Piniella
    check your TimeZone field in your sendmail config

    Author Comment

    The TimeZone field in the sendmail config is set to use system default. System default is set to my timezone but as it be any email sent by sendmail is 1 hour ahead
    LVL 9

    Expert Comment

    by:David Piniella
    when was the last time you ran tzconfig?

    Author Comment

    the version of linux I'm running(fedora 1) doesn't have tzconfig, unless it is under a different command.
    LVL 38

    Accepted Solution

    As root in Xwindow, type
    to set your time and timezone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
    SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
    Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    23 Experts available now in Live!

    Get 1:1 Help Now