• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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