Wednesday, October 5, 2022
Exim Cpanel/WHM

Command exim cpanel

>>To delete Frozen emails from the email queue:

# grep -R -l ‘*** Frozen’ /var/spool/exim/msglog/*|cut -b26-|xargs exim -Mrm
# exim -bp| grep frozen | awk ‘{print $3}’| xargs exim -Mrm
# exiqgrep -z -i | xargs exim -Mrm

>> To delete Spam emails from the email queue:

# grep -R -l [SPAM] /var/spool/exim/msglog/*|cut -b26-|xargs exim -Mrm

>> To check the no. of frozen mails:

# exiqgrep -z -c

>> To check exim logs:

# tail -f /var/log/exim_mainlog

>> Force delivery of one message:

# exim -M mail_id

>> Force another queue run:

# exim -qf

>> Force another queue run and attempt to flush frozen messages:

# exim -qff

>> To check if there are frozen emails:

# exim -bp |awk ‘/fr[o]zen/ {print}’

(Visited 1 times, 1 visits today)
Klik untuk berbagi dengan orang lain
Baca Juga :  How to Upgrade Mysql in WHM/Cpanel

Similar Posts