Re: [exim] Remove from queue

Góra strony
Delete this message
Reply to this message
Autor: Renaud Allard
Data:  
Dla: tower
CC: Exim-Users
Temat: Re: [exim] Remove from queue
Hello,

tower wrote:
> Hi
>
> I want to remove messages from exim queue. There is a lot of message id
> but one sender, so use exim -Mrm <id-message> isn't a nice idea. I
> should use some like exim -?? <sender address>.
>
> Thanks for Your help
>


You can do something like:
mailq | grep <sender_address> | awk '{ print $3 }' | xargs exim -Mrm