Giter Club home page Giter Club logo

Comments (4)

hardware avatar hardware commented on May 23, 2024

I just tested with the latest build of hardware/postfixadmin on docker hub and everything works fine for me. Look in container's log maybe.

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

from mailserver.

Haikyy avatar Haikyy commented on May 23, 2024

My docker logs postfixamin and mariadb don't give me anything interesting.
I still have the same issue after a complete os reset.
I add the hash setup_password with: docker exec -ti postfixadmin setup
output: setup done; but the setup_password is not recognized or it misses the write access on the database, same for admin account informations I suppose.

Could you give me the logs I have to look for ?

from mailserver.

hardware avatar hardware commented on May 23, 2024

Could you give me the logs I have to look for ?

Apart from postfixamin and mariadb, I don't have any other logs in mind.

output: setup done

Well, that means you have entered a valid string. Do you find the hash in /postfixadmin/config.inc.php (inside posfixadmin container) ?

read -rp "> Postfixadmin setup hash : " HASH

# MD5(salt) : SHA1( MD5(salt) : PASSWORD );
#    32     1              40
# Exemple : ffdeb741c58db80d060ddb170af4623a:54e0ac9a55d69c5e53d214c7ad7f1e3df40a3caa
while [ ${#HASH} -ne 73 ]; do
  echo -e "${CRED}\n/!\ Invalid HASH !${CEND}" 1>&2
  read -rp "> Postfixadmin setup hash : " HASH
  echo ""
done

sed -i "s|\($CONF\['setup_password'\].*=\).*|\1 '${HASH}';|" /postfixadmin/config.inc.php

echo -e "${CGREEN}Setup done.${CEND}"

it misses the write access on the database

That's not possible because SQL migrations are correctly executed at this stage, you can retrieve all the tables in your database.

Which version of mariadb do you use ?

from mailserver.

Haikyy avatar Haikyy commented on May 23, 2024

After 20h afk, I tried again by regenerate the hash and it worked without did anything.
Is there a relative reason with the dkim TXT record propagation time ?
I could met the same issue again because I'll install some others dockers and reset the os, I'll try your solution another time but I close this one atm.
my version of mariadb:10.2

Thank you for your fast feedback

from mailserver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.