APPENDIX

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 **********

SurfControl RiskFilter - E-mail V5.2.4

Administrator’s Guide 161

Page 166
Image 166
Surf Control 5.2.4 manual Using the Command Line Interface