{"id":1178,"date":"2011-04-04T14:31:00","date_gmt":"2011-04-04T13:31:00","guid":{"rendered":"http:\/\/blog.unelink.es\/?p=1178"},"modified":"2012-03-09T12:57:48","modified_gmt":"2012-03-09T11:57:48","slug":"eliminar-correos-en-cola-de-qmail","status":"publish","type":"post","link":"https:\/\/hosting.airetech.es\/blog\/wiki\/linux\/eliminar-correos-en-cola-de-qmail\/","title":{"rendered":"Eliminar correos en cola de qmail"},"content":{"rendered":"<p>Con este script podr\u00e9is eliminar r\u00e1pidamente la cola de correos pendientes de enviar desde qmail. A veces, cuando se sufre un ataque de SPAM e intentamos eliminar los correos con el comando que nos proporciona qmail no funciona porque hay demasiados correos. Para eso debemos de hacerlo a mano.<\/p>\n<pre>\/etc\/init.d\/qmail stop\r\ncd \/var\/qmail\/queue\r\nrm -rf info intd local mess remote todo\r\nmkdir mess\r\nfor i in `seq 0 22`; do\r\nmkdir mess\/$i\r\ndone\r\ncp -r mess info\r\ncp -r mess intd\r\ncp -r mess local\r\ncp -r mess remote\r\ncp -r mess todo\r\n\r\nchmod -R 750 mess todo\r\nchown -R qmailq:qmail mess todo\r\n\r\nchmod -R 700 info intd local remote\r\nchown -R qmailq:qmail intd\r\nchown -R qmails:qmail info local remote\r\n\r\n\/etc\/init.d\/qmail start<\/pre>\n","protected":false},"excerpt":{"rendered":"Con este script podr\u00e9is eliminar r\u00e1pidamente la cola de correos pendientes de enviar desde qmail. A veces, cuando se sufre un ataque de SPAM e intentamos eliminar los correos con el comando que nos proporciona qmail no funciona porque hay demasiados correos. Para eso debemos de hacerlo a mano. \/etc\/init.d\/qmail stop cd \/var\/qmail\/queue rm -rf info intd local mess remote&nbsp;<a href=\"https:\/\/hosting.airetech.es\/blog\/wiki\/linux\/eliminar-correos-en-cola-de-qmail\/\" class=\"read-more\">Seguir leyendo<\/a>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[10],"tags":[],"class_list":["post-1178","post","type-post","status-publish","format-standard","hentry","category-linux","cat-10-id"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/hosting.airetech.es\/blog\/wp-json\/wp\/v2\/posts\/1178","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hosting.airetech.es\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hosting.airetech.es\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hosting.airetech.es\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hosting.airetech.es\/blog\/wp-json\/wp\/v2\/comments?post=1178"}],"version-history":[{"count":4,"href":"https:\/\/hosting.airetech.es\/blog\/wp-json\/wp\/v2\/posts\/1178\/revisions"}],"predecessor-version":[{"id":1181,"href":"https:\/\/hosting.airetech.es\/blog\/wp-json\/wp\/v2\/posts\/1178\/revisions\/1181"}],"wp:attachment":[{"href":"https:\/\/hosting.airetech.es\/blog\/wp-json\/wp\/v2\/media?parent=1178"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hosting.airetech.es\/blog\/wp-json\/wp\/v2\/categories?post=1178"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hosting.airetech.es\/blog\/wp-json\/wp\/v2\/tags?post=1178"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}