SMM:08-86
Sendmail Installation and Operation Guide
O QueueDirectory=/var/spool/mqueue/*
Qone, P=/var/spool/mqueue/dir1
Qtwo, P=/var/spool/mqueue/dir2
because this also includes "dir1" and "dir2" in the default queue group. However,
O QueueDirectory=/var/spool/mqueue/main*
Qone, P=/var/spool/mqueue/dir
Qtwo, P=/var/spool/mqueue/other*
is a valid queue group specification.
Options listed in the ``Flags'' field can be used to modify the behavior of a queue group. The
``f'' flag must be set if multiple queue runners are supposed to work on the entries in a queue group.
Otherwise sendmail will work on the entries strictly sequentially.
The ``Interval'' field sets the time between queue runs. If no queue group specific interval is
set, then the parameter of the -q option from the command line is used.
To control the overall number of concurrently active queue runners the option
MaxQueueChildren
can be set. This limits the number of processes used for running the queues to
MaxQueueChildren
, though at any one time fewer processes may be active as a result of queue
options, completed queue runs, system load, etc.
The maximum number of queue runners for an individual queue group can be controlled via
the Runners option. If set to 0, entries in the queue will not be processed, which is useful to ``quar-
antine'' queue files. The number of runners per queue group may also be set with the option
MaxRunnersPerQueue
, which applies to queue groups that have no individual limit. That is, the
default value for Runners is MaxRunnersPerQueue if set, otherwise 1.
The field Jobs describes the maximum number of jobs (messages delivered) per queue run,
which is the queue group specific value of MaxQueueRunSize.
Notice: queue groups should be declared after all queue related options have been set because
queue groups take their defaults from those options. If an option is set after a queue group declara-
tion, the values of options in the queue group are set to the defaults of sendmail unless explicitly set
in the declaration.
Each envelope is assigned to a queue group based on the algorithm described in section
``Queue Groups and Queue Directories''.
5.11. X -- Mail Filter (Milter) Definitions
The sendmail Mail Filter API (Milter) is designed to allow third-party programs access to
mail messages as they are being processed in order to filter meta-information and content. They are
declared in the configuration file as:
Xname
{, field=value }*
where name is the name of the filter (used internally only) and the "field=name" pairs define
attributes of the filter. Also see the documentation for the InputMailFilters option for more infor-
mation.
Fields are:
Socket The socket
specification
Flags
Special flags for this filter
Timeouts
Timeouts for this filter
Only the first character of the field name is checked (it's case-sensitive).
The socket specification is one of the following forms:
S=inet: port @ host