Closed ciscoqid closed 4 years ago
Another idea would be to have sendmail use a SMTP relay
Another idea would be to have sendmail use a SMTP relay
a relay to the host MTA? isn't "standalone to remote mailserver" more elegant?
I used postfix and set a relayhost. Works great. Just make sure you get the iptables correct too. In my install, I just forward to the host running the container, but it could forward to any relay host. Postfix will also let you forward to email services that require authentication.
I need some help with that.
Running the container here, how and where do I have to configure which SMTP-Server OpenVAS should use?
PR #57 created for basic postfix support (relay and port). Shamelessly copied from @immauss's repository. Worked fine with my relay server.
PR #57 has been merged. If anyone still has problems please open a new issue.
I provided a PR yesterday to add sendmail to the container, but it is not enough to just install it from what I have found. It has to be started and that requires additional setup. This method may work better:
https://www.michelebologna.net/2019/send-an-email-from-a-docker-container/