Page 1 of 1

Hum, nother strange issue

Posted: Sun Jul 09, 2006 4:08 pm
by Galactic Zero
After upgrading php and mysql this weekend, just ran qmHandle to purge some emails from the queue and got this message:

[root@gz default]# qmHandle -Sfailure
Calling system script to terminate qmail...
shell-init: could not get current directory: getcwd: cannot access parent directories: No such file or directory
Looking for messages with Subject: failure [ OK ]
~~
~~
49 messages deleted
Restarting qmail... shell-init: could not get current directory: getcwd: cannot access parent directories: No such file or directory
Starting qmail: [ OK ]
done (hopefully).

Posted: Mon Jul 10, 2006 8:28 am
by Snapdragon
Hmmm cute, you can trash failure notices that way?

Posted: Mon Jul 10, 2006 9:23 am
by Galactic Zero
With qmHandle out of the box you can issue qmHandle -Sfailure and it removes all messages with failure in the subject. If you want to be more specific you put the message in quotes, qmHandle -S"failure notice". It is case sensitive.

Posted: Mon Jul 10, 2006 6:16 pm
by Galactic Zero
Interesting...

Just ran qmHandle and didn't get the error when every time I ran it yesterday I got it....

Strange...