public inbox for [email protected]  
help / color / mirror / Atom feed
From: Aditya Toshniwal <[email protected]>
To: Zahid Rahman <[email protected]>
Cc: pgadmin-hackers <[email protected]>
Subject: Re: Error [99] reset password
Date: Thu, 19 Dec 2019 12:02:25 +0530
Message-ID: <CAM9w-_nHWeePDBaHxqu1DHkaNK+Obux_3+hCkgCEHr3yKuLnXw@mail.gmail.com> (raw)
In-Reply-To: <CAPGSW3Sh0ObFf7=Q4LszOyoOpPZxzXZaWvEiWntbZ4J1hRRTaw@mail.gmail.com>
References: <CAPGSW3QXzS48u54M7+mEGBNWMrw7G366LNOqu3Dt1oYJAFkOfA@mail.gmail.com>
	<CAM9w-_mMf-chKOz1rXDBZZ9=xaZb1ZHp0upZmU7JxxFP=PVmmQ@mail.gmail.com>
	<CAPGSW3Sh0ObFf7=Q4LszOyoOpPZxzXZaWvEiWntbZ4J1hRRTaw@mail.gmail.com>

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"


Attachments:

  [image/png] Mozilla Firefox_002.png (85.3K, 3-Mozilla%20Firefox_002.png)
  download | view image

  [image/png] kub18 : bash — Konsole -2-‎_004.png (62.7K, 4-kub18%20:%20bash%20%E2%80%94%20Konsole%20-2-%E2%80%8E_004.png)
  download | view image

  [image/png] Mozilla Firefox_006.png (85.3K, 5-Mozilla%20Firefox_006.png)
  download | view image

view thread (8+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: Error [99] reset password
  In-Reply-To: <CAM9w-_nHWeePDBaHxqu1DHkaNK+Obux_3+hCkgCEHr3yKuLnXw@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox