hardware / mailserver

:warning: UNMAINTAINED - Simple and full-featured mail server using Docker
https://store.docker.com/community/images/hardware/mailserver
MIT License
1.29k stars 322 forks source link

PostfixAdmin login failed #337

Closed mario26 closed 5 years ago

mario26 commented 6 years ago

Hello,

I just put up your Postfixadmin docker, before i used a hard Postfixadmin version on the server.

I no problem with the mail server, everything works, i receive and send my mails normaly.

My problem with Postfixadmin, i can not identify myself on the administration of the site:

PostfixAdmin login failed (username: test@test.org, ip_address: 172.14.0.10)

I have the impression that he does not use the right method to connect or that he does not find the database?

Here is my configuration:

postfixadmin:
        image: hardware/postfixadmin
        #restart: ${RESTART_MODE} 
        container_name: postfixadmin 
        networks: # Déclarer un réseau
              front: # Section du réseau
                  ipv4_address: 172.14.0.100
        environment:
            - DBPASS=${DATABASE_USER_PASSWORD}
        depends_on:
            - mailserver
            - mariadb

I try to generate a new user through the setup.php but it does not work either, it asks me to add the setup_password:

Setup password not specified correctly

If you want to use the password you entered as setup password, edit config.inc.php or config.local.php and set

$CONF['setup_password'] = '902e0713b30fbe6ebe0c68b8a449109a:fe5b4092d6e8c26becc788249245330a38561a8e';

How can i proceed to add the setup_password to the configuration?? I use Nginx, the site is displayed well, but the connection to the administration is imppossible ...

Thank you

mario26 commented 6 years ago

Okay

Sorry, it works now, just had to read the manual!! LOL

https://github.com/hardware/mailserver/wiki/Postfixadmin-initial-configuration

Thank you! Bye!!