Filter queue and remove messages to one domain

chuza

Well-Known Member
Jul 4, 2008
47
0
56
Is there a command line option in exim to remove mails directed to email addresses at a single domain. I have found a spamming script has flooded the queue with destination @xyz.com addresses. The xyz.com remains the same. Sadly, sending addresses are also random so I cannot delete them on that basis, only recipient domain.com is same. I do not want to flush the entire queue as there are valid emails from users as well.