Postfix のメールキューを確認・削除する方法

2022/03/16

送信元メールアドレスからキューIDを特定して削除

postqueue -p | grep <消したいメールを絞り込む条件> | awk '{print $1}'| xargs -L 1 postsuper -d

これでやりたいことはできた。

grep, 文字列除外

正規表現


Written by Circle
A mound built by the accumulation of hyperlinks are like Kowloon.