A minor error was found in the Direct email delivery setup instructions for Discourse. The error is in the Letsencrypt key file setting, which uses a placeholder value (/letsencrypt/discourse.example.com/prop.ltcmp.net.key) that should be obvious to replace with the actual domain key file. nachotester pointed out the issue and suggested it be corrected to <your domain key file>. bmann also shared their experience with the issue and suggested continuing the example with /letsencrypt/discourse.example.com/discourse.example.com.key. pfaffman confirmed the correction and asked Falco to make the update, which has now been fixed with a commit to the Discourse Docker repository.
Thanks so much for putting together the Direct-reply-to email. I think it’s one of the most underrated features of Discourse!
The guide is excellent. However, one minor yet error-prone detail is letsencrypt key file setting. It should be very obvious that it’s a placeholder, eg <your domain key file>.
# uncomment these (and the volume below!) to support TLS
# POSTCONF_smtpd_tls_key_file: /letsencrypt/discourse.example.com/prop.ltcmp.net.key <---- ???
# POSTCONF_smtpd_tls_cert_file: /letsencrypt/discourse.example.com/fullchain.cer
# POSTCONF_smtpd_tls_security_level: may