Re: Fatal error in http-client.c when passdb is oauth2 and userdb is sql

2023-07-18 Thread Евгений
- все Test reply. Sorry. 18.07.2023, 15:37, "Aki Tuomi via dovecot" :  On 18/07/2023 15:10 EEST Евгений Бахтин <m...@eugene.su> wrote:Dovecot version: 2.3.20  Dear Colleagues! passdb is set to oauth2 and userdb is set to sql. On attempt of authorization a fatal error is

Re: Fatal error in http-client.c when passdb is oauth2 and userdb is sql

2023-07-18 Thread Евгений Бахтин
Can you send auth_debug=yes and debug=yes (in oauth2 config) logs?This is with debug. Jul 18 15:29:14 mail01 dovecot: master: Dovecot v2.3.20 (80a5ac675d) starting up for imap (core dumps disabled)Jul 18 15:29:21 mail01 dovecot: auth: Debug: Loading modules from directory: /usr/lib/dovecot/modules/

Re: Fatal error in http-client.c when passdb is oauth2 and userdb is sql

2023-07-18 Thread Евгений Бахтин
Can you send auth_debug=yes and debug=yes (in oauth2 config) logs?This is with debug. Jul 18 15:29:14 mail01 dovecot: master: Dovecot v2.3.20 (80a5ac675d) starting up for imap (core dumps disabled)Jul 18 15:29:21 mail01 dovecot: auth: Debug: Loading modules from directory: /usr/lib/dovecot/modules/

Fatal error in http-client.c when passdb is oauth2 and userdb is sql

2023-07-18 Thread Евгений Бахтин
 Dovecot version: 2.3.20 Dear Colleagues!passdb is set to oauth2 and userdb is set to sql. On attempt of authorization a fatal error is rising. The case reproducible 100%. The following suggested configuration files allow you to reproduce the case.Thank you! dovecot.conf```protocols = imapauth_mech

Unexpected variable expand behavior

2021-12-08 Thread Евгений Бахтин
Hi, dear developers!I have two passdb sections. The first one is PostgreSQL and the second one is LDAP.In the first passdb (SQL) I wrote ˋpassword_queryˋ with ˋ... 'uid=life,is=good' AS "dn" ...ˋ part.When I run ˋdoveadm auth test usernameˋ it shows correct variable value in ˋextra fields: dn=uid=l

Re: doveadm mailbox cryptokey - not found

2017-01-13 Thread Корнеечев Евгений
4/dovecot/modules/doveadm/libdoveadm_mail_crypt_plugin.so -- С уважением, Корнеечев Евгений, ООО "Удаленные системы", Тел: +7 (495) 989-48-28 Моб: +7 (929) 589-95-26 Е-Майл: hotl...@rem-sys.ru (для заявок) Е-Майл: e...@rem-sys.ru (личный)

Dovecot 2.2.16 doesn't rotate mdbox files

2015-05-04 Thread Басов Евгений
Hello, there's setting in my config file: mail_location = mdbox:/var/vmail/%Ld/%Ln:INDEX=/var/indexes/%Ld/%Ln mdbox_rotate_size = 1M mdbox_preallocate_space = yes mdbox_rotate_interval = 1d As I understand, this settings means that file which contains letters with refcount=0 will be rotated af

Re: [Dovecot] v2.2.rc5 released

2013-04-05 Thread Басов Евгений
Hello, Timo. Do you implemented dsync tcp server for replication? If do so how to configure it?

[Dovecot] dovecot-2.2.beta1: do not removes e-mail with enabled replication

2013-01-16 Thread Евгений Басов
Hello. I'm created two installations of dovecot-2.2.beta1 with identical config. Without replication each server works good. With replication enabled every changes are replicated between these ones. When I probe remove or move some email in another folder it is disappears and reappears again and

[Dovecot] Dovecot-lda and multiple records after filter.

2011-04-13 Thread Басов Евгений
Hello. Some records in my LDAP base have same values in mail field: # extended LDIF # # LDAPv3 # base with scope subtree # filter: (&(mail=someu...@p.ru)(|(AccountStatus=active)(accountStatus=shared))) # requesting: mailMessageStore # dn: cn=lala,ou=Mail,dc=ph,dc=local mailMessageStore: /var/mai

Re: [Dovecot] Dovecot-2.0.11 searches in all LDAP directory

2011-03-29 Thread Басов Евгений
28.03.2011 15:19, Joseba Torre пишет: > > If not needed, remove the pam passdb and the passwd userdb and check again. > > HTH Yes you are quite right. Dovecot uses LDAP over pam. I'm disabled this feature and works fine. Thanks.

Re: [Dovecot] Dovecot-2.0.11 searches in all LDAP directory

2011-03-26 Thread Басов Евгений
> I tested IMAP over telnet: > > $ telnet mainserv.ph.com 143 > Trying 192.168.1.252... > Connected to mainserv.ph.com. > Escape character is '^]'. > * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE > IDLE STARTTLS AUTH=PLAIN] Dovecot ready. > a001 LOGIN someuser password1 > >

[Dovecot] Dovecot-2.0.11 searches in all LDAP directory

2011-03-26 Thread Басов Евгений
Hello. I have some users IDs in different OUs with different passwords. Base OU for mail server is 'ou=Mail, dc=ph, dc=com' Trying manual search: # ldapsearch -b 'ou=Mail, dc=ph, dc=com' -D 'cn=bind, ou=Users, dc=ph, dc=com' -w XXX -s sub -h mainserv.ph.com '(&(objectClass=qmailUser)(uid=someuse