peacecop kalmer:
2020-Dec-02 01:25 UTC
logging in to postfixadmin failed probably because of a dovecot error
I can?t log in to postfixadmin anymore. It says that the username or password is incorrect. It can?t be incorrect as I?ve stored them in Google and ?Chrome?. I have two admin accounts and none of them can?t be used for logging in. So I changed the main password with ?setup.php? and copied that hash into the configuration file. Then, I deleted one of the admin accounts directly in the database from the table ?admin?. Finally, I tried to recreate that deleted admin account using ?setup.php?. I get the following error message: ?can?t encrypt password with dovecotpw, see error log for details?. I had a look into the error log file of postfixadmin and found these complaints: [Wed Dec 02 02:33:37.551048 2020] [authz_core:debug] [pid 30540] mod_authz_core.c(809): [client 192.168.1.65:54948] AH01626: authorization result of Require all granted: granted, referer:https://postfixadmin.tennis24.ee/setup.php [Wed Dec 02 02:33:37.551070 2020] [authz_core:debug] [pid 30540] mod_authz_core.c(809): [client 192.168.1.65:54948] AH01626: authorization result of : granted, referer:https://postfixadmin.tennis24.ee/setup.php [Wed Dec 02 02:33:37.551280 2020] [php7:warn] [pid 30540] [client 192.168.1.65:54948] PHP Warning: Cannot assign an empty string to a string offset in /usr/share/postfixadmin/variables.inc.php on line 31, referer:https://postfixadmin.tennis24.ee/setup.php [Wed Dec 02 02:33:37.568128 2020] [php7:notice] [pid 30540] [client 192.168.1.65:54948] dovecotpw password encryption failed., referer:https://postfixadmin.tennis24.ee/setup.php [Wed Dec 02 02:33:37.568155 2020] [php7:notice] [pid 30540] [client 192.168.1.65:54948] STDERR output: doveconf: Fatal: Error in configuration file /etc/dovecot/conf.d/10-ssl.conf line 13: ssl_cert: Can't open file /etc/letsencrypt/live/test.tennis24.ee/fullchain.pem: Permission denied\n, referer:https://postfixadmin.tennis24.ee/setup.php [Wed Dec 02 02:33:37.568897 2020] [deflate:debug] [pid 30540] mod_deflate.c(854): [client 192.168.1.65:54948] AH01384: Zlib: Compressed 1320 to 732 : URL /setup.php, referer:https://postfixadmin.tennis24.ee/setup.php Is the issue connected to the permission problem? If so why is the permission denied? I can't even receive any mails to the address kalmer at test.tennis24.ee anymore. If I send out it works fine but no mail arrives. -- *peacecop kalmer:* *Instituudi?tee 3-27 * *76902 * *Harku * *Harku* *Harjumaa* Estonia *+372 652 4228 * *+372??5620?4556 * *__________________________________________________________________ * -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20201202/7ffedbd9/attachment.html>
John Fawcett
2020-Dec-07 13:57 UTC
logging in to postfixadmin failed probably because of a dovecot error
On 02/12/2020 02:25, peacecop kalmer: wrote:> > I can?t log in to postfixadmin anymore. It says that the username or > password is incorrect. It can?t be incorrect as I?ve stored them in > Google and ?Chrome?. I have two admin accounts and none of them can?t > be used for logging in. So I changed the main password with > ?setup.php? and copied that hash into the configuration file. Then, I > deleted one of the admin accounts directly in the database from the > table ?admin?. Finally, I tried to recreate that deleted admin account > using ?setup.php?. I get the following error message: ?can?t encrypt > password with dovecotpw, see error log for details?. > > I had a look into the error log file of postfixadmin and found these > complaints: > > [Wed Dec 02 02:33:37.551048 2020] [authz_core:debug] [pid 30540] > mod_authz_core.c(809): [client 192.168.1.65:54948] AH01626: > authorization result of Require all granted: granted, > referer:?https://postfixadmin.tennis24.ee/setup.php > <https://postfixadmin.tennis24.ee/setup.php> > [Wed Dec 02 02:33:37.551070 2020] [authz_core:debug] [pid 30540] > mod_authz_core.c(809): [client 192.168.1.65:54948] AH01626: > authorization result of : granted, > referer:?https://postfixadmin.tennis24.ee/setup.php > <https://postfixadmin.tennis24.ee/setup.php> > [Wed Dec 02 02:33:37.551280 2020] [php7:warn] [pid 30540] [client > 192.168.1.65:54948] PHP Warning: Cannot assign an empty string to > a string offset in /usr/share/postfixadmin/variables.inc.php on > line 31, referer:?https://postfixadmin.tennis24.ee/setup.php > <https://postfixadmin.tennis24.ee/setup.php> > [Wed Dec 02 02:33:37.568128 2020] [php7:notice] [pid 30540] > [client 192.168.1.65:54948] dovecotpw password encryption failed., > referer:?https://postfixadmin.tennis24.ee/setup.php > <https://postfixadmin.tennis24.ee/setup.php> > [Wed Dec 02 02:33:37.568155 2020] [php7:notice] [pid 30540] > [client 192.168.1.65:54948] STDERR output: doveconf: Fatal: Error > in configuration file /etc/dovecot/conf.d/10-ssl.conf line 13: > ssl_cert: Can't open file > /etc/letsencrypt/live/test.tennis24.ee/fullchain.pem: Permission > denied\n, referer:?https://postfixadmin.tennis24.ee/setup.php > <https://postfixadmin.tennis24.ee/setup.php> > [Wed Dec 02 02:33:37.568897 2020] [deflate:debug] [pid 30540] > mod_deflate.c(854): [client 192.168.1.65:54948] AH01384: Zlib: > Compressed 1320 to 732 : URL /setup.php, > referer:?https://postfixadmin.tennis24.ee/setup.php > <https://postfixadmin.tennis24.ee/setup.php> > > Is the issue connected to the permission problem? If so why is the > permission denied? > > I can't even receive any mails to the address kalmer at test.tennis24.ee > anymore. If I send out it works fine but no mail arrives. > > -- > > *peacecop kalmer:* > > *Instituudi?tee 3-27 * > > *76902 * *Harku * > > *Harku* > > *Harjumaa* > Estonia > > *+372? 652 4228 * > > *+372??5620?4556 * > > *__________________________________________________________________ * >The following may help https://sourceforge.net/p/postfixadmin/discussion/676076/thread/0a7aaf6305/ https://dovecot.org/pipermail/dovecot/2020-August/119642.html John -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20201207/cb503db1/attachment.html>