Author Topic: How to empty the spool email?  (Read 2594 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
How to empty the spool email?
« on: February 16, 2022, 04:01:23 AM »
In Cpanel I use bash script as follows:

Code: [Select]
#!/bin/sh

/bin/rm -rf /var/spool/exim/input/
/bin/rm -rf /var/spool/exim/msglog/
/etc/rc.d/init.d/exim restart

It is used to clear the spool email then restart the exim.
But in CWP I cant find the same folder. How to do that in CWP as well as restart the exim?
Thanks.
we are web developer in Indonesia with address: Tatamedia Solusindo | web hosting with mutiple choices | discounted software store

Offline
****
Re: How to empty the spool email?
« Reply #1 on: February 16, 2022, 08:55:46 PM »
CWP uses PostFix, not Exim.  I would not recommend removing anything from the que.  Eventually, it will give up on non-deliverable, and remove them automatically
Google Hangouts:  rcschaff82@gmail.com

Offline
*
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

Offline
*
Re: How to empty the spool email?
« Reply #3 on: February 17, 2022, 02:08:48 AM »
Ok, thanks for all for your information.
we are web developer in Indonesia with address: Tatamedia Solusindo | web hosting with mutiple choices | discounted software store