Re: Error [99] reset password

Zahid Rahman <[email protected]> Thu, 19 Dec 2019 08:09:02 +0000
Newsgroups gmane.comp.db.postgresql.pgadmin.devel
Message-ID <CAPGSW3TEnPvnsShT6w-td+ZezRXorw22KTkcNHUdCjweQKtf-Q@mail.gmail.com>
I set the password to  PGADMIN_DEFAULT_PASSWORD *and* my gmail account
password in config_local.py, still same outcome.
sudo docker run -p 80:80 -e '[email protected]' -e
'PGADMIN_DEFAULT_PASSWORD=sunrise' -d dpage/pgadmin4
I also restarted docker each time I changed config_local.py

[image: kub18 : bash — Konsole_007.png]
[image: Mozilla Firefox_008.png]

On Thu, 19 Dec 2019 at 06:33, Aditya Toshniwal <
[email protected]> wrote:

> Hi Zahid,
>
> You need to configure it. It will not work as it is obviously. :)
> Set the mail server, username, password for the reset password mail to
> trigger. Below is the example to use Gmail.
>
> MAIL_SERVER = 'smtp.gmail.com'
> MAIL_PORT = 465
> MAIL_USE_SSL = True
> MAIL_USERNAME = '<you email>@gmail.com'
> MAIL_PASSWORD = '<your password>'
> MAIL_DEBUG = False
>
>
> On Thu, Dec 19, 2019 at 11:54 AM Zahid Rahman <[email protected]>
> wrote:
>
>> Hi,
>>
>>  created file config_local.py --> rebooted --> no change
>> [image: kub18 : bash — Konsole -2-‎_004.png]
>> [image: Mozilla Firefox_006.png]
>>
>>
>>
>> On Thu, 19 Dec 2019 at 04:52, Aditya Toshniwal <
>> [email protected]> wrote:
>>
>>> Hi Zahid,
>>>
>>> You need to configure the pgAdmin SMTP params by creating
>>> config_local.py and changing
>>>
>>> MAIL_SERVER = 'localhost'
>>> MAIL_PORT = 25
>>> MAIL_USE_SSL = False
>>> MAIL_USE_TLS = False
>>> MAIL_USERNAME = ''
>>> MAIL_PASSWORD = ''
>>> MAIL_DEBUG = False
>>>
>>> Ref  https://www.pgadmin.org/docs/pgadmin4/4.16/config_py.html for
>>> config_local.py.
>>>
>>> On Thu, Dec 19, 2019 at 2:21 AM Zahid Rahman <[email protected]>
>>> wrote:
>>>
>>>> I did reset my port 25 "sudo ufw allow 25"
>>>> but made no diff. Which port is expect ? Thanks.
>>>> [image: Mozilla Firefox_002.png]
>>>>
>>>>
>>>>
>>>
>>> --
>>> Thanks and Regards,
>>> Aditya Toshniwal
>>> pgAdmin Hacker | Sr. Software Engineer | EnterpriseDB India | Pune
>>> "Don't Complain about Heat, Plant a TREE"
>>>
>>
>
> --
> Thanks and Regards,
> Aditya Toshniwal
> pgAdmin Hacker | Sr. Software Engineer | EnterpriseDB India | Pune
> "Don't Complain about Heat, Plant a TREE"
>
Mozilla Firefox_002.png (image/png, 85.3 KB) - not displayed
kub18 : bash — Konsole -2-‎_004.png (image/png, 62.7 KB) - not displayed
Mozilla Firefox_006.png (image/png, 85.3 KB) - not displayed
kub18 : bash — Konsole_007.p ng (image/png, 79 KB) - not displayed
Mozilla Firefox_008.png (image/png, 88.4 KB) - not displayed