Last active
December 11, 2017 16:30
-
-
Save welrbraga/26384b53c0038738846789ad49ef1ffc to your computer and use it in GitHub Desktop.
Remover todas as mensagens de um determinado domínio da fila de entrega do Postfix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DOMAIN="@dominiomaildito.com" ; postqueue -p |awk '/'$DOMAIN'/ { system("postsuper -d "$1) }' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment