Stop sending e-mail to the Internet

master
rohhie 2023-04-30 10:17:53 +09:00
parent 027b73aae3
commit 6669508dbf
1 changed files with 1 additions and 0 deletions

View File

@ -17,6 +17,7 @@ postconf -e virtual_mailbox_maps=mysql:/etc/postfix/mysql-aliases.cf
postconf -e virtual_alias_maps=mysql:/etc/postfix/mysql-groups.cf
postconf -e virtual_transport=lmtp:127.0.0.1:2003
postconf -e virtual_mailbox_domains=$MYDOMAIN
postconf -e smtpd_relay_restrictions=defer_unauth_destination
# get aliases from database.
cat <<EOF > /etc/postfix/mysql-aliases.cf