Hi,
I am experiencing a strange problem:
I set up NC via docker-compose where I defined, among others, the following environment variable: SMTP_HOST=172.19.0.4.
172.19.0.4 was an additional msmtp container I need to NC to talk to my mail server; for some reason, its IP address has changed. So I changed the setting in NC on the Basic Settings page to 172.19.0.2 and saved it. This change is also reflected in config.php.
However, when I try to send a test mail, I get an error that NC failed to send the mail via 172.19.0.4 (!) So although the IP address appears to be changed successfully (as evidenced by config.php), NC seems to still be using the previous setting from the docker-compose.yml file.
Is the IP address provided via docker-compose environment somehow “hard-coded” and overrides the setting in config.php?
Any ideas?
Thanks!