The only difference here is that the former (the
ETRN) operates asynchronously. That is, sendmail forks a copy of itself, and the
forked child processes the queue.
Beginning withV8.12 sendmail, you can cause sendmail to process the queues by
queue group. To do this, just replace the hostname with the name of the queue
group, and prefix it with a literal # character:
ETRN #groupname
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
434 | Chapter 11: Manage the Queue
If the groupname has been defined, the queues for that queue group will be processed.
Otherwise, the following error will be returned:
459 4.5.4 Queue badname unknown
One way to use ETRN is witha perl(1) script supplied withth e sendmail source. See
the file:
contrib/etrn.pl
You might have to change the first line of this file to get it to work, depending on
where you installed perl(1) on your system. To run this program, just give it the
name of your MX server:
% contrib/etrn.pl your.mx.server
The etrn.pl script will connect to that server, and it will send an ETRN command to
that server for each host you list with a Cw or Fw command in your configuration file.
The etrn.pl script is also its own manual page, which you can read with a command
such as this:
% nroff -man contrib/etrn.pl | more
11.
Pages:
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780