souramoo / commentoplusplus

Commento with out of the box patches and updates to add useful features and fixes. Also with one-click deploy to Heroku so you can get up and running fast.
MIT License
391 stars 63 forks source link

How to modify SMTP configuration #70

Closed simonmeggle closed 2 years ago

simonmeggle commented 2 years ago

Hi,

what is the receommended way to change SMTP settings? It does not seemd to be enough to change the environment variables and restart the docker-compose setup. In the commento startup log I always see then the old SMTP data. Only deleting the commento volume did the trick; the database got initialized then with the new values. But I assume there is another way, too... Thanks, Simon

RealOrangeOne commented 2 years ago

SMTP settings are only read from the environment, not the database. I suspect either something else was keeping hold of them, or the restart wasn't actually applying.

souramoo commented 2 years ago

I suspect this is more of a docker usage issue than a commento issue as we don't cache these details anywhere and they are indeed read directly from the environment variables - closing for now but please do comment if you are able to provide a video or similar of this issue happening (with dummy credentials)