domain>,
delay=00:00:06, mailer=local, pri=30029, quarantine=Suspect application/ms-word
attachment, stat=quarantine
Here the quarantine= equate shows the reason the message was quarantined, and the
stat= equate prints the literal word quarantine.
When Milters, the access database, and rule sets are used to automatically quarantine
messages, a script may be devised to detect the quarantine= equate in the logging
output. When run nightly, such a script might email the postmaster with a
summary of quarantined messages for that day.
11.10.2.8 Manage quarantined envelopes with qtool.pl
The qtool.pl program is located in the contrib subdirectory of the source distribution.
It is a perl(1) script that allows you to move envelopes between queues, bounce
envelopes, and remove envelopes.
In general, if you use queue groups (?§11.4 on page 408), you should not use qtool.pl
to move queued messages. However, it is always safe to move quarantined messages,
because they are invisible to sendmail unless you manually cause sendmail to
recognize them.
As of V8.13, the -Q command-line switchtells qtool.pl to operate on quarantined
messages rather than on normal messages. For example, the following command
causes all the quarantined messages in the main queue to be moved to a holding
queue:
#./qtool.pl -Q /var/spool/hold /var/spool/mqueue
Also, as of V8.
Pages:
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797