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.

Email startup before timezone set creating problems

Discussion in 'E-mail Discussions' started by Richard Powell, Oct 11, 2016.

  1. Richard Powell

    Richard Powell Registered

    Joined:
    Oct 11, 2016
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Portland, OR
    cPanel Access Level:
    Root Administrator
    I have this problem that occurs anytime I need to reboot a cPanel server. I've got a Barracuda spam firewall that will hold on to incoming emails, and then immediately deliver them the moment port 25 opens up on the cPanel server.

    The problem is that port 25 opens up before the time zone (-8 hours in my case) is set. This results in emails having a time stamp of 8 hours in the future. While this may not seem like a critical issue, I've got one customer this has happened to twice in the last 45 days due to me having to reboot the server unexpectedly. And because of the way her iPhone displays the emails, she's not seeing the messages until 8 hours later, or not at all in some cases. I could see this being a potential problem with any IMAP client.

    Does anyone have ideas to resolve this issue?

    I'm currently thinking of 1) some way to set the timezone earlier in the boot process, or 2) delay Exim from starting up until much later in the boot process.

    Anyone else have a better, simpler idea?
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,468
    Likes Received:
    196
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    There really are very few reasons to reboot a server. You might look into solving the reasons you have to.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,811
    Likes Received:
    667
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page