Skip to content

Instantly share code, notes, and snippets.

@iamspark1e
Created February 8, 2023 07:16
Show Gist options
  • Save iamspark1e/6f2bd0b0d7097764e698174337299b38 to your computer and use it in GitHub Desktop.
Save iamspark1e/6f2bd0b0d7097764e698174337299b38 to your computer and use it in GitHub Desktop.
## Office E5 mail
relayhost = [smtp.office365.com]:587
smtp_sasl_auth_enable = yes
smtp_sasl_security_options = noanonymous
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sender_dependent_authentication = yes
smtp_generic_maps = hash:/etc/postfix/generic
# STARTTLS in my case, this can solve SSL handshake error.
smtp_tls_security_level = may
# If your network cannot access IPv6.
inet_protocols = ipv4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment