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.

Emails Delayed

Discussion in 'E-mail Discussions' started by Envision5000, Nov 18, 2005.

  1. Envision5000

    Envision5000 Active Member

    Joined:
    Jul 5, 2005
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    Every week or two there is someone that sends and email and it is received 5 to 10 hours later.

    What would cause such a delay?

    I tried
    /scripts/mailperm
    /etc/rc.d/init.d/cpanel restart
    /etc/rc.d/init.d/exim restart
    /scripts/eximup --force

    Is there a fix for this?
     
  2. lloyd_tennison

    lloyd_tennison Well-Known Member

    Joined:
    Mar 12, 2004
    Messages:
    698
    Likes Received:
    1
    Trophy Points:
    18
    Check to exim logs. It could as simple as the mailbox at the receiver's end was full for a while. If it is a Yahoo account, they are having major problems with 421 errors and that then queues the email and delays it.
     
  3. Envision5000

    Envision5000 Active Member

    Joined:
    Jul 5, 2005
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    The email box has lots of room. To check the tail command I would had to know when the email is being sent.
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    You should do as lloyd_tennison says, check the exim mainlog file. If you have a late delivered email, establish the exim mail ID in the header and search for it in the exim_mainlog which should give you the history of the email on your server, which may indicate where there was a delay, if any at all.

    Common problems include:

    1. End-users not understanding the concept of timezones

    2. High server load causing email delivery to be queued

    3. Using a third-party tools such as MailScanner and having a processing backlog
     
  5. ttremain

    ttremain Well-Known Member

    Joined:
    Feb 16, 2003
    Messages:
    212
    Likes Received:
    0
    Trophy Points:
    16
    We have a situation where one client, who is a heavy mailman user, and claims he hasn't changed his patterns any, can send out mailings (to several small lists) and the server load now goes way up (exim tasks,) and it takes hours for some of the emails to be delivered.

    We've moved this client to an empty server for testing, and the same thing happens. For 6 months prior, he would send the same mailings, and exim wouldn't even hiccup over it.

    This started about 3 weeks ago, around the time we ran a manual update to "Release" (we were running an older "release" prior.)
     
  6. ttremain

    ttremain Well-Known Member

    Joined:
    Feb 16, 2003
    Messages:
    212
    Likes Received:
    0
    Trophy Points:
    16
  7. jameshsi

    jameshsi Well-Known Member

    Joined:
    Oct 22, 2001
    Messages:
    347
    Likes Received:
    0
    Trophy Points:
    16
    Sorry, but how do you search in exim_mainlog, it is a big size file, mine got 50MB.
     
  8. jameshsi

    jameshsi Well-Known Member

    Joined:
    Oct 22, 2001
    Messages:
    347
    Likes Received:
    0
    Trophy Points:
    16
    Sorry, I should use "grep" to find it, but the log file is in exim_mainlog.2.gz , and I try tar xvfz exim_mainlog.2.gz , fail to uncompress it, do u know why ?

    It shows:
    tar xvfz exim_mainlog.2.gz
    tar: This does not look like a tar archive
    tar: Skipping to next header
    tar: Archive contains obsolescent base-64 headers
    tar: Error exit delayed from previous errors
     
  9. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    If you want to search a file that has been gzipped you should use zgrep instead of grep.
     
  10. Envision5000

    Envision5000 Active Member

    Joined:
    Jul 5, 2005
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    Where is the exim_mainlog located?
     
  11. abubin

    abubin Well-Known Member

    Joined:
    Dec 7, 2004
    Messages:
    393
    Likes Received:
    1
    Trophy Points:
    18
    "locate" is your best friend when finding files.
     
  12. neo4242002

    neo4242002 Well-Known Member

    Joined:
    Jun 28, 2005
    Messages:
    119
    Likes Received:
    0
    Trophy Points:
    16
    exim_mainlog can be find under /var/log/ :)
     
  13. Envision5000

    Envision5000 Active Member

    Joined:
    Jul 5, 2005
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    is the exim_mainlog the history of all emails sent?
     
  14. webignition

    webignition Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    1,880
    Likes Received:
    0
    Trophy Points:
    36
    More or less.

    It is a record of all emails sent and received within a given period. The period is commonly determined by how often the log file is rotated, and this is quite often performed on a weekly basis.

    It then depends on your logrotate configuration as to how many weeks' backups are kept. My mail logs are rotated weekly and are kept for 4 weeks.
     
Loading...

Share This Page