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 reception delayed several days for some messages.

Discussion in 'E-mail Discussions' started by jols, May 4, 2006.

  1. jols

    jols Well-Known Member

    Mar 13, 2004
    Likes Received:
    Trophy Points:
    We keep getting reports of email reception being delayed for days, for some incoming messages.

    Our email queue in WHM is often something like 16 days deep.

    I have just come accross the following in another forum, and would like to ask those who know exim if the following makes sense:

    I get tons and tons of mails in the queue too, so what I do when I'm setting up a new server, I login via SSH and set up in the crontab:

    25 5 * * * /usr/sbin/exim_tidydb -t 1d /var/spool/exim retry > /dev/null
    30 5 * * * /usr/sbin/exim_tidydb -t 1d /var/spool/exim reject > /dev/null
    35 5 * * * /usr/sbin/exim_tidydb -t 1d /var/spool/exim wait-remote_smtp > /dev/null

    And also I set up a cron to run this a few times a day:
    0 6 * * * /usr/sbin/exim -qff > /dev/null

    I have to do that because I have clients with LARGE mailing lists, and if I don't keep the mail queue under control the servers will crash. Yours will crash, too, if you don't do something about those 18,000 mails a day.


Share This Page