Hello everyone. We have greenbone community containers running, but we are unable to get email alerting working.
We have postfix configured on the local host running the docker images, and that can send mail sucessfully. We wanted to point greenbone to the local postfix.
I tested the configuration from: E-mail alerting - #3 by mervin
extra_hosts:
- “host.docker.internal:host-gateway”
environment: - MTA_HOST=host.docker.internal
- MTA_PORT=25
- MTA_TLS=off
- MTA_STARTTLS=off
- MTA_FROM=sender@domain.com
- MTA_AUTH=off
But we see this in the log email: system failed with ret 19200, 75, read FROM TO < /tmp/gvmd-args-ifmb1J; /usr/sbin/sendmail -f "$FROM" "$TO" < /tmp/gvmd-content-PV4faK > /dev/null 2>&1
How do we configure this to work successfully?
(I also tested trying to have the MTA in the container send to gmail direct, as per the example in the documentation, but received a similar error - all be it with a different ret code)
Thanks!