Surf Control 5.2.4 Welder User Manual


 
SurfControl RiskFilter - E-mail V5.2.4 Administrator’s Guide 159
A
PPENDIX
Using the Command Line Interface
6
QTOOL.SH
qtool.sh is the Receive Queue Management Utility and provides the command line management for the
RiskFilter receive queue.
Command: /opt/riskfilter/smg/bin/qtool.sh -h -l -d -e -i -c
-h
- launch help
-l [filter clause] - list messages in receiving queue
-d - delete messages
-e [export path] - export messages
-i - import messages to queue
-c - clean queues
Example 1 - cleaning queues
Command:./qtool.sh -c
# ssh rfmngr@riskfiter-appliance
# sudo /opt/riskfilter/smg/bin/qtool.sh –c
All data inside queue will be cleaned!
Do you want to clean the Queue? (y/n):
y
format queue finished
Example 2 - exporting the mails of RQ into a predefined directory
Command: ./qtool.sh [export path]
# ssh rfmngr@riskfiter-appliance
# sudo /opt/riskfilter/smg/bin/qtool.sh –e /var/log
Usage: ./qtool.sh [export path]
Do you want to export? (y/n):
y
log priority = com.messagingsoft.storm.util.logger.Priority@56a499
log path = log
log entries = 1048576
Use checkPoint to seek 205282750
Message Position: