[postfix-es] Borrar emails en cola

"Iñaki R." irodriguez en virtualminds.es
Mie Mayo 13 10:37:40 CEST 2009


Perdón,

copy&paste malo:

# mailq | grep -v '^ *(' | tr -d '!*' |  grep -v '^ ' | grep -v '^-' | grep
-v '^$' | grep "EMAIL" | cut -d' ' -f1 | postsuper -d -

Saludos


Victor Hugo dos Santos wrote:
> 2009/5/11 "Iñaki R." <irodriguez en virtualminds.es>:
>  
>> Buenas,
>>
>> en la línea de comando pon esto:
>>
>> # mailq | grep -v '^ *(' | tr -d '!*' |  grep -v '^ ' | grep -v '^-' 
>> | grep
>> -v '^$' | grep "EMAIL" | cut -d' ' -f1
>>     
>
> y que hace esta linea además de mostrar el ID del mensaje ??
> creo que te falto algo. :-)
>
> mmmm.. por otro lado, busca pfqueue.
> hace muy  sencilla la administración de las colas.
>
> suerte
>
>   



More information about the postfix-es mailing list