umputun / remark42

comment engine
https://remark42.com
MIT License
4.77k stars 375 forks source link

Failing to send mail notifications through iCloud's SMTP server #1772

Closed kanapitsas closed 1 month ago

kanapitsas commented 2 months ago

Hi, I'm trying to set up mail login and notifications though a custom domain on iCloud. My config is as follows:

smtp.host=smtp.mail.me.com
smtp.port=587
smtp.username=redacted@icloud.com
smtp.password=redacted
smtp.starttls
notify.email.from_address=remark@redacted.com
notify.admins=email
auth.email.enable
auth.email.from= remark@redacted.com

But when I try to register with email, I get the following error:

failed to send confirmation - failed to make smtp client: timeout connecting to smtp.mail.me.com:587: dial tcp 17.57.155.28:587: i/o timeout - 500 - 104.28.42.20 - /auth/email/login?site=remark&address=redacted&user=redacted [caused by auth/provider/verify.go:191 provider.VerifyHandler.sendConfirmation]

I've tried using port 465 and TLS, same result. But I can connect and send mails with the same parameters with Python, so it's not an issue with the server.

Latest release 1.13.0

kanapitsas commented 1 month ago

Actually it's my provider blocking port 587, not an issue with remark42.