FreeBSD/jails/config/mail/postfix/reinit.sac
Sharad Ahlawat 90c5709862 .
2021-04-01 01:23:14 -07:00

14 lines
378 B
Plaintext
Executable File

# update aliases.db
newaliases
rm /usr/local/etc/postfix/virtual-maillist-alias-maps.db
postmap /usr/local/etc/postfix/virtual-maillist-alias-maps
rm /usr/local/etc/postfix/protected_destinations.db
postmap /usr/local/etc/postfix/protected_destinations
rm /usr/local/etc/postfix/restricted_senders.db
postmap /usr/local/etc/postfix/restricted_senders
service postfix reload