catatnight / docker-postfix

run postfix with smtp authentication (sasldb) in a docker container
MIT License
309 stars 220 forks source link

Issues emailing office365 #12

Open ryanccarter opened 8 years ago

ryanccarter commented 8 years ago

Just wanted to give you a heads up that emailing something that is hosted at office365 will fail with:

454 4.7.0 Failed to establish appropriate TLS channel: Access Denied (in reply to RCPT TO command))

I was able to fix this by adding the following to main.cf:

smtp_tls_security_level = may

ryanccarter commented 8 years ago

This appears to work as well:

smtp_tls_security_level = encrypt