Update ubuntu-postfix-setup.sh
This commit is contained in:
parent
b2f1b88ee0
commit
8a3d2ebdda
@ -11,8 +11,12 @@ sudo apt install mailutils
|
|||||||
|
|
||||||
# sudo vim /etc/postfix/main.cf
|
# sudo vim /etc/postfix/main.cf
|
||||||
#
|
#
|
||||||
# masquerade_domains = {your_main_domain}
|
# change, to receive emails only from the server on which it is running—that is, from localhost
|
||||||
# inet_interfaces = loopback-only
|
# inet_interfaces = loopback-only
|
||||||
|
#
|
||||||
|
# change, if domain is actually a subdomain and you want the email messages to look as if they were sent from the main domain:
|
||||||
|
#
|
||||||
|
# masquerade_domains = {your_main_domain}
|
||||||
|
|
||||||
# restart service
|
# restart service
|
||||||
sudo systemctl restart postfix
|
sudo systemctl restart postfix
|
||||||
|
Loading…
Reference in New Issue
Block a user