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
#ssh
#sudo /opt/riskfilter/smg/bin/qtool.sh
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
#ssh
#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
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 - | Administrator’s Guide 161 |