User Tools

Site Tools


sysadmin_misc:postfix

Postfix

  • purge mails in queue based on their body content :
find /var/spool/postfix/deferred/ -type f -exec grep -li 'sex' '{}' \; | xargs -n1 basename | xargs -n1 postsuper -d
sysadmin_misc/postfix.txt · Last modified: 2018/09/25 15:00 (external edit)