Author Topic: Process email queue individualy  (Read 226 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Process email queue individualy
« on: February 01, 2025, 10:05:45 AM »
Hi,

Previously i'm using CPanel, but since CPanel increasing price, I want to try CWP..

so far i'm impressed with CWP, but still confuse in some feature..


How to process mail in queue individualy, or in group (specific sender) ?
in Manage mail queue, i see there only process queue button, which it will send all pending queue.

Can I see the process during which the email is sent? like in CPanel
so i can see what error makes the email failed to sent

In statistic email, i see there some email rejected, can i see detail of rejected email ?

any help will be appreciated.

Thank you

Online
***
Re: Process email queue individualy
« Reply #1 on: February 01, 2025, 11:25:17 AM »
Hi,

CWP doesn't have so wide spectrum of features like cPanel. However, you can manage emails from the command prompt (shell). How ? Look at the page:
https://wiki.centos-webpanel.com/postfix-mail-server-commands

Offline
*****
Re: Process email queue individualy
« Reply #2 on: February 02, 2025, 01:25:15 AM »
You can requeue or delete them individually, or process all / delete all.

Are you trying to check emails before they are going out?

Offline
*
Re: Process email queue individualy
« Reply #3 on: February 05, 2025, 05:23:16 PM »
Hi,

I have some mail stuck in mail queue, in cpanel i can try send individualy to get detail why this email still in queue..

it will show every single line when the email process till end, the error will show in last line, like recepient mailbox full, or any message.

How to see what cause email stuck in queue ?

Online
***
Re: Process email queue individualy
« Reply #4 on: February 06, 2025, 04:45:32 PM »
Check mail logs:
/var/log/maillog
using mailID. Mail ID can be obtained from the mail headers of the undelivered email or check the logs for recipient's/sender's email addresses.

Offline
*
Re: Process email queue individualy
« Reply #5 on: February 07, 2025, 02:21:31 PM »
Hi,

I found the answer in https://poweradm.com/posfix-commands-cheat-sheet/

use command line

postqueue -i messageID or postsuper -r messageID

and then check /var/log/maillog what cause email stuck in queue

Hopefully the latest version of CWP will include features like CPanel has

after trace the email log, i found why email stuck in queue, because it enable SMTP_BLOCK = "1" in csf.conf

the solution is add postfix in SMTP_ALLOWGROUP because cwp use postfix

but i still have one problem, and can't find out until now, email forward to remotee address still stuck in queue..

email send to a@domain1.com forward to a@domain1.co & b@domain2.com (different server)

email to b@domain2.com stuck in queue..

any idea what cause it ? i already stop csf, but still not work..

Offline
*
Re: Process email queue individualy
« Reply #6 on: February 09, 2025, 07:52:18 AM »
Finaly I found the answer..

I don;t know why postfix did not show the error when failed to send email...

I found the answer using exim, I setup that account on CPanel server, and found same problem, email stuck in queue...
resend that mail individualy, i can see the error message, R=dkim_lookuphost defer (-1): host lookup did not complete

my question is, Can I change to exim in cwp ?

Online
***
Re: Process email queue individualy
« Reply #7 on: February 09, 2025, 10:35:51 AM »
I am afraid postfix can't be replaced by exim in CWP if you don't want to manage email accounts, forwarders and other mail related items by hands.