Koozali.org: home of the SME Server
Obsolete Releases => SME 8.x Contribs => Topic started by: veeresh on August 25, 2012, 02:38:23 PM
-
Hi,
I installed smeserver-saco-qmHandle-1.3.4-3.noarch.rpm to check mail queue.
after that I see a lot mails in the queue and not being delivered.
Mail log file analysis shows
Mail Log File Analysis
Report generated: Sat 25 Aug 2012 05:43:55 PM IST
messages in queue: 880
messages in queue but not yet preprocessed: 96
End of Report
during search for a solution I found this link
http://bugs.contribs.org/show_bug.cgi?id=2020
I am not sure if queue is building because of installing qmHandle.
Could anybody please point how to solve this issue
Thanks in advance
Veeresh
-
As you can see in the bug description, I suggest to make the changes below to the file /usr/bin/qmHandle. But I don't think that problems with qmHandle should cause messages to queue up. What does /var/log/messages/qmail/current show?
Jesper
< #my ($stopqmail) = '/usr/local/bin/svc -d /service/qmail';
< #my ($startqmail) = '/usr/local/bin/svc -u /service/qmail';
<
< # For SME server 7 and 8 this is now sv instead of svc
< my ($stopqmail) = '/usr/local/bin/sv -v down qmail';
< my ($startqmail) = '/usr/local/bin/sv -v up qmail';
---
> my ($stopqmail) = '/usr/local/bin/svc -d /service/qmail';
> my ($startqmail) = '/usr/local/bin/svc -u /service/qmail';
54,55c50
< #my ($pidcmd) = 'pidof qmail-send';
< my ($pidcmd) = '/sbin/pidof qmail-send';
---
> my ($pidcmd) = 'pidof qmail-send';
-
veeresh
Referring to the Usage section of the contrib wiki article at http://wiki.contribs.org/Qmhandle_mail_queue_manager,
if you try to delete messages from the queue, qmail may not run/function correctly afterwards.
As instructed you should always stop qmail using the command line BEFORE deleting messages using the server manager qmhandle panel.
Did you check if qmail is running, and did you restart qmail ?
-
Hi,
thank you jasper and mary for your replies.
I am sorry. I uninstalled qmHandle and restarted qmail and mails started working again.
I did not check after I deleted some mail from the queue.
Is it ok to use qmHandle with modification mentioned by jasper on sme8?
Thanks.
Veeresh
-
Is it ok to use qmHandle with modification mentioned by jasper on sme8?
I think so, yes
-
Hi,
Thanks Mary and Jasper,
Like it is mentioned in the wiki, and as you pointed out, It was an issue of starting qmail manually after deleting some mails in the queue.
Thanks
-
a new version is about to be published in the smecontribs repo for both sme 7 and sme 8.
-
is ready the fix version for the 8.0 version?
I have found in 8.0/smedev/smeserver-qmHandle-1.4-3.el5.sme
(2012-08-30)
this is a pre-release and can i tray to install it?
-
yes this is this version i need to test and validate the changes.
so if you have a test server i would be please that you test it, if you want to install it on a production server please wait a few more days.
-
Yes i have install it on test server sme 8.0.
No problem, the qmhandle work well. so i hope for the final release for sme 8.0.
tks, i will stay tuned.
-
have you tried to delete a queued mail ?
did qmail still working after ? ( no crash, and following mails able to be sent to recipient without manually restarting qmail )
that was the bug to test ;)
-
yes i have tried to delete an email in queque with no problem.
no service stop, no problem to delete.
for me is ok!
-
I have also installed the new rpm from the smedev-repository, everything works fine for me :-)