postfixの配送遅延対処方法
参考サイト:
http://www.postfix-jp.info/trans-2.0/jhtml/postsuper.1.html
http://www.postfix-jp.info/trans-2.0/jhtml/postqueue.1.html
行った対応等:
●深夜帯にかかるため送信を止めたい場合
incoming、active、deferredにあるメールキューをholdに移動する
# postsuper -h ALL
●翌朝に再送する場合
holdからリリースする
# postsuper -H ALL
キューへ入れなおす(flush)
# postqueue -f
もしくは
# postsuper -r ALL
●諦める場合
最終手段として、全メッセージを削除
# postsuper -d ALL active
# postsuper -d ALL incoming
もしくは
# postsuper -d ALL
⇒ 今回、最後の手段をとった所、Deletedの値が active + incoming以上の値になった。
incomingにすら入りきらなかったメールも全て削除されたということと認識。
他に対応した箇所:
activeが20000件で張り付いている場合、qshapeの処理は想像以上に重い模様。
適宜、状況監視を行う間隔を広げる対応をとること。