#1
  1. Lurker - in your bushes
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2000
    Location
    .be
    Posts
    494
    Rep Power
    116
    Heya,

    Am on Sendmail 8.11 and am running tests on some "mail" forms in PHP. problem is, Sendmail will only send me Emails in the inbox every 60 minutes or so... I looked up the config files, but the only lines refering to "time" are the Timeout settings...

    Help ! anyone !


    ------------------
    Alain
    Aka "Saintaw"
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2000
    Posts
    63
    Rep Power
    14
    It is set to process the queue only every 60 minutes. When you start sendmail, you need to change the value of the -q switch. It is probably set to 1h now. If you remove the switch, it will process messages as soon as they arrive. You can set it to any value in minutes or hours.

    If you are running something like RedHat, you can modify the /etc/rc.d/init.d/sendmail file and change the -q value there. Any other distro, you need to find the script that starts sendmail and change the value in that file (probably somewhere in /etc/rc.d dir).

    Hope that helps. If you need any more help, just ask.

    ------------------

IMN logo majestic logo threadwatch logo seochat tools logo