Open Eulenbaer opened 1 month ago
email works - you have the mail server setup incorrectly. Without additional details can't really tell you what's wrong.
I tried Outlook and gmail SMTP servers. Same configuaration as for mail clients or other "mail senders". Heck, pretty much my whole IoT runs on gmail, just Tandoor doesn't want to play.
I tried Outlook and gmail SMTP servers. Same configuaration as for mail clients or other "mail senders". Heck, pretty much my whole IoT runs on gmail, just Tandoor doesn't want to play.
if you don't want to share details I can't help you.
for example? What is it you might require to further diagnose the problem?
the email host
mail.gmx.net
The GMX documentation says otherwise: https://hilfe.gmx.net/pop-imap/pop3/serverdaten.html Besides, both should work, and I tried both, SSL and TLS. Neither do work.
SSL requires setting EMAIL_USE_SSL=1
if it is TLS you have to set EMAIL_USE_TLS=1
instead
Thats what the documentation requires and what I tried.
In short, I used TLS configuration with EMAIL_USE_TLS=1 and Port 587 and I tried SSL with EMAIL_USE_SSL=1 and Port 465. For gmail, Outlook and GMX respectively.
The example you showed had SSL and port 587.
Did you rebuild the container between each configuration change?
Just reset the whole container. Removed files from media & static, repulled image, droped postgres table. Recreated container.
No change, mail still does not work.
Check from container via sh to ping google.de / mail.gmx.net, both resolved, both returned pong.
Where are log files of tandoor located? Do I need to switch to debug=1 to see some logs being generated?
Just reset the whole container. Removed files from media & static, repulled image, droped postgres table. Recreated container.
No change, mail still does not work.
Check from container via sh to ping google.de / mail.gmx.net, both resolved, both returned pong.
Where are log files of tandoor located? Do I need to switch to debug=1 to see some logs being generated?
they are sent to std out - but smtp doesn't really generate any logs, so odds you see anything aren't super high, but possible!
Just reset the whole container. Removed files from media & static, repulled image, droped postgres table. Recreated container. No change, mail still does not work. Check from container via sh to ping google.de / mail.gmx.net, both resolved, both returned pong. Where are log files of tandoor located? Do I need to switch to debug=1 to see some logs being generated?
they are sent to std out - but smtp doesn't really generate any logs, so odds you see anything aren't super high, but possible!
Is there a reason why it doesn't contain the SMTP communication? It would help a ton to know, where the settings are broken or missing, or even what the receiving mail server relay has to say =)
I also can't make mails work, so I too would love some logs <3
It's not in the logs because no one has written any logging.
Thanks, I figured out my problem - I was using portainer to run the docker-compose file, which then meant that data was not actually saved... I started it with the docker compose command instead and the same settings as previously - Now SMTP is sending without a problem and I actually have data after new deploys :D
You learn something every day, thanks for your time - I hope this system is as good or better than it seems <3
Issue
Although configured according to the official configuration guide (https://docs.tandoor.dev/system/configuration/#email), tandoor seems to be incapable of sending mails.
I cant make out any attempt of tandoor to actually send a mail.
Tandoor Version
1.5.17
OS Version
Synology DSM 7.2.1-69057 Update 5
Setup
Docker / Docker-Compose
Reverse Proxy
No reverse proxy
Other
No response
Environment file
Docker-Compose file
Relevant logs
No response