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 161
A
PPENDIX
Using the Command Line Interface
6
# sudo /etc/init.d/smgd start
A mysqld process already exists
Starting Msoft smg: [ OK ]
Starting Msoft admin: [ OK ]
Example 4 - listing all messages in the receive queue. You can also list messages using a specified
filter.
Command: ./qtool.sh –l
# ssh rfmngr@riskfiter-appliance
# sudo /opt/riskfilter/smg/bin/qtool.sh –l
Do you want to list message? (y/n):
y
message 2073 recieved at 2004/08/16 23:44:53 from ip 218.108.178.118 sender is
love@zj.com deliver to [laixy123@taikang.com] size 1287
message 2074 recieved at 2004/08/16 23:44:53 from ip 218.108.178.118 sender is
love@zj.com deliver to [laixy123@taikang.com] size 1531
*********** total 2 messages listed **********
Example 5 - Deleting the mails in the receive queue. The RiskFilter service needs be stopped
before the deletion
Command: ./qtool.sh –d
# ssh rfmngr@riskfiter-appliance
# sudo /etc/init.d/smgd stop
Stopping Msoft admin: [ OK ]
Stopping Msoft npdc: [ OK ]
Stopping Msoft npav: [ OK ]
Stopping Msoft smg: [ OK ]
# sudo /opt/riskfilter/smg/bin/qtool.sh –d
Do you want to delete messages? (y/n):
y
message 2073 recieved at 2004/08/16 23:44:53 from ip 218.108.178.118 sender is
love@zj.com deliver to [laixy123@taikang.com] size 1287
message 2074 recieved at 2004/08/16 23:44:53 from ip 218.108.178.118 sender is
love@zj.com deliver to [laixy123@taikang.com] size 1531
*********** total 2 messages listed **********