Delete Email di Queue Zimbra

Delete Email di Queue Zimbra

Delete Email di Queue ZimbraDelete Email di Queue Zimbra, Pagi ini saya mendapatkan masalah email spam zimbra di salah satu client di jakarta. Ada satu email dengan alamat yang sama mengirim ribuat email. Hasilnya queue menjadi penuh. Berikut cara menghapus email tersebut.

Dalam contoh ini saya menggunakan test@example.com

Gunakan user root

Untuk pengecekkan queue ID berdasarkan email test@example.com

/opt/zimbra/postfix/sbin/postqueue -p | /bin/egrep -v '*\(|-Queue ID-' \
| awk 'BEGIN { RS = "" } { if ($7 == "<strong>test@example.com</strong>") print $1} ' | tr -d '*!'

Untuk menghapus seluruh email test@example.com di queue.

/opt/zimbra/postfix/sbin/postqueue -p | egrep -v '^ *\(|-Queue ID-' \
| awk 'BEGIN { RS = "" } { if ($7 == "<strong>test@example.com</strong>") print $1} ' \
| tr -d '*!' | /opt/zimbra/postfix/sbin/postsuper -d -

Flush queue

/opt/zimbra/postfix/sbin/postqueue -f

Queue ulang email

/opt/zimbra/postfix/sbin/postsuper -r ALL

Menghapus semua email di queue

/opt/zimbra/postfix/sbin/postsuper -d ALL

 

Tinggalkan Balasan

Alamat email Anda tidak akan dipublikasikan. Ruas yang wajib ditandai *

×

Hello!

Klik salah satu dibawah untuk chat WhatsApp atau kirim email kepada kami ke info@saad.web.id

× WhatsApp Kami
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.