Setting up mail server

I run greenbone-community-edition with docker-compose command:
docker-compose -f docker-compose.yml -p greenbone-community-edition exec -u gvmd gvmd gvmd --user=admin --new-password=12345
Where can i set up name and port of my external SMTP server for recieving alerts?
It must be new params for docker-compose or i have to edit some config file in certain container?

Currently no MTA is installed via the container images. And currently we don’t plan to provide one.

You need to extend the gvmd image to provide the sendmail interface. Afterwards E-Mail alerts can be used.

3 Likes

Is there a way to catch a moment when a certain task is done through api, python-gvm, etc?
If yes, i could create my own alert using api info and python.

There is an http alert that just calls a provided URL which you could use.

3 Likes