i am currently running my server on host name sercureserver.domain.com. how i can change may host name of mailcow from sercureserver.domain.com to mail.domain.com. Do I have to add all domains which i am configuring on mail cow server ?
Just run docker-compose down, change mailcow.conf and run docker-compose up -d.
docker-compose down
docker-compose up -d
diekuh could you also help me how to reset date and timezone. I am getting below error An unknown error occured: Exception Object ( [message:protected] => DateTimeZone::__construct(): Unknown or bad timezone (India/Mumbai) [string:Exception:private] => [code:protected] => 0 [file:protected] => /web/debug.php [line:protected] => 124 [trace:Exception:private] => Array ( [0] => Array ( [file] => /web/debug.php [line] => 124 [function] => __construct [class] => DateTimeZone [type] => -> [args] => Array ( [0] => TIMEZONE) ) ) [previous:Exception:private] => [severity] => 2 )
diekuh Could you also help me how to reset date and timezone. I am getting below error An unknown error occured: Exception Object ( [message:protected] => DateTimeZone::__construct(): Unknown or bad timezone (TIMEZONE) [string:Exception:private] => [code:protected] => 0 [file:protected] => /web/debug.php [line:protected] => 124 [trace:Exception:private] => Array ( [0] => Array ( [file] => /web/debug.php [line] => 124 [function] => __construct [class] => DateTimeZone [type] => -> [args] => Array ( [0] => TIMEZONE) ) ) [previous:Exception:private] => [severity] => 2 )
The variable you need to change is MAILCOW_HOSTNAME
You need to fix the TZ var in mailcow.conf and run down and up -d
diekuh thanks alot. could you share commands please
Same as above. 🙂
Just run docker-compose down, change mailcow.conf (TZ variable) and run docker-compose up -d.
diekuh made changes i hv landed for longer time on 502 page. it has been more than an hour. kindly help
I can’t. Don’t know what is logged etc. - please always post every information by yourself in the community. We cannot take you by the hand here. 🙂
You will need to wait for someone, I will leave for today, sorry.
diekuh thank u
If you still need help, post some logs, please.