Skip to content

Instantly share code, notes, and snippets.

@hasen
Created December 12, 2015 08:51
Show Gist options
  • Save hasen/b1a0f8356077baf7f01a to your computer and use it in GitHub Desktop.
Save hasen/b1a0f8356077baf7f01a to your computer and use it in GitHub Desktop.
OSX (El Capitan)のローカル環境でメール送信テスト.(1/2)
++ relayhost = [smtp.gmail.com]:587
++
++ # SASL Authentication
++ smtp_sasl_auth_enable = yes
++ smtp_sasl_password_maps = hash:/etc/postfix/gmail_passwd
++ smtp_sasl_security_options = noanonymous
++ smtp_sasl_mechanism_filter = plain
++
++ # TLS Settings
++ smtp_use_tls = yes
++ smtp_tls_security_level = encrypt
++ tls_random_source = dev:/dev/urandom
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment