Re: Question regarding mail server

Поиск
Список
Период
Сортировка
От Aditya Toshniwal
Тема Re: Question regarding mail server
Дата
Msg-id CAM9w-_kTas5g+_KgvJSnZpERE3UYYSankBOK4g+1oTeZOTMKng@mail.gmail.com
обсуждение исходный текст
Ответ на Question regarding mail server  (Christos Roussidis <xristos.roussidis@gmail.com>)
Ответы Re: Question regarding mail server  (Christos Roussidis <xristos.roussidis@gmail.com>)
Список pgadmin-support
Hi Christos,

I tried simply setting up 2FA without SMTP config and things worked fine. No email required and no errors.
The password reset is required to send email as pgAdmin needs to send the reset link for the first "email with password" authentication. 

On Thu, Jul 27, 2023 at 3:34 PM Christos Roussidis <xristos.roussidis@gmail.com> wrote:
Hello, 

I would like to ask you a question regarding the mail server. So when running pgadmin4 in server mode it requires a mail server to send emails for things like 2FA and password reset.

It seems impossible though to disable that function. Our setup doesn't need a mail server at all as we only use authenticator for the 2FA and admins are able to configure passwords and change them for the rare case that the user needs a reset on them.

On version 7.3 I am getting in logs the error 
> 2023-07-27 11:37:09,086: ERROR  pgadmin:    'mfa.send_email_code'

The above error on version 7.5 is not silent anymore and even breaks our running pgadmin4 instance. It would really help if we had a toggle switch in the settings where we could completely disable the mail server functionality. 

Thank you in advance
 


--
Thanks,
Aditya Toshniwal
pgAdmin Hacker | Sr. Software Architect | enterprisedb.com
"Don't Complain about Heat, Plant a TREE"

В списке pgadmin-support по дате отправления:

Предыдущее
От: Christos Roussidis
Дата:
Сообщение: Question regarding mail server
Следующее
От: Christos Roussidis
Дата:
Сообщение: Re: Question regarding mail server