Re: [exim] Exim can't delete queue

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: shwick
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] Exim can't delete queue


Thanks problem solved, both of these commands work.

sudo exim4 -bp | awk '/^ *[0-9]+[mhd]/{print "sudo exim -Mrm " $3}' | sh

sudo exim4 -bpr | fgrep '*** frozen ***' | awk '{print $3}' | sudo xargs
exim -Mrm


Bugzilla from eximusers@??? wrote:
>
> shwick <uhimatoti@???> wrote:
>> Ubuntu 8.04
>> Exim 4
>
>> I have 10 frozen messages in the queue and I can't delete them. Both of
>> these commands:
>
>> sudo exim -bpr | grep frozen | awk '{print $3}' | xargs exim -Mrm
> [...]
>> return Permission Denied.
> [...]
>
> You are running 'sudo exim -bpr' and piping the output into
> "grep frozen | awk '{print $3}' | xargs exim -Mrm".
>
> exim -Mrm needs mail admin privileges, it should be run under sudo,
> too. exipick offers a nicer way to do this, BTW.
> cu andreas
> --
> `What a good friend you are to him, Dr. Maturin. His other friends are
> so grateful to you.'
> `I sew his ears on from time to time, sure'
>
>
> --
> ## List details at http://lists.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://wiki.exim.org/
>
>


--
View this message in context: http://www.nabble.com/Exim-can%27t-delete-queue-tp19820002p19824599.html
Sent from the Exim Users mailing list archive at Nabble.com.