TECHIES WORLD

For Techs.... Techniques.... Technologies....

CpanelEximLinux

How to remove mails from exim queue for a particular address

To remove mails from a particular address in the queue

Step1: Login to the server via SSH

Step2: Run the below command

#exiqgrep -i -f user@domain.com | xargs exim -Mrm

Here
-i >> Print messages id
-f >> Match sender address


To remove mails to a particular address in the queue

Step1: Login to the server via SSH

Step2: Run the below command

#exiqgrep -i -r user@domain.com | xargs exim -Mrm

Here
-i >> Print messages id
-r >> Match recipient address

 

Leave a Reply