Exim is the SMTP server used in Cpanel servers. You can find more information about exim mail server at www.exim.org
Exim
Count the number of messages in the queue
exim -bpc
=======
Listing the messages in the queue
exim -bp
=======
List frozen messages
exim -bp |grep frozen|wc -l
=======
Remove all frozen messages
exiqgrep -z -i | xargs exim -Mrm
=======
Freeze all queued mail from a given sender
exiqgrep -i -f usr| xargs exim -Mf
=======
Remove mails for a specific receiver
exiqgrep -ir usr | xargs exim -Mrm
=======
View a message’s headers
exim -Mvh
=======
Count the no of messages
exim -bp | grep user@example.com |wc -l
=======
Remove all messages
exim -bpru|awk {‘print $3′}|xargs exim -Mrm
=======
Total mail send
grep user /var/log/exim_mainlog | grep “<=” -c
======
No comments:
Post a Comment