Emails not working

In first place I would like to know, how I can download a backup of my forum through console in digital ocean, cause I don’t receive the mail of the backup.

In second place, I already found the problem of the forum not sending emails, the port beeing at 587. So what I’m asking is how can I change to the port 2525 in brevo to put my emails to work again, cause I don’t find that options.
Another option would be to switch to mailgun free plan, but I also don’t know how to change from brevo to mailgun in my discourse forum.

1 Like

Hi @Rafael_Goncalves ,

I have done a test install this afternoon - Digital Ocean like yourself

.\discourse-doctor alerted to issue with port 587, connecting to Brevo

on change from port 587 to 2525 in app.yml and rebuild, email worked👍

1 Like

i did a Windows 11 screen recording of the full successful install, that involved many changes particularly with outbound email (third-party) providers Brevo or MailGun. Hoping to land it in the Community wiki > Sysadmins category tommorow🙂 (as in United Kingdom’s tommorow)

i think you would

snap install aws-cli --classic

aws configure

cd /var/discourse

.\launcher enter app

rails c

Discourse.enable_readonly_mode(Discourse::USER_READONLY_MODE_KEY)

exit

discourse backup

docker cp “app:/var/www/discourse/public/backups/default/your-site-2006-01-02-150405-v20200101150405.tar.gz “ “root@[server_ip_address]:/var/discourse/shared/standalone/backups/default/your-site-2006-01-02-150405-v20200101150405.tar.gz“

this step might be Unnecessary anyway, because /shared is bind-mounted to the host already ??

exit

aws s3 cp “/var/discourse/shared/standalone/backups/default/your-site-2006-01-02-150405-v20200101150405.tar.gz“ “myBucket://your-site-2006-01-02-150405-v20200101150405.tar.gz“

please note i haven’t tested these commands at all

@Rafael_Goncalves

You can set everything up in the Mailgun side of things, then change the SMTP username and password in your app.yml file.