Delete emails from Exim queue

A little reminder of how to delete emails from Exim queue if cPanel queue manager does not work.

cd /var/spool/exim
find input -type f -exec rm -rf {} \;
find msglog -type f -exec rm -rf {} \;
service exim restart

 

Enable linux root access on Microsoft Azure Cloud

How to enable linux root access on Microsoft Azure Cloud

1. Login via ssh using your sudo user on your Microsoft Azure linux server

2. Now login as root user

[[email protected] ~]# sudo su -

3. check if root access is set (LOCK means that root access is disabled)

[[email protected] ~]# grep root /etc/shadow

Result:
root:*LOCK*:14600::::::

4. enable root access  (as root user enter command passwd)

[[email protected] ~]# passwd

5. Now enter your password and root access is enabled.

You can check this by using command “grep root /etc/shadow”

That’s all folks

 

Delete exim queue

Delete exim queue sometimes is impossible task.
There are just to many emails and queue manager is to slow.

You can use this dirty trick:

cd /var/spool/exim
find input -type f -exec rm -rf {} \;
find msglog -type f -exec rm -rf {} \;
service exim restart

Warning
This will erase all your emails from queue.

Enable POP before SMTP authentication

POP before SMTP authentication is not enabled by default as of cPanel & WHM 11.32.
You can enable this option from WHM > Service Configuration > Service Manager > Antirelayd.
SMTP authentication is still supported and enabled by default.