APPENDIX

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:

SurfControl RiskFilter - E-mail V5.2.4

Administrator’s Guide 159

Page 164
Image 164
Surf Control 5.2.4 manual Qtool.Sh, Clean queues