Our Exim mail queue is filled with loads of bounce mails (around 150k) etc due a problem on a site of one of our costumers.
All those mails are addressed to for example: [email protected]
I want to remove all those mails with the command
When I run that command I am getting the error:
Line mismatch: 983d 1LCQIJ-0005Gn-7s <[email protected]>
exim: no message ids given after -Mrm option
I searched and found that I can remove those mails with the command:
(I found this in: http://www.directadmin.com/forum/showthread.php?t=24018)
But there seem to be loads of those malformed messages etc.
Is there a command I can use to remove all those messages?
(I also tried other commands for example those in: http://bradthemad.org/tech/notes/exim_cheatsheet.php and http://www.directadmin.com/forum/showthread.php?t=28596).
Thanks in advance!
All those mails are addressed to for example: [email protected]
I want to remove all those mails with the command
Code:
exiqgrep -ir [email protected] | xargs exim -Mrm
When I run that command I am getting the error:
Line mismatch: 983d 1LCQIJ-0005Gn-7s <[email protected]>
exim: no message ids given after -Mrm option
I searched and found that I can remove those mails with the command:
Code:
# cd /var/spool/exim/
# rm */message-id*
But there seem to be loads of those malformed messages etc.
Is there a command I can use to remove all those messages?
(I also tried other commands for example those in: http://bradthemad.org/tech/notes/exim_cheatsheet.php and http://www.directadmin.com/forum/showthread.php?t=28596).
Thanks in advance!