Created
November 16, 2021 10:37
-
-
Save osallou/eb36b9baebc716b49ec782da694ffaeb to your computer and use it in GitHub Desktop.
show postfix mail destinations in queue
This file contains 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
#!/bin/bash | |
mailq |grep " " | grep "@" | tr -s ' ' | rev | cut -d ' ' -f 1 | rev |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment