Update ubuntu-postfix-setup.sh

This commit is contained in:
Ankit Patial 2024-12-11 13:39:30 +00:00
parent 8a3d2ebdda
commit f5caeded23

View File

@ -60,3 +60,12 @@ sudo certbot certonly --standalone --rsa-key-size 4096 --agree-tos --preferred-c
# test # test
# echo "This is the body of an encrypted email" | mail -s "This is the subject line" root # echo "This is the body of an encrypted email" | mail -s "This is the subject line" root
# dkim setup
# ref: https://www.linuxbabe.com/mail-server/setting-up-dkim-and-spf
apt install opendkim opendkim-tools
gpasswd -a postfix opendkim
vim /etc/opendkim.conf
# ...