• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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