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

Title: sme 8 qmHandle smeserver-saco-qmHandle-1.3.4-3.noarch.rpm
Post 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



Title: Re: sme 8 qmHandle smeserver-saco-qmHandle-1.3.4-3.noarch.rpm
Post by: holck on August 26, 2012, 11:25:32 AM
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

Code: [Select]
< #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';
Title: Re: sme 8 qmHandle smeserver-saco-qmHandle-1.3.4-3.noarch.rpm
Post by: janet on August 26, 2012, 05:06:10 PM
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 ?
Title: Re: sme 8 qmHandle smeserver-saco-qmHandle-1.3.4-3.noarch.rpm
Post by: veeresh on August 26, 2012, 05:14:26 PM
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
Title: Re: sme 8 qmHandle smeserver-saco-qmHandle-1.3.4-3.noarch.rpm
Post by: holck on August 26, 2012, 05:46:07 PM
Quote
Is it ok to use qmHandle with modification mentioned by jasper on sme8?

I think so, yes
Title: Re: sme 8 qmHandle smeserver-saco-qmHandle-1.3.4-3.noarch.rpm(solved)
Post by: veeresh on August 27, 2012, 07:02:29 AM
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
Title: Re: sme 8 qmHandle smeserver-saco-qmHandle-1.3.4-3.noarch.rpm
Post by: Jean-Philippe Pialasse on August 29, 2012, 07:04:36 PM
a new version is about to be published in the smecontribs repo for both sme 7 and sme 8.
Title: Re: sme 8 qmHandle smeserver-saco-qmHandle-1.3.4-3.noarch.rpm
Post by: madtoy on September 03, 2012, 03:33:54 PM
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?
Title: Re: sme 8 qmHandle smeserver-saco-qmHandle-1.3.4-3.noarch.rpm
Post by: Jean-Philippe Pialasse on September 04, 2012, 08:53:19 PM
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.

Title: Re: sme 8 qmHandle smeserver-saco-qmHandle-1.3.4-3.noarch.rpm
Post by: madtoy on September 05, 2012, 07:44:14 AM
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.
Title: Re: sme 8 qmHandle smeserver-saco-qmHandle-1.3.4-3.noarch.rpm
Post by: Jean-Philippe Pialasse on September 05, 2012, 07:49:50 AM
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 ;)

Title: Re: sme 8 qmHandle smeserver-saco-qmHandle-1.3.4-3.noarch.rpm
Post by: madtoy on September 05, 2012, 08:45:53 AM
yes i have tried to delete an email in queque with no problem.
no service stop, no problem to delete.

for me is ok!
Title: Re: sme 8 qmHandle smeserver-saco-qmHandle-1.3.4-3.noarch.rpm
Post by: holck on September 05, 2012, 05:03:53 PM
I have also installed the new rpm from the smedev-repository, everything works fine for me :-)