Not quite sure what I'm doing wrong here, but I think my docker is stuck in a boot loop type of scenario. The whole log file is just this repeating:
2024-07-15 08:58:06-05:00 INFO start-mailserver.sh: Welcome to docker-mailserver v14.0.0
2024-07-15 08:58:06-05:00 INFO start-mailserver.sh: Checking configuration
2024-07-15 08:58:06-05:00 INFO start-mailserver.sh: Configuring mail server
2024-07-15 08:58:07-05:00 ERROR sedfile: No difference after call to 'sed' in 'sedfile' (sed -i s|^postmaster_address = .*$|postmaster_address =
[email protected]|g /etc/dovecot/conf.d/15-lda.conf)
2024-07-15 08:58:07-05:00 ERROR sedfile: No difference after call to 'sed' in 'sedfile' (sed -i -e s|#ssl = yes|ssl = yes|g /etc/dovecot/conf.d/10-master.conf)
2024-07-15 08:58:07-05:00 ERROR sedfile: No difference after call to 'sed' in 'sedfile' (sed -i -e s|#ssl = yes|ssl = required|g /etc/dovecot/conf.d/10-ssl.conf)
2024-07-15 08:58:07-05:00 ERROR sedfile: No difference after call to 'sed' in 'sedfile' (sed -i -e s|#port = 993|port = 993|g /etc/dovecot/conf.d/10-master.conf)
2024-07-15 08:58:07-05:00 ERROR sedfile: No difference after call to 'sed' in 'sedfile' (sed -i s|quota_max_mail_size =.*|quota_max_mail_size = 10M|g /etc/dovecot/conf.d/90-quota.conf)
2024-07-15 08:58:07-05:00 ERROR sedfile: No difference after call to 'sed' in 'sedfile' (sed -i s|quota_rule = \*:storage=.*|quota_rule = *:storage=0|g /etc/dovecot/conf.d/90-quota.conf)
POSTGREY_TEXT="Delayed by Postgrey"
2024-07-15 08:58:07-05:00 ERROR start-mailserver.sh: Cannot find a valid DOMAIN for '/etc/letsencrypt/live/<DOMAIN>/', tried: '', 'domain.us', 'domain.us'
2024-07-15 08:58:07-05:00 ERROR start-mailserver.sh: _find_letsencrypt_domain | LETSENCRYPT_DOMAIN appears to be misconfigured, please verify.
2024-07-15 08:58:07-05:00 ERROR start-mailserver.sh: Shutting down
2024-07-15 08:58:08,704 WARN exited: mailserver (exit status 1; not expected)
2024-07-15 08:58:08,705 WARN received SIGTERM indicating exit request
Edit: solved the issue, didn't set up the docker correctly on install