Code in this video_PostfixAdmin – Set Up A Mail Server with PostfixAdmin on Ubuntu | Debian – Part 6

PostfixAdmin – Set Up A Mail Server with PostfixAdmin on Ubuntu | Debian – Part 6 –Install and Configure SSL/TLS Certificate for Mail Server

✳️ Code in this video:

	sudo apt install certbot python3-certbot-apache -y
📌 Note : Replace FQDN = Your-FQDN

smtpd_use_tls=yes
smtpd_tls_auth_only = yes
smtp_tls_security_level = may
smtpd_tls_security_level = may
smtpd_tls_cert_file=/etc/letsencrypt/live/FQDN/fullchain.pem
smtpd_tls_key_file=/etc/letsencrypt/live/FQDN/privkey.pem
smtpd_sasl_security_options = noanonymous, noplaintext
smtpd_sasl_tls_security_options = noanonymous

📌 Note that there are two spaces before the "-" character.

  -o syslog_name=postfix/submission
  -o smtpd_tls_security_level=encrypt
  -o smtpd_sasl_auth_enable=yes
  -o smtpd_sasl_type=dovecot
  -o smtpd_sasl_path=private/auth
  -o smtpd_reject_unlisted_recipient=no
  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
  -o milter_macro_daemon_name=ORIGINATING


  -o syslog_name=postfix/smtps
  -o smtpd_tls_wrappermode=yes
  -o smtpd_sasl_auth_enable=yes
  -o smtpd_sasl_type=dovecot
  -o smtpd_sasl_path=private/auth
  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
  -o milter_macro_daemon_name=ORIGINATING

Thank You !!!

Leave a Reply

Your email address will not be published. Required fields are marked *