Can't get SMTP email FROM address to update from default

Every time I make the change in .env, and run docker-compose down, docker-compose up -d I still get the following:

Error: could not send email: gomail: could not send email 1: 553 5.7.1 info@example.tld: Sender address rejected: not owned by user

I have my .env file is formatted correctly.

This was solved in 2021.3 I didn’t have the issue anymore.

@jpdigi what version were you running prior? 2020.12?

i have the same issue in 2021.3. my fix is by disabling smtp on first startup, setting the settings for smtp in the admin area and then adding the environment variables to the compose and restarting.