postfix admin - can't login... "Your email address or password is not correct."
Closed this issue · 4 comments
I've installed this addon but no login is possible.
this is the configuration:
my_hostname: mydomain.no-ip.com domain_name: mydomain.no-ip.com admin_user: admin admin_password: admin letsencrypt_certs: false enable_mailfilter: false smtp_relayhost_credentials: '' log_level: debug
I've tried a all combination in username/email and pass but no result.
this is the log
`[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-banner.sh: executing...
Add-on: Mailserver
Postfix and Dovecot mail server for Home Assistant, with Postfix Admin web interface
Add-on version: 1.2.0
You are running the latest version of this add-on.
System: Home Assistant OS 5.13 (armv7 / raspberrypi3)
Home Assistant Core: 2021.5.5
Home Assistant Supervisor: 2021.04.3
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing...
Log level is set to DEBUG
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] 10-create-config.sh: executing...
[13:56:15] DEBUG: Requested API resource: http://supervisor/services/mysql
[13:56:15] DEBUG: Request method: GET
[13:56:15] DEBUG: Request data: {}
[13:56:15] DEBUG: API HTTP Response code: 200
[13:56:15] DEBUG: API Response: {"result": "ok", "data": {"host": "core-mariadb", "port": 3306, "username": "service", "password": "que3ochee9Fiw7eefol6yaeNgoeNgiexoh3zaicahCita4iezetiR0naephi5ang", "addon": "core_mariadb"}}
Database is up to date: 1843/0
[cont-init.d] 10-create-config.sh: exited 0. [cont-init.d] ~-socklog: executing... [cont-init.d] ~-socklog: exited 0. [cont-init.d] done. [services.d] starting services [services.d] done. [13:56:22] INFO: Starting PHP-FPM... [13:56:22] INFO: Starting Postfix.... [13:56:22] INFO: Starting Dovecot.... listening on /run/systemd/journal/dev-log, gid=65534, uid=65534, starting. mail.info: May 26 11:56:22 postfix/master[662]: daemon started -- version 3.5.9, configuration /etc/postfix mail.info: May 26 11:56:22 dovecot: master: Dovecot v2.3.13 (89f716dc2) starting up for imap, lmtp [13:56:23] INFO: Starting NGinx.... [26/May/2021:14:11:16 +0200] 302 88.55.112.16, 172.30.32.1(172.30.32.2) GET / HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36) [26/May/2021:14:11:17 +0200] 200 88.55.112.16, 172.30.32.1(172.30.32.2) GET /login.php HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36) 2021/05/26 14:11:32 [error] 767#767: *1 FastCGI sent in stderr: "PHP message: PostfixAdmin admin login failed (username: admin, ip_address: 172.30.32.2)" while reading response header from upstream, client: 172.30.32.2, server: 32b8266a-mailserver, request: "POST /login.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9002", host: "myhouse.duckdns.org:1234", referrer: "https://myhouse.duckdns.org:1234/api/hassio_ingress/MP1EIWHEd1YOwY4h06pXis_XcMEQgN8w0oomtrFPHNU/login.php" [26/May/2021:14:11:32 +0200] 200 88.55.112.16, 172.30.32.1(172.30.32.2) POST /login.php HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36) [26/May/2021:14:14:14 +0200] 302 88.55.112.16, 172.30.32.1(172.30.32.2) GET / HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36) [26/May/2021:14:14:14 +0200] 200 88.55.112.16, 172.30.32.1(172.30.32.2) GET /login.php HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36) 2021/05/26 14:14:17 [error] 767#767: *5 FastCGI sent in stderr: "PHP message: PostfixAdmin admin login failed (username: admin, ip_address: 172.30.32.2)" while reading response header from upstream, client: 172.30.32.2, server: 32b8266a-mailserver, request: "POST /login.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9002", host: "myhouse.duckdns.org:1234", referrer: "https://myhouse.duckdns.org:1234/api/hassio_ingress/MP1EIWHEd1YOwY4h06pXis_XcMEQgN8w0oomtrFPHNU/login.php" [26/May/2021:14:14:17 +0200] 200 88.55.112.16, 172.30.32.1(172.30.32.2) POST /login.php HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36)`Hi.
Have you tried
username: admin@mydomain.no-ip.com
password: admin
yes, as other configurations,
changing "domain_name" and "my_hostname"
result:
- Your email address or password are not correct
connecting to mysql as "service" user i saw that all postfix tables are empty
ok, database dropped and after restarting the problem is solved on my raspberry pi3 with hassio.
Thank you