Re: [exim] Remove from queue

Top Pagina
Delete this message
Reply to this message
Auteur: Renaud Allard
Datum:  
Aan: tower
CC: Exim-Users
Onderwerp: 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