Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Common commands and tips for using postfix

Shulou Source: shulou.com Published: 2022-06-01 07:24:45 11月26日 Update

Mailq query message queue

Postsuper-d ALL deletes all messages in the queue

/ usr/sbin/postqueue-p | egrep 'xxx@abc.com' | awk' {print $1}'> / tmp/queue.txt

For i in `cat / tmp/ queue.txt`; do / usr/sbin/postsuper-d $I; done batch delete specified MID

Tags: Mail queue query command common use skill Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Docker MariaDB Xiaomi Microsoft Shulou Information