rustdesk / rustdesk-server-pro

Some scripts for RustDesk Server Pro are hosted here.
149 stars 75 forks source link

SMTP - RustDeskPro #14

Closed it-boerner closed 1 year ago

it-boerner commented 1 year ago

I can't enter an SMTP server in the RustDesk Console. I have the feeling that German servers or the servers from German providers are not accepted.

After saving, there is always the error that a timeout has occurred.

image

dinger1986 commented 1 year ago

Where's your server hosted? Is port 25 open on it?

it-boerner commented 1 year ago

No, port 465 or 587 is used and SSL/TLS must be used.

https://www.strato.de/faq/mail/so-lauten-die-strato-e-mail-server/

dinger1986 commented 1 year ago

Port 25 was an example, can you telnet or connect from whatever your server is to the Mail server?

You need to answer questions ask as well if you want help!

it-boerner commented 1 year ago

Do the ports in the Linux firewall also have to be open for the connection to the SMTP server?

Could this be the problem?

dinger1986 commented 1 year ago

They shouldn't need to be incoming but you need to test from the commandline using telnet or similar. Chances are your VPS provider blocks smtp and you need to ask them to unblock

it-boerner commented 1 year ago

Thanks for the help, I will check accordingly

dinger1986 commented 1 year ago

I was going to add smtp setup to the docs today and testing anyways

rustdesk commented 1 year ago

I tested Google smtp and AWS SES.

dinger1986 commented 1 year ago

It's most likely the vps provider

it-boerner commented 1 year ago

Yes, it is the VPS provider (Hetzner) and ports 25 and 465 are blocked there by default.

dinger1986 commented 1 year ago

Please close. I'll write up for FAQs today anyway

dinger1986 commented 1 year ago

I'll check tonight 👍

it-boerner commented 1 year ago

Sorry, the problem was on my side. All good and it works perfectly :)