Blog

Posts Tagged Exim

Clear Mailcleaner Incomming Que

If you need to clean out the incoming que from the mail cleaner que try the command below in the SSH.

 

If you want to test first run

/opt/exim4/bin/exiqgrep -C /usr/mailcleaner/etc/exim/exim_stage1.conf domain.tld

If that shows the emails that you want to remove try

/opt/exim4/bin/exiqgrep -C /usr/mailcleaner/etc/exim/exim_stage1.conf -i domain.tld | xargs /opt/exim4/bin/exim -C /usr/mailcleaner/etc/exim/exim_stage1.conf -Mrm

Posted in: Blog

Leave a Comment (0) →