I'm using https://hub.docker.com/r/osticket/osticket with an nginx server container at the front and no matter what I've tried - I can't manage to get it to send EMail. Although I can't view the logs from the dashboard due to the other ticket that I opened the ost_syslog table simply contains the error "Unable to email via php mail function:my_email_here mail() returned failure". Is there any way to see a more detailed log of the error?
Here's the configuration I'm using.
docker-compose:
osticket:
image: osticket/osticket:latest
container_name: osticket
ports:
- "8891:80"
environment:
- MYSQL_HOST=mysql
- MYSQL_USER=$OSTICKET_DB_USER
- MYSQL_PASSWORD=$OSTICKET_DB_PASSWORD
- MYSQL_DATABASE=$OSTICKET_DB
- SMTP_HOST=smtp.1und1.de
- SMTP_PORT=587
- SMTP_FROM=$SMTP_USER
- SMTP_USER=$SMTP_USER
- SMTP_PASSWORD=$SMTP_PASSWORD
depends_on:
- mysql
( the SMTP settings are correct as other containers are using the same env vars and do send EMail successfully)
EMail configuration:
System info (from the docker container)
Suggestions?