tias_
Executed (qmhandle) with './qmhandle -D' which is suppose to flush all que. But the problem I now got is that the qmail refuses to shutdown. I've tried to do it with 'service qmail stop' but it returns FAIL.
I'm sure you need to stop qmail BEFORE you flush the queue !
It has been said so many times in these forums, for the last three years or so, NOT to use the service command as it does not always do everything that is required in sme server. sme is a bit different to other Linux distros.
sme7.x uses supervised services which will automatically restart if they stop and uses the sv command
ie
to bring down
sv d /service/qmail
to bring up
sv u /service/qmail
to terminate (which forces a restart due to being a supervised service)
sv t /service/qmail
For any non supervised service use
/etc/init.d/servicename restart (or stop or start or status)
See the developer manual for more details