-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Email configuration did not work for me #62
Comments
Checking the headers I confirmed that it still does use SSL:
So, for me it's all good, but I guess worth checking so that others do not run into the same problem. By the way, this is what I am using restic with: https://www.syncosync.org |
Presumably the server isn't accessible on that port then? FWIW, for submission port 587 is more appropriate than 465. The latter is just what became mainstream due to misuse. |
Yeah, but 465 is the port that my provider uses: https://www.df.eu/blog/sslin-df-eu-sslout-df-eu/ I have also set that up in my email clients and it works fine there!? So I can't really explain it, but when I leave out the port bit it works fine. (If I get the PowerShell documentation right, default port will be 25, seems that works also with SSL enabled in case of my provider.) |
Would need to inspect the network traffic to determine why it fails when you have the port number configured I suppose. But if you're lucky enough that your ISP isn't blocking outgoing port 25 (very common around where I live) and it works then not much to fix :) |
Is it safe to close this issue? It doesn't look like there's a code fix here needed for the scripts? |
Hi!
First of all, great set of scripts to wrap around restic - I love them! 🙂
I ran into one little problem (under Windows 10). In "secrets.ps1" I had set up the info regarding my SMTP server. In particular, I had set:
$ResticEmailConfig=@{UseSsl=$true; Port="465"}
But email sending would not work, I would get timeouts from the mail server. Strangely enough, omitting the port made it work for me:
$ResticEmailConfig=@{UseSsl=$true;}
After all, 465 should be the standard port for SMTP via SSL/TLS. I hope it still uses SSL, not sure how to check that.
Cheers,
Tim
The text was updated successfully, but these errors were encountered: