smtp server for email notifications

Get help for specific problems
Posts: 24
Joined: 18 Nov 2018

hspindel

I have recently made a donation, and configured email notifications.

I've noticed that the notifications come from freefilesync.org and are routed through an SMTP server somewhere.

Notifications should be a purely local action on my network, routed through my local SMTP server, and should never hit the internet. But I can find no place in FFS setup to specify an SMTP server, and FFS doesn't seem to obey any default SMTP servers on my machine (Win10).

I would prefer that notifications happen only through my local SMTP server. Any way to set that?
Posts: 170
Joined: 5 Jan 2024

John1234

Hi,

I'm pretty sure the SMTP server is hard coded.

There is an option in free file sync to run a command on completion of a task or job.

This website has a program that lets you send an email from the command line.

https://www.auronsoftware.com/products/auron-sendemail/

There are probably others too.



Theoretically there is a way to use your own SMTP server by creating an on completion task that runs a Powershell script when the job is completed.

I found an example of the Powershell script on perplexity but I don't want to post it here because I have no idea if it's valid. You'll need to learn how to use your own SMTP server from a Powershell script.
Posts: 24
Joined: 18 Nov 2018

hspindel

Thank you for the reply.

It's not a big enough concern to require a fix. Just thought it strange that FFS routes SMTP messages through a server I know nothing about, and that FFS doesn't have a config option for that.
Posts: 4910
Joined: 11 Jun 2019

xCSxXenon

Pretty common actually. My workplace has created emails and used our own server for client notifications because it means the customer doesn't have to do anything for it to work. This ensures two things:
1. It works right away
2. The customer can't break it
There are some rare occasions when we set up a system where the client handles everything on their own, but that's usually when we simply want nothing to do with them ever again.