Skip to content

Commit

Permalink
Change the values of mydomain and mydestination
Browse files Browse the repository at this point in the history
  • Loading branch information
williamdes committed Jan 10, 2024
1 parent 6284246 commit 3f2c6cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions user-patches.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ sed -i '/^mydestination =/d' /etc/postfix/main.cf
# Delete this value to default as empty default
sed -i '/^smtpd_sasl_local_domain =/d' /etc/postfix/main.cf

printf '\nmydomain = %s\n' "localhost" >> /etc/postfix/main.cf
printf '\nmydestination = %s\n' "localhost" >> /etc/postfix/main.cf
printf '\nmydomain = %s\n' '$myhostname' >> /etc/postfix/main.cf
printf '\nmydestination = %s\n' '$myhostname, localhost' >> /etc/postfix/main.cf
# For: https://github.com/GermanCoding/Roundcube_TLS_Icon
printf '\nsmtpd_tls_received_header = yes\n' "localhost" >> /etc/postfix/main.cf

Expand Down

0 comments on commit 3f2c6cd

Please sign in to comment.