User's Manual
Table Of Contents
- Finding your way around
- System Settings
- Policy Manager
- The Policy Manager tab
- Creating a Policy
- Address Group
- Queue Manager
- Dictionary Manager
- Global Policy
- Creating a new Sub-policy
- Editing a sub-policy
- Adding Filters to the policy
- Defining a filter
- The Anti-Virus Agent Filter
- The Anti-Spam Agent Filters
- Internet Threat Database Filter
- Standard Disclaimer
- General Content Filter
- advanced content filter
- Message Attachment Filter
- Content Guardian
- Dictionary Threshold Filter
- Key Points
- Reports & Logs
- RiskFilter System Management Console
- Appendix
- INDEX
- Notices

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: