Stop sending e-mail to the Internet
parent
027b73aae3
commit
6669508dbf
|
@ -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_alias_maps=mysql:/etc/postfix/mysql-groups.cf
|
||||||
postconf -e virtual_transport=lmtp:127.0.0.1:2003
|
postconf -e virtual_transport=lmtp:127.0.0.1:2003
|
||||||
postconf -e virtual_mailbox_domains=$MYDOMAIN
|
postconf -e virtual_mailbox_domains=$MYDOMAIN
|
||||||
|
postconf -e smtpd_relay_restrictions=defer_unauth_destination
|
||||||
|
|
||||||
# get aliases from database.
|
# get aliases from database.
|
||||||
cat <<EOF > /etc/postfix/mysql-aliases.cf
|
cat <<EOF > /etc/postfix/mysql-aliases.cf
|
||||||
|
|
Loading…
Reference in New Issue