Koozali.org: home of the SME Server

sme 8 qmHandle smeserver-saco-qmHandle-1.3.4-3.noarch.rpm

Offline veeresh

  • ***
  • 51
  • +0/-0
sme 8 qmHandle smeserver-saco-qmHandle-1.3.4-3.noarch.rpm
« 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




Offline holck

  • *
  • 322
  • +1/-0
Re: sme 8 qmHandle smeserver-saco-qmHandle-1.3.4-3.noarch.rpm
« Reply #1 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';
......

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: sme 8 qmHandle smeserver-saco-qmHandle-1.3.4-3.noarch.rpm
« Reply #2 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 ?
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline veeresh

  • ***
  • 51
  • +0/-0
Re: sme 8 qmHandle smeserver-saco-qmHandle-1.3.4-3.noarch.rpm
« Reply #3 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

Offline holck

  • *
  • 322
  • +1/-0
Re: sme 8 qmHandle smeserver-saco-qmHandle-1.3.4-3.noarch.rpm
« Reply #4 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
......

Offline veeresh

  • ***
  • 51
  • +0/-0
Re: sme 8 qmHandle smeserver-saco-qmHandle-1.3.4-3.noarch.rpm(solved)
« Reply #5 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

Offline Jean-Philippe Pialasse

  • *
  • 2,912
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: sme 8 qmHandle smeserver-saco-qmHandle-1.3.4-3.noarch.rpm
« Reply #6 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.

Offline madtoy

  • *
  • 10
  • +0/-0
Re: sme 8 qmHandle smeserver-saco-qmHandle-1.3.4-3.noarch.rpm
« Reply #7 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?

Offline Jean-Philippe Pialasse

  • *
  • 2,912
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: sme 8 qmHandle smeserver-saco-qmHandle-1.3.4-3.noarch.rpm
« Reply #8 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.


Offline madtoy

  • *
  • 10
  • +0/-0
Re: sme 8 qmHandle smeserver-saco-qmHandle-1.3.4-3.noarch.rpm
« Reply #9 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.

Offline Jean-Philippe Pialasse

  • *
  • 2,912
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: sme 8 qmHandle smeserver-saco-qmHandle-1.3.4-3.noarch.rpm
« Reply #10 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 ;)


Offline madtoy

  • *
  • 10
  • +0/-0
Re: sme 8 qmHandle smeserver-saco-qmHandle-1.3.4-3.noarch.rpm
« Reply #11 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!

Offline holck

  • *
  • 322
  • +1/-0
Re: sme 8 qmHandle smeserver-saco-qmHandle-1.3.4-3.noarch.rpm
« Reply #12 on: September 05, 2012, 05:03:53 PM »
I have also installed the new rpm from the smedev-repository, everything works fine for me :-)
......