I did not know how best to test the mail configuration. So here is an example. Maybe this will help some of you.
Important, in my test Exchange Server I have not created a mail account for this example (sender spoofing).
Step 1:
User stores a mail address
Step 2:
Setting → User → Password reminder = YES
(For testing also for admins)
Step 3:
Setting → Network → Sending e-mail address: Xibo@MyCompany.com
Step 4:
Configurate config.env before Docker
Attention! I have specified the IP because the name resolution did not work with a static IP on my Ubuntu VM. I still have to see what the problem is.
## SMTP Server Hostname
CMS_SMTP_SERVER=10.10.10.99:25
## SMTP Username
CMS_SMTP_USERNAME=
## SMTP Password
CMS_SMTP_PASSWORD=
## Use a TLS Connection YES/NO
CMS_SMTP_USE_TLS=NO
## Use a STARTTLS Connection YES/NO
CMS_SMTP_USE_STARTTLS=NO
## Rewrite domain (the domain your email will appear to come from)
CMS_SMTP_REWRITE_DOMAIN=MyCompany.com
## Hostname that we should identify ourself to the remote server as
CMS_SMTP_HOSTNAME=MyCompany.com
## Can the From line be overridden in the outbound email
## NB GMail will rewrite the From address anyway so it's not important
## for GMail - YES/NO
CMS_SMTP_FROM_LINE_OVERRIDE=NO
## Fix the from email address if your SMTP relay relies on
## a specific value - eg one.com
#CMS_SMTP_FROM=
Step 5:
Reboot Docker or Server
cd /opt/xibo/
docker compose up -d
Step 6
Then open the Xibo page with another browser. Click on “Forgot password?” at the bottom of the page and enter the user name that has been given an e-mail address.
You should receive an e-mail.
I didn’t find anything in the log files to find out where my problem was, but with Wireshark I saw that it didn’t arrive at my mail server.
@Developer: A mail test button would be very helpful, as in other programs.