Після спам атаки у черзі залишились повідомлення для доставки, тому потрібно почистити чергу postfix.
postqueue -p | tail -n +2 | awk 'BEGIN { RS = "" } /username@example\.com/ { print $1 }' | tr -d '*!' | postsuper -d -
postqueue -p | tail -n +2 | awk 'BEGIN { RS = "" } /username@example\.com/ { print $1 }' | tr -d '*!' | postsuper -d -
Перевірити чергу можна з
posqueue -p
Пораду знайшов тут
https://pgabri.com/blog/delete-mail-from-specific-sender-from-postfix-queue/
Коментарі
Дописати коментар