To dequarantine those same messages you might use a command line like the following,
where the -Q is not followed by an argument:
/usr/sbin/sendmail -qQ -qSbob@your.domain -Q
Here, the -qQ tells sendmail to only operate on quarantined envelopes. The -qS causes
sendmail to search the quarantined envelopes for those from the sender bob at your
domain. And finally, the -Q, without an argument, tells sendmail to de-quarantine all
the envelopes found.
11.10.2.3 The mailq command??™s display
When the -qQ command-line switchis specified, the mailq command displays only
quarantined messages and the reason each was quarantined. For example:
# mailq -qQ
/var/spool/mailqueue (1 request)
-----Q-ID----- --Size-- -----Q-Time----- ------------Sender/Recipient----------
h2VJcN3M012024 875429 Thu Mar 24 16:44 bob@your.domain
QUARANTINE: Bob resigned today
fred@compeditor.domain
Total requests: 1
Here, the -qQ command-line switchcaused mailq to print only the messages (there is
just one in this example) that were quarantined in the queue. Information about the
message is printed first. The reason the message was quarantined is printed next.
Then the recipient or recipients of the message are printed last.
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
11.10 Queue Quarantining | 441
If you have set up a Milter to automatically quarantine messages, or have set up the
access database or created rule sets to do so, you should run mailq withth is -qQ
command-line argument periodically, allowing you to learn whether anything has
been automatically quarantined.
Pages:
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792