• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

qmhande and grep

C

Chris@

Guest
I've got a bunch of mails in my remote queue, and I'm trying to just list the subject lines by doing:
/home/qmhandle/qmHandle -R | grep Subject

However, it comes back with no results. If I try:
qmHandle -R > qm.txt
then
grep Subject qm.txt
it still comes back with no results. If I then:
less qm.txt
it tells me qm.txt is a binary file (although I can still view it). I searched the Web for this and I found someone else with the same problem but no solutions. Does anyone know how to get qmhandle to show results in a form readable by grep? Or how to show the subject lines of all the mail in the qmail queue?
 
This just works on my servers:

Code:
qmhandle.pl -R | grep Subject

I use ART's qmhandle package (which installs the script as /usr/bin/qmhandle.pl)
 
Back
Top