edu,
just as we did in the previous section. But this time, we want to further limit that
processing by including only messages witha sender that is not (the !) from root.
Note that we prefix the ! witha backslashto protect it from the csh or tcsh shells (the
backslash is not necessary for the Bourn shell and its derivatives).
In summary, these specifications for how to limit the queue can be mixed and
matched, specified and negated, in any combination that works for you:
-qIident ?†? match any queue ID that contains ident
-q!Iident ?†? match any queue ID that does not contain ident
-qRrecip ?†? match any recipient address that contains recip
-q!Rrecip ?†? match any recipient address that does not contain recip
-qSfrom ?†? match any sender address that contains from
-q!Sfrom ?†? match any sender address that does not contain from
Only the ! character can be used to negate. Any other character will be interpreted as
an argument to -q. Th e! prefix must not follow the I, R, or S. If it follows, it will be
interpreted as part of the expression to match.
11.8.2.5 Process by queue group with -qG (V8.12 and later)
Beginning withV8.12 sendmail, you can use the -qG command-line switchto process
queues based on selected queue groups. It is used like this:
-qGgroupname
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc.
Pages:
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778