Secure-Compliance-Solutions-LLC / GVM-Docker

Greenbone Vulnerability Management Docker Image with OpenVAS
https://securecompliance.gitbook.io/projects/
MIT License
247 stars 91 forks source link

[Bug] Write in postfix the environment smtp and port #267

Closed rudnypc closed 3 years ago

rudnypc commented 3 years ago

Hi,

I try to set the RELAYHOST and SMTPPORT, but the main.cf is the same without the values.

austinsonger commented 3 years ago

@rudnypc Again please fill out the bug template completely. Also if you state something like

the main.cf is the same without the values.

and not show us that file, then it just requires more and back and forth.

rudnypc commented 3 years ago

Describe the bug I try to set the RELAYHOST and SMTPPORT in the environment, I open the /etc/postfix/main.cf and I didn't see any changes

I try to execute the 25 line, but the scripts doesn't work: https://github.com/Secure-Compliance-Solutions-LLC/GVM-Docker/blob/master/scripts/entrypoint.sh

To Reproduce Steps to reproduce the behavior:

  1. Deploy the gvm with RELAYHOST and SMTPPORT environments
  2. open /etc/postfix/main.cf and check if it has any change.

Expected behavior I would like to write my personal smtp server in that file.

Screenshots If applicable, add screenshots to help explain your problem. image image

Host Device:

Image in use:



**Additional context**