Changes

From SME Server
Jump to navigationJump to search
m
Line 54: Line 54:       −
An example usage syntax would be
+
Examples of usage syntax would be:
   −
qmHandle -l
+
To list all the messages in the queue
 +
qmHandle -l
 +
 
 +
To list all the messages in the queue counting the number of messages with the same subject
 +
qmHandle -l|grep Subject|sort| uniq -c|sort -n
       
{{Note box|In some cases qmail does not restart after messages have been deleted. You should check the status of qmail after deleting messages.}}
 
{{Note box|In some cases qmail does not restart after messages have been deleted. You should check the status of qmail after deleting messages.}}
   −
To check status
+
To check status of qmail
 
  sv s /service/qmail
 
  sv s /service/qmail
   Line 67: Line 71:  
{{Warning box|Before deleting messages from the queue, you should stop qmail first. If you delete messages without stopping qmail, then qmail may stop and you will unknowingly be without a operational mail server (ie qmail)}}.
 
{{Warning box|Before deleting messages from the queue, you should stop qmail first. If you delete messages without stopping qmail, then qmail may stop and you will unknowingly be without a operational mail server (ie qmail)}}.
   −
To stop
+
To stop qmail
 
  sv d /service/qmail
 
  sv d /service/qmail
To start
+
To start qmail
 
  sv u /service/qmail
 
  sv u /service/qmail
  
227

edits

Navigation menu