lejmr/iredmail-docker

unable to login

Closed this issue · 1 comments

Hello!
Got similar problem like here:
#6
Here is how I start the container:

docker run --privileged -p 7080:80 -p 7443:443 \
           -h mydomain.com \
           -e "MYSQL_ROOT_PASSWORD=totallyMyPassword" \
           -e "SOGO_WORKERS=1" \
           -e "TZ=Europe/Moscow" \
           -e "POSTMASTER_PASSWORD={PLAIN}asloMyPassword" \
           -e "IREDAPD_PLUGINS=['reject_null_sender', 'reject_sender_login_mismatch', 'greylisting', 'throttle', 'amavisd_wblist', 'sql_alias_access_policy']" \
           -v /home/al/docker/iredmail/mysql:/var/lib/mysql \
           -v /home/al/docker/iredmail/vmail:/var/vmail \
           -v /home/al/docker/iredmail/clamav:/var/lib/clamav \
           --name=iredmail lejmr/iredmail:mysql-0.9.7

My nginx proxies mail.mydomain.com requests to localhost:7443 so I can open following page:
https://mail.mydomain.com/iredadmin/
But entering login as postmaster@mydomain.com and password asloMyPassword gives me INVALID_CREDENTIALS error.
Tried it with the latest and 0.9.7 versions without luck.

Got it able with following:

docker run --privileged -p 7080:80 -p 7443:443 \
           -e "DOMAIN=mydomain.com" -e "HOSTNAME=mail" \
           -e "MYSQL_ROOT_PASSWORD=pass1" \
           -e "SOGO_WORKERS=1" \
           -e "TZ=Europe/Moscow" \
           -e "POSTMASTER_PASSWORD={PLAIN}pass2" \
           -e "IREDAPD_PLUGINS=['reject_null_sender', 'reject_sender_login_mismatch', 'greylisting', 'throttle', 'amavisd_wblist', 'sql_alias_access_policy']" \
           -v /home/al/docker/iredmail/mysql:/var/lib/mysql \
           -v /home/al/docker/iredmail/vmail:/var/vmail \
           -v /home/al/docker/iredmail/clamav:/var/lib/clamav \
           --name=iredmail lejmr/iredmail:mysql-0.9.7

Thank you.