mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-11 07:42:58 +03:00
🐛 Bug Report: SMTP not working with iCloud Mail #372
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @etcg on GitHub.
Reproduction steps
I am using iCloud Mail with my own cloudflare domain, but I get an error in the log. I use these settings described here: https://support.apple.com/en-us/102525
I tried several different ‘SMTP From’ email addresses. The same settings, as described, work with other self-hosted services. I also tried a test 'Email Login Notification' to rule out the possibility that the issue is related to the ‘Send test email’ function.
Expected behavior
Send mails.
Actual Behavior
With TLS enabled I get:
Error #01: failed to say hello to SMTP server: smtp: Hello called after other methodsWith TLS unchecked this:
Error #01: failed to authenticate SMTP client: unencrypted connection'Skip Certificate Verification' checked and unchecked makes no difference.
Version and Environment
v0.27.1
Log Output
@etcg commented on GitHub:
I just wanted to confirm that it’s indeed working now. Thanks for the quick fix!
@stonith404 commented on GitHub:
This should be fixed in
v0.27.2@kmendell commented on GitHub:
@etcg I think i may know the issue here not 100% though.
@stonith404 It looks like the Hello command is being called after some other email methods, if TLS is checked, which would go against the requirements of that function. If i have some time later today ill try to take a look at that.
Edit: Working on this now, I think i found a fix.