Re: Dovecot 2.3.8 - How to force index creation for user/mailbox?

2019-12-05 Thread Dmitry Donskih via dovecot
Yes. mail_location = maildir:/var/vmail/%Ld/%Ln/Maildir:INBOX=/var/vmail/%Ld/%Ln/Maildir/.INBOX:INDEX=/var-fast/dovecot/indexes/vmail/%Ld/%Ln As Sami Ketola wrote earlier: rm -f /var-fast/dovecot/indexes/vmail/domain.ru/user/.INBOX/* doveadm index -u u...@domain.ru INBOX doveadm force-resync-u

Re: ssl_cert: Can't open file permission denied

2019-04-10 Thread Dmitry Donskih via dovecot
`chmod -R 655 /etc/foobar/ssl' drops x attribute from `ssl' itself. Use `chmod -R 755' or `chmod +x' or similar. 10.04.2019 12:36, Laura Smith via dovecot пишет: > Dovecot 2.3.3 (dcead646b) > openSUSE Leap 15.0 > > I am getting a weird error message: > > Fatal: Error in configuration file /etc/dov

Re: dovecot ssl error message from my own connections

2019-04-01 Thread Dmitry Donskih via dovecot
"Connection reset by peer" means client breaks connection, not server. Client expects non-SSL connection? Client somehow fails over to non-SSL? STARTTLS where TLS expected? Client fails to verify server certificate? Or you use misconfigured imap-proxy? Have a look at *client* logs. You may try "

Re: Dovecot logrotation - old journal files are still in use (second attempt)

2019-03-18 Thread Dmitry Donskih via dovecot
Give it a try with postrotate doveadm -o base_dir=/var/run/dovecot/ log reopen endscript

Re: LDAP users issue

2019-03-18 Thread Dmitry Donskih via dovecot
I suggest you try adding extra attributes to LDAP replies: https://wiki.dovecot.org/AuthDatabase/LDAP/Userdb#Attribute_templates_.28v2.1.2B-.29 Primarily, define "mail=" explicitly. And then compare auth userdb outputs in logs for both LDAP and non-LDAP. Hope this helps. 18.03.2019 12:25, Anu

Re: LDAP users issue

2019-03-18 Thread Dmitry Donskih via dovecot
A problem with your /etc/dovecot/dovecot-ldap.conf.ext ? Can you attach it? Try: auth_verbose = yes auth_verbose_passwords = no auth_debug = yes auth_debug_passwords = no and compare those strings in logs for LDAP and non-LDAP logins: auth: Debug: master userdb out: USER470548

GSSAPI and usernames, not Kerberos ticket names

2019-03-09 Thread Dmitry Donskih via dovecot
Hi all, I've got a Dovecot v2.3.3 IMAP with GSSAPI auth set up. This server is in main domain, 'contoso.com'. I also have several subdomains. My problem is usernames with GSSAPI authentication: When I try to login as 'user' or as 'u...@contoso.com' - everything works. But, 'u...@contoso.com' aut