From 8a3d2ebddaf7d899e50167bc5a42f95a55ef77e0 Mon Sep 17 00:00:00 2001 From: Ankit Patial Date: Tue, 26 Nov 2024 15:52:48 +0000 Subject: [PATCH] Update ubuntu-postfix-setup.sh --- ubuntu-postfix-setup.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ubuntu-postfix-setup.sh b/ubuntu-postfix-setup.sh index 7141e05..bb8aa53 100644 --- a/ubuntu-postfix-setup.sh +++ b/ubuntu-postfix-setup.sh @@ -11,8 +11,12 @@ sudo apt install mailutils # 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 +# +# 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 sudo systemctl restart postfix