הרבה בעיות smpt, לא מצליח לשלוח מיילים דרך שרתים שונים

סיכום מבוסס בינה מלאכותית

The user fHainer is experiencing SMTP issues with a new Discourse instance on Ubuntu 20.04, unable to send emails despite correct configurations and working mail servers in other applications. Despite setting DISCOURSE_SMTP_ENABLE_START_TLS: true and testing various ports (25, 476, 587), they receive an authentication error requiring SSL/TLS encryption. They’ve tried multiple mail servers, including one that works in an older Discourse version, but the problem persists. The user has rebuilt the app using ./launcher rebuild app but still faces issues. Another user, pfaffman, asks if the user restarted the app after configuration changes, to which fHainer confirms they did. fHainer also asks if it’s possible to install an older Discourse version on a clean system. fHainer pfaffman fHainer fHainer

Hello,

i have set up a new discourse instance (on Ubuntu 20.04 on the official way) and can’t get the mail settings to run. This is not my first discourse installation, I never had problems before.

I started with a mailserver at the german provider strato.de. From nextcloud and wordpress I can connect and send mails without problems. discourse-doctor reported: 538 5.7.11 Authentication not possible, please use a connection with SSL/TLS encryption. I have tried DISCOURSE_SMTP_ENABLE_START_TLS: true and switched ports 25, 476 and 587 also.

After that I tried another mail server, same problems…

Finally I used a mail server that works without problems in a second discourse instance that I run (its not updated to the latest version, maybe thats the point). I used exactly the same paramters. Unfortunately no connection here either.

With swake I was able to access every mailserver from the same system and could send mails.

Is there a bug in the current version or what am I doing wrong?

thx for help!

Did you ./launcher rebuild app or ./launcher destroy app;./launcher start app after making the changes before trying again?

I did ./launcher rebuild app, thought this is the safest way…

Somebody knows a way to install an older version on a clean system?