All rights reserved.
11.8 Cause Queues to Be Processed | 433
Here, only mail queued in the qroupname directories will be processed. If the name
specified is of an unknown group, the following error will print and log, and the
queue run will fail:
Queue group groupname unknown
This command-line switch can be used in combination with all the other queue processing
switches. Consider, for example, the following:
% /usr/sbin/sendmail -qR@hostA.domain -qGslow
Here, sendmail will deliver queued messages only to users at hostA.domain, if those
messages were queued in the slow queue group.
Multiple -qG command-line switches cannot be used at the same time. If you combine
them, the following error will print and be logged:
Cannot use multiple -qG options
Unlike the -q[IRS] switches discussed earlier, the -qG command-line switchcannot
be negated:
% /usr/sbin/sendmail -q!Gmqueue
Cannot use -q!G
11.8.2.6 Process the queue via ESMTP ETRN
The ESMTP ETRN command, based on RFC1985, causes V8.8 and later sendmail to
asynchronously process its queue in a manner similar to the -qR command-line
switch(?§11.8.2.3 on page 431). This command allows dial-on-demand sites to make
an SMTP connection and to force the other side to process and send any mail that is
queued for them. The form of this ESMTP command looks like this:
ETRN host
If host is missing, this error message will be returned:
550 Parameter required
Otherwise, the queue will be processed just as though the following command-line
argument were given:
-qR@host
In bothcases, a qf file will be processed if it has host anywhere in the host part (following
the @) of one of its R lines.
Pages:
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779