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
-
Hi!
How can i delete ALL emails in mail queue?
I have Kloxo on Centos 6
Thank you very much!
-
Yes. If using Kloxo-MR 7.0, you can delete all with running 'sh /script/mailqueue -D' from ssh.
-
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?
-
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.
-
Added "/home/<user>" and it shows up as "/home/admin/home/<user>" is that correct?
-
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?
-
Try 'sh /script/restart-mail'.
-
Try 'sh /script/restart-mail'.
I have run it but still the email is there in the queue?
[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 ~]#
-
Try 'sh /script/mailqueue -a' for resend mail. If still no sending mail, need delete mail queue with 'sh /script/mailqueue -D'.