Hello.
I have a bit of a qmail glitch. I'm not sure whether qmail is running, or running correctly at least.
This started when I realised an infected customers computer had started spamming the planet from inside my network.
The SME server dutifully allowed these to pass.
Checking the queue, there were 29000+ emails in the queue!
Apologies to all recipients, by the way.

To delete the queue, I installed qmHandle as per:
http://wiki.contribs.org/Qmhandle_mail_queue_managerI stopped qmail prior to deleting the queue, using
sv d /service/qmail
which returned no errors.
I then deleted the queue using:
qmHandle -D
which took quite a while, as you can imagine.
I then restarted qmail using
sv u /service/qmail
The queue was now empty.
Problem solved, I thought.
However, the next day I checked the queue and there was 1 email in the queue.
This was a legit email with an incorrect address, although I didnt notice that at first.
So, from the qmHandle "Email queue Management" panel, I ran "try to send queued messages now"
and it returned "Qmail isn't running, can't send messages!"
Odd, I thought, so I attempted to delete the queue again, however when I ran
qmHandle -D
it also showed
"Qmail isn't running... no need to stop it.
Message 2179073 slotted for deletion!
Deleted 1 messages from queue
Qmail wasn't running when qmHandle was started, so it won't be restarted."
If I try to get the status of qmail using
sv s /service/qmail
it returns:
"run: /service/qmail: (pid 4644) 6279s, normally down; run: log: (pid 2815) 7156s"
I have rebooted the server.
I have attempted to restart the qmail service using
sv u /service/qmail
and it returns no errors.
I dont actually use the email side of things, and have POP3, IMAP and webmail disabled in the email settings panel. I plan on using it, however for the time being I am using an email from my isp.
If I send an email to myself, I recieve it ok.
In the log files, under messages, the only references to qmail state:
"mail: Starting qmail succeeded" and
"smith::event[4277]: Running event handler: /etc/e-smith/events/ip-up/S20qmail-ipup"
"esmith::event[4277]: S20qmail-ipup=action|Event|ip-up|Action|S20qmail-ipup|Start|1219962690 319059|End|1219962690 457366|Elapsed|0.138307"
So it appears to be starting.
and the qmail/current log it appears to be processing emails correctly.
To me, with my vastly insufficient knowledge, qmail appears to be running, but if so, why am I getting the error "Qmail isn't running, can't send messages!" in the qmhandle email queue management panel?
Any ideas or suggestions?