Re: [exim] Remove from queue

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Christopher Chaduka
Date:  
À: Renaud Allard
CC: Exim-Users, tower
Sujet: Re: [exim] Remove from queue
On Tue, Dec 8, 2009 at 1:11 PM, Renaud Allard <renaud@???> wrote:
> 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


You will need more house cleaning with this one as you are assuming
the sender address does not have an entry in the queue as one of the
recipients. I would stick with Simon's solution.