Borrar cola completa o parcial de qmail

Bajar el qmail-remove( http://www.profesionalhosting.com/soporte-en-linea/qmail-remove-095-descargar2.html ) e instalar con:
make
make install

Opciones del script:

qmail-remove -h
qmail-remove [options]
-e use extended POSIX regular expressions
-h, -? this help message
-i search case insensitively [default: case sensitive]
-n limit our search to the first bytes of each file
-p specify the pattern to search for
-q specify the base qmail queue dir [default: /var/qmail/queue]
-d actually remove files not yank them, no -p will delete all the messages!
-r actually remove files, without this we'll only print them
-s specify your conf-split value if non-standard [default: 23]
-v increase verbosity (can be used more than once)
-y directory to put files yanked from the queue [default: /yanked]
-X modify timestamp on matching files, to make qmail expire mail
is the number of seconds we want to move the file into the past.
specifying a value of 0 causes this to default to (604800)
-x modify timestamp on matching files, to make qmail expire mail
is a date/time string in the format of output of the "date" program.
see manpage for strptime(2) for details of this format

Para borrar cola completa:
qmail-remove -d
Para borrar cola donde se encuentre la palabra MAILER-DAEMON
qmail-remove -p 'MAILER-DAEMON' -d
  • 0 Utilizadores acharam útil
Esta resposta foi útil?

Artigos Relacionados

¿Como gestionar paquetes rpm?

Instalando/desinstalando Para instalar un paquete rpm, prueba rpm -i ruta/al/rpm/ainstalar.rpm o...

Configuraciones de qmail

Todos los ficheros de configuración residen en: /var/qmail/control Para ver configuración...

Recompilar php y actualizacion del mismo

Bajamos php source de: http://www.php.net/downloads.php En nuestro caso: PHP 5.1.6...

Instalacion de ioncube

Bajamos el ioncube: http://www.ioncube.com/loaders.php Creamos un directorio donde...

Actualizar el ioncube

Bajamos el ioncube: http://www.ioncube.com/loaders.php Creamos un directorio donde...