2011年6月27日

郵件佇列操作指令

2020.06 更新 ,刪除佇列中的信改以postsuper指令

刪除佇列中的信
postsuper -d ALL

只刪除deferred的信件
postsuper -d ALL deferred

移除特定信件
postqueue -p | grep "email@example.com"

123456789AB 999 Sun Jan 12:00:00 email@example.com

使用Queue ID來刪除信件
postsuper -d 123456789AB


查看佇列
postqueue -q(or mailq)

強迫寄出
postqueue -f

刪除佇列中的信
postqueue -d ALL

刪除queue_id 那封信
postqueue -d queue_id

沒有留言:

張貼留言