{"id":918,"date":"2012-08-02T16:14:40","date_gmt":"2012-08-02T08:14:40","guid":{"rendered":"http:\/\/rmohan.com\/?p=918"},"modified":"2012-08-02T16:14:40","modified_gmt":"2012-08-02T08:14:40","slug":"qmail-handle-admin","status":"publish","type":"post","link":"https:\/\/mohan.sg\/?p=918","title":{"rendered":"Qmail Handle Admin"},"content":{"rendered":"<h3>Qmail Handle Admin<\/h3>\n<p>&nbsp;<\/p>\n<p>QmHandle, a perl script which gives you greater functionality &#8211; allows you to view and manage the &#8216;qmail&#8217; message queue.<\/p>\n<p>It can be install by excuting the following commands<br \/>\ncd \/usr\/bin<br \/>\nwget -O &#8211; &#8220;http:\/\/easynews.dl.sourceforge.net\/sourceforge\/qmhandle\/qmhandle-1.2.0.tar.gz&#8221; | tar xzf<\/p>\n<p>Following commands are useful to manage the queue<\/p>\n<p># List emails by subject wise:<br \/>\nqmHandle -l |awk &#8216;\/Subject\/ {print}&#8217;|sort | more<\/p>\n<p>#qmHandle -tX &#8216;string&#8217; ( delete all messages with matching headers, where string to match and X specifies:<\/p>\n<p>&#8216;f&#8217; : Who the message is from,<\/p>\n<p>&#8216;t&#8217; : Who the message is to; or,<\/p>\n<p>&#8216;s&#8217; : What the message&#8217;s subject is<\/p>\n<p>#qmHandle -M ( delete all msgs in the queue from MAILER-DAEMON@hostname)<\/p>\n<p># Forcefully send emails.<br \/>\nqmHandle -a<\/p>\n<p># List message queues<br \/>\nqmHandle -l<\/p>\n<p># delete all messages in the queue<br \/>\nqmHandle -D<\/p>\n<p># list local message queue<br \/>\nqmHandle -L<\/p>\n<p># list remote message queue<br \/>\nqmHandle -R<\/p>\n<p># display message number N<br \/>\nqmHandle -mN<\/p>\n<p># delete message number N<br \/>\nqmHandle -dN<\/p>\n<p># delete all messages that contain text as Subject<br \/>\nqmHandle -Stext<\/p>\n<p># delete all messages that contain text as From email address<br \/>\nqmHandle -Ftext<\/p>\n<p># delete all messages that contain text as To email address<br \/>\nqmHandle -Ttext<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Qmail Handle Admin <\/p>\n<p>&nbsp;<\/p>\n<p>QmHandle, a perl script which gives you greater functionality &#8211; allows you to view and manage the &#8216;qmail&#8217; message queue.<\/p>\n<p>It can be install by excuting the following commands cd \/usr\/bin wget -O &#8211; &#8220;http:\/\/easynews.dl.sourceforge.net\/sourceforge\/qmhandle\/qmhandle-1.2.0.tar.gz&#8221; | tar xzf<\/p>\n<p>Following commands are useful to manage the queue<\/p>\n<p># List emails by subject [&#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\/918"}],"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=918"}],"version-history":[{"count":2,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/918\/revisions"}],"predecessor-version":[{"id":920,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/918\/revisions\/920"}],"wp:attachment":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=918"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=918"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=918"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}