Closed malutanpetronel closed 5 years ago
after restart I see with tail /var/log/mail.log ... Oct 2 08:40:06 75d0986c0269 postfix/master[614]: fatal: file /etc/postfix/main.cf: parameter myhostname: bad parameter value: 75d0986c0269. It seems params were wrongly taken from elsewhere but not the issued command
seems you are following some old documentation? This is how it should work:
docker run --privileged -p 80:80 -p 443:443 \
-h HOSTNAME.DOMAIN \
-e "MYSQL_ROOT_PASSWORD=password" \
-e "SOGO_WORKERS=1" \
-e "TZ=Europe/Prague" \
-e "POSTMASTER_PASSWORD={PLAIN}password" \
-e "IREDAPD_PLUGINS=['reject_null_sender', 'reject_sender_login_mismatch', 'greylisting', 'throttle', 'amavisd_wblist', 'sql_alias_access_policy']" \
-v PATH/mysql:/var/lib/mysql \
-v PATH/vmail:/var/vmail \
-v PATH/clamav:/var/lib/clamav \
--name=iredmail lejmr/iredmail:mysql-latest
Specifically, you are missing -h attribut..
You still have that old documentation on hub.docker.com
I did issued the command: docker run --privileged -p 80:80 -p 443:443 \ -e "DOMAIN=web.ro" -e "HOSTNAME=mail" \ -e "MYSQL_ROOT_PASSWORD=pass!" \ -e "SOGO_WORKERS=1" \ -e "TIMEZONE=Europe/Bucharest" \ -e "POSTMASTER_PASSWORD={PLAIN}pass!" \ -e "IREDAPD_PLUGINS=['reject_null_sender', 'reject_sender_login_mismatch', 'greylisting', 'throttle', 'amavisd_wblist', 'sql_alias_access_policy']" \ -v /var/lib/mysql \ -v /var/vmail \ -v /var/lib/clamav \ --name=iredmail lejmr/iredmail:mysql-latest
but it seems either the docker run still execute something or it did not finish correctly.
also tail /var/log/mail.log Oct 2 08:08:22 75d0986c0269 postfix/postqueue[1477]: fatal: Queue report unavailable - mail system is down
can you provide me some help please ?