{"id":871,"date":"2012-08-02T14:55:39","date_gmt":"2012-08-02T06:55:39","guid":{"rendered":"http:\/\/rmohan.com\/?p=871"},"modified":"2012-08-02T14:55:39","modified_gmt":"2012-08-02T06:55:39","slug":"qmhandle","status":"publish","type":"post","link":"https:\/\/mohan.sg\/?p=871","title":{"rendered":"qmHandle"},"content":{"rendered":"<p>Download qmHandle from SourceForge. You actually only need the script &#8216;qmHandle&#8217; so use that if you have it handy. Upload it to the server and untar it if necessary. You may download the file directly from SourceForge using the wget command:<\/p>\n<blockquote><p># wget http:\/\/sourceforge.net\/projects\/qmhandle\/files\/qmhandle-1.3\/qmhandle-1.3.2\/qmhandle-1.3.2.tar.gz\/download<\/p><\/blockquote>\n<p>Then decompress the file using the tar command:<\/p>\n<blockquote><p># tar -xvzf qmhandle-1.3.2.tar.gz<\/p><\/blockquote>\n<div><\/div>\n<p>First it is recommended to shutdown qmail using the service command to prevent possible corruption of the mail queue:<\/p>\n<div>\n<blockquote><p># service qmail stop<\/p><\/blockquote>\n<p>When you are done with qmhandle be sure to start it again using the service command:<\/p><\/div>\n<div><\/div>\n<div>\n<blockquote><p># service qmail start<\/p><\/blockquote>\n<p>qmHandle can show it&#8217;s own options when run without a flag:<\/p><\/div>\n<div><\/div>\n<div>.\/qmHandle<\/div>\n<div><\/div>\n<div><em>qmHandle v1.3.2 Copyright 1998-2003 Michele Beltrame\u00a0<\/em><\/div>\n<div><em>Available parameters:\u00a0<\/em><\/div>\n<div><em>-a : try to send queued messages now (qmail must be running)\u00a0<\/em><\/div>\n<div><em>-l : list message queues\u00a0<\/em><\/div>\n<div><em>-L : list local message queue\u00a0<\/em><\/div>\n<div><em>-R : list remote message queue\u00a0<\/em><\/div>\n<div><em>-s : show some statistics\u00a0<\/em><\/div>\n<div><em>-mN : display message number N\u00a0<\/em><\/div>\n<div><em>-dN : delete message number N\u00a0<\/em><\/div>\n<div><em>-Stext : delete all messages that have\/contain text as Subject\u00a0<\/em><\/div>\n<div><em>-D : delete all messages in the queue (local and remote)\u00a0<\/em><\/div>\n<div><em>-V : print program version\u00a0<\/em><\/div>\n<div><em><br \/>\n<\/em><\/div>\n<div><em>\u00a0Additional (optional) parameters:\u00a0<\/em><\/div>\n<div><em>-c : display colored output\u00a0<\/em><\/div>\n<div><em>-N : list message numbers only (to be used either with -l, -L or -R)\u00a0<\/em><\/div>\n<div><em>You can view\/delete multiple message i.e. -d123 -v456 -d567<\/em><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Download qmHandle from SourceForge. You actually only need the script &#8216;qmHandle&#8217; so use that if you have it handy. Upload it to the server and untar it if necessary. You may download the file directly from SourceForge using the wget command:<\/p>\n<p># wget http:\/\/sourceforge.net\/projects\/qmhandle\/files\/qmhandle-1.3\/qmhandle-1.3.2\/qmhandle-1.3.2.tar.gz\/download<\/p>\n<p>Then decompress the file using the tar command:<\/p>\n<p># tar -xvzf [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[32],"tags":[],"_links":{"self":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/871"}],"collection":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=871"}],"version-history":[{"count":1,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/871\/revisions"}],"predecessor-version":[{"id":872,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/871\/revisions\/872"}],"wp:attachment":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=871"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=871"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=871"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}