Setting the queue processing interval

The value of the -q flag when the daemon starts determines the interval at which the sendmail daemon processes the mail queue.

The sendmail daemon is usually started by the /etc/rc.tcpip file, at system startup. The /etc/rc.tcpip file contains a variable called the queue processing interval (QPI), which it uses to specify the value of the -q flag when it starts the sendmail daemon. By default, the value of qpi is 30 minutes. To specify a different queue processing interval:

  1. Edit the /etc/rc.tcpip file with your favorite editor.
  2. Find the line that assigns a value to the qpi variable, such as:
    qpi=30m
  3. Change the value assigned to the qpi variable to the time value you prefer.

These changes will take effect at the next system restart. If you want the changes to take effect immediately, stop and restart the sendmail daemon, specifying the new -q flag value. See Stopping the sendmail daemon and Starting the sendmail daemon for more information.