Time values in sendmail

To set the message timeout and queue processing interval, you must use a specific format for the time value.

The format of a time value is:

-qNumberUnit

where Number is an integer value and Unit is the unit letter. Unit can have one of the following values:

Item Description
s Seconds
m Minutes
h Hours
d Days
w Weeks

If Unit is not specified, the sendmail daemon uses minutes (m) as the default. Here are three examples illustrating time-value specification:

/usr/sbin/sendmail -q15d

This command tells the sendmail daemon to process the queue every 15 days.

/usr/sbin/sendmail -q15h

This command tells the sendmail daemon to process the queue every 15 hours.

/usr/sbin/sendmail -q15

This command tells the sendmail daemon to process the queue every 15 minutes.