=> An attempt was made to access a socket in a way forbidden by its access permissions 64.233.167.108:465 I tried to follow your instructions but got the following error: "Am i doing something wrong? Starting - Running SendMailįailed to send email: : An attempt was made to access a socket in a way forbidden by its access permissions 64.233.167.108:465 You can see how it works in this tutorial: You can also add the options -send-mail-level=all to send an email after every backup task (including seccessful results) and -send-mail-any-operation=true to send mail after any type of operation (for example restore operations). Of course you can also use the SMTP server of your ISP as Smart host to deliver outgoing mail. In the advanced options on the Settings page, I have specified these values for my GMail account: Duplicati %OPERATIONNAME% report for %backup-name% In that warning message was a link to the settings page where the blocking could be disabled.Īfter allowing unsafe apps to use my GMail account, the test message was delivered successfully. Result was that I received a warning in my GMail mailbox, indicating that an unsafe app was trying to use my GMail account. You can test if this works by typing from the command line:ĭ send-mail you don’t receive a test message, you can troubleshoot what’s going wrong with this command: send-mail -verbose -log-level=profiling.įor sending mails from and/or to GMail adresses, I had to supply some other options:ĭ send-mail -send-mail-url=smtps://:465 -send-mail-password=yourpassword -send-mail-subject=Testmessage -verbose -log-level=profiling So the first thing you can try is using only this option. All other mail-related options have default values, which you can change by specifying them. You have to specify at least one option: -send-mail-to. This is the preferred method, because you have to configure it once to make it work for all your backup jobs. You can do this in every backup job or in the Settings page. You can send email reports by supplying some options to a backup job.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |