Skip to main content

Delete mails in queue with terminal

Comments

2 comments

  • cPanelMichael
    Hello :) The Exim cheatsheet is very helpful with these types of commands: Exim Cheatsheet Thank you.
    0
  • dhasbrouck
    Hello, Here is a command I have been using to clear out emails. This would remove all emails that reference example@domain.com: [PHP]grep -lr 'example@domain.com' /var/spool/exim/input/ | sed -e 's/^.*\/\([a-zA-Z0-9-]*\)-[DH]$/\1/gi' | xargs exim -Mrm[/PHP] David
    0

Please sign in to leave a comment.