The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Where does timestamp come from with exim/mailscanner

Discussion in 'E-mail Discussions' started by noimad1, Sep 14, 2009.

  1. noimad1

    noimad1 Well-Known Member

    Joined:
    Mar 27, 2003
    Messages:
    627
    Likes Received:
    0
    Trophy Points:
    16
    Can anyone tell me where exim/mailscanner get's it's timestamp from on mail?

    For some reason on one of my servers the timestamp on the mail is like 30 or so minutes off of the server time?
     
  2. MattCurry

    MattCurry Well-Known Member

    Joined:
    Aug 18, 2009
    Messages:
    275
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Houston, Tx
    Exim Timestamp

    Hello,


    In this particular case as with most cases, the client prepares the header and the SMTP server sends it. So this would not be the server's time, it would be from the client machine if they are using a client. If that's the case, I would compare the time on the client machine against the header. Please let me know if this doesn't work for you. Of course you are also always welcome to submit a ticket via the link at the bottom of this post as well.

    Thank you,
    Matthew Curry
     
  3. noimad1

    noimad1 Well-Known Member

    Joined:
    Mar 27, 2003
    Messages:
    627
    Likes Received:
    0
    Trophy Points:
    16
    Well that's what I was thinking at first as well, however, I just did another test by sending directly from the webmail on the server out to an external account, and when I grep through my exim_mainlog sure enough the time shows 15:19:03 when it is really 15:48:02.

    Now, on this particular account the customer uses postini as an external anti-spam software. Now in his mail-headers when he gets mail I see where postini has timestamped it correctly...but our server seems to have the wrong time.

    When I go to the server-time in the WHM it shows the correct time there?

    Oh, one more thing I just noticed...all the logs are logging at the incorrect time...I just looked at the /var/log/messages and it is showing the 30 or so minute wrong time as well.

    So I guess the bigger question is where do the logs get the timestamp from?
     
  4. noimad1

    noimad1 Well-Known Member

    Joined:
    Mar 27, 2003
    Messages:
    627
    Likes Received:
    0
    Trophy Points:
    16
    *bump*...anyone know where the logs get their timestamp from?
     
  5. noimad1

    noimad1 Well-Known Member

    Joined:
    Mar 27, 2003
    Messages:
    627
    Likes Received:
    0
    Trophy Points:
    16
    Sorry, got to bump this one more time.
     
Loading...

Share This Page