fix postmap script
This commit is contained in:
parent
ef5ebfbc64
commit
5177ae6732
@ -5,11 +5,12 @@
|
||||
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|ldap|pcre):' \
|
||||
| xargs postmap
|
||||
| egrep '(hash):' \
|
||||
| xargs -n1 postmap
|
||||
|
Loading…
x
Reference in New Issue
Block a user