Trying to send signed email even though TLS is disabled
See original GitHub issueHello,
In my admin panel, I have disabled TLS for sending emails. However, when trying to recover a password for example, the client shows “Internal server error” and the logs show this:
wekan_1 | Exception while invoking method 'forgotPassword' Error: self signed certificate
wekan_1 | at Object.Future.wait (/build/programs/server/node_modules/fibers/future.js:449:15)
wekan_1 | at Mail._syncSendMail (packages/meteor.js:213:24)
wekan_1 | at smtpSend (packages/email.js:110:13)
wekan_1 | at Object.Email.send (packages/email.js:168:5)
wekan_1 | at AccountsServer.Accounts.sendResetPasswordEmail (packages/accounts-password/password_server.js:614:9)
wekan_1 | at [object Object].Meteor.methods.forgotPassword (packages/accounts-password/password_server.js:546:12)
wekan_1 | at packages/check.js:130:16
wekan_1 | at [object Object]._.extend.withValue (packages/meteor.js:1122:17)
wekan_1 | at Object.exports.Match._failIfArgumentsAreNotAllChecked (packages/check.js:129:41)
wekan_1 | at maybeAuditArgumentChecks (packages/ddp-server/livedata_server.js:1734:18)
wekan_1 | at packages/ddp-server/livedata_server.js:719:19
wekan_1 | at [object Object]._.extend.withValue (packages/meteor.js:1122:17)
wekan_1 | at packages/ddp-server/livedata_server.js:717:40
wekan_1 | at [object Object]._.extend.withValue (packages/meteor.js:1122:17)
wekan_1 | at packages/ddp-server/livedata_server.js:715:46
wekan_1 | at [object Object]._.extend.protocol_handlers.method (packages/ddp-server/livedata_server.js:689:23)
wekan_1 | - - - - -
wekan_1 | at Error (native)
wekan_1 | at TLSSocket.<anonymous> (_tls_wrap.js:1063:38)
wekan_1 | at emitNone (events.js:67:13)
wekan_1 | at TLSSocket.emit (events.js:166:7)
wekan_1 | at TLSSocket._init.ssl.onclienthello.ssl.oncertcb.TLSSocket._finishInit (_tls_wrap.js:621:8)
wekan_1 | at TLSWrap.ssl.onclienthello.ssl.oncertcb.ssl.onnewsession.ssl.onhandshakedone (_tls_wrap.js:453:38)
Why is wekan trying to sign anything even though TLS is disabled? Is it a bug or am I missing something?
Instance is installed with docker-compose, image is the latest one at the time of writing (0.27), and my email server config has been confirmed working with a number of other services.
Thanks!
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:18 (8 by maintainers)
Top Results From Across the Web
Understanding email scenarios if TLS versions cannot be ...
If the receiving server does not support TLS 1.2, Exchange Online being opportunistic will try to send email without TLS.
Read more >Require a secure connection for email - Google Support
TLS prevents unauthorized access of your email when it's. ... By default, Gmail always tries to use a secure TLS connection when sending...
Read more >Disable Outlook SSL/TLS for PGP Email? | Endpoint Encryption
PGP Desktop 10.2 pops up a message when trying to send a encrypted email via Outlook 2010. Prompts to Disable SSL / TLSHow...
Read more >can not send mail after update ver78 SOLVED: caused by TLS
min = 1 and set my security.tls.version.enable-deprecated = true and TB still does not function Inbound or Outgoing with my Earthlink ISP email...
Read more >How to send encrypted email - Entrust
1. Send a signed email to a recipient. · 2. You will also need a copy of that person's public key. · 3....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I FINALLY figured out the problem… It’s the docker-versatile-postfix that includes a self-signed certificate in its image. I bash’d into the container and commented these lines in /etc/postfix/main.cf and now email works:
I will start looking for a replacement for that docker image. Perhaps go with https://github.com/catatnight/docker-postfix or https://github.com/tomav/docker-mailserver
https://github.com/wekan/wekan/wiki/Troubleshooting-Mail#example-aws-ses