MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: Trust35 on 2016-10-26, 19:35:01

Title: Kloxo Mail Queue
Post by: Trust35 on 2016-10-26, 19:35:01
Hi!

How can i delete ALL emails in mail queue?
I have Kloxo on Centos 6

Thank you very much!
Title: Re: Kloxo Mail Queue
Post by: MRatWork on 2016-10-26, 23:37:09
Yes. If using Kloxo-MR 7.0, you can delete all with running 'sh /script/mailqueue -D' from ssh.
Title: Re: Kloxo Mail Queue
Post by: sandipcd on 2017-05-11, 10:49:20
In mail queue, I have notice that some thousands of unknown email. I have not sent it also I have not recognized it. I have given 'sh /script/mailqueue -D' but again within few minutes, it is somehow generated those email.

How can I stop those emails?
Title: Re: Kloxo Mail Queue
Post by: MRatWork on 2017-05-11, 11:28:36
Look like certain websites possible hacked. Investigate 'maillog' in 'admin > log manager'.

For awhile, try disable sendmail with add '/home' in 'admin > sendmail to bans'. With '/home' added, it's make all sendmail will be failed.

If you sure, sendmail from certain website, you can change '/home' to '/home/<user>/<domain>' (aka document root of certain website). Or change to '/home/<user>' (it's make sendmail from all websites under this user will be banned).
After investigate you may to know where sendmail come from.
Title: Re: Kloxo Mail Queue
Post by: LotsOfQ on 2017-05-18, 02:58:02
Added "/home/<user>" and it shows up as "/home/admin/home/<user>" is that correct?
Title: Re: Kloxo Mail Queue
Post by: sandipcd on 2017-06-19, 17:08:13
I am having a problem with sending emails.

I have sent email in last Thursday but still, the person has not received email. I am seeing that the email is in the mail queue.

So, what is happening?
Title: Re: Kloxo Mail Queue
Post by: MRatWork on 2017-06-19, 23:01:36
Try 'sh /script/restart-mail'.
Title: Re: Kloxo Mail Queue
Post by: sandipcd on 2017-06-20, 02:25:41
Try 'sh /script/restart-mail'.

I have run it but still the email is there in the queue?
Code: [Select]
[root@s1 ~]# sh /script/restart-mail

*** Process for QMAIL service ***
Stopping qmail-toaster: svscan qmail logging.
qmail-send: no process killed
Starting qmail-toaster: svscan.
-------------------------------------------------------------------

- For help, type '/script/restart-mail [--help|-h]'
[root@s1 ~]#
Title: Re: Kloxo Mail Queue
Post by: MRatWork on 2017-06-20, 07:02:00
Try 'sh /script/mailqueue -a' for resend mail. If still no sending mail, need delete mail queue with 'sh /script/mailqueue -D'.