rename postmap script
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
2020-02-03 19:29:25 -03:00
parent 5177ae6732
commit 77b16e447a
2 changed files with 1 additions and 1 deletions

16
postmap_all Executable file
View File

@@ -0,0 +1,16 @@
#!/bin/bash
# run postmap on all configured lookup tables
postconf -h \
postscreen_access_list \
postscreen_dnsbl_reply_map \
smtp_sasl_password_maps \
smtpd_client_restrictions \
smtpd_helo_restrictions \
smtpd_recipient_restrictions \
virtual_alias_maps \
virtual_mailbox_maps \
| sed "s/,/\n/g" | sed "s/ /\n/g" | sort | uniq \
| egrep '(hash):' \
| xargs -n1 postmap