Re: Errors after upgrade to v2.3.17

2021-12-02 Thread Aki Tuomi
Hi Adrian, Aurel. I am not sure why Adrian consider that .dovecot.lda-dupes would have been changed like this? Your problem is that you have configured mail home and mail location to point to same place, causing dovecot to consider .dovecot.lda-dupes as a maildir folder. This is a very

DoveCot Virtual Mailboxes With MySql

2021-12-02 Thread postfix
PLEASE HELP - Dovecot Virtual Mailboxes Using MySql I have a thread detailing my problem with config here: https://ubuntuforums.org/showthread.php?t=2469564 VPS Ubuntu 20.04 postfix 3.4.13 and dovecot 2.3.7.2 I've got multiple domains each having multiple emails. I'm using Virtual Mailboxes

Re: execve(/usr/bin/sieve-test) failed: Argument list too long

2021-12-02 Thread Aki Tuomi
> On 02/12/2021 17:16 Patrick Cernko wrote: > > > Hi Dovecot developers, > > while debugging the above error message from sieve-test, I found out, > that the content of directive ssl_ca is added as env var SSL_CA by > doveconf on execve and sieve-test now uses doveconf. > > In our setup,

Re: LDAP Help

2021-12-02 Thread Mihai Badici
On 12/2/21 10:25 PM, Günther J. Niederwimmer wrote: Hello Dovecot professionals, I have a working user authentication with LDAP, now I want to allow the users to use mailAterneteAddress for their account, unfortunately I can't find any filter settings for dovecot that this works? I just can't

Re: Requested CRAM-MD5 scheme, but we have only CRYPT

2021-12-02 Thread Alexander Dalloz
Am 02.12.2021 um 10:11 schrieb Christian Mack: You only can use CRAM-MD5 when your authentication source provides plain passwords. And that's the biggest issue with these shared secret authentication mechanisms: that you have to store the passwords unencrypted/unsalted. Never a good idea to

LDAP Help

2021-12-02 Thread Günther J . Niederwimmer
Hello Dovecot professionals, I have a working user authentication with LDAP, now I want to allow the users to use mailAterneteAddress for their account, unfortunately I can't find any filter settings for dovecot that this works? I just can't find the right settings for LDAP (FreeIPA). Does

Re: Errors after upgrade to v2.3.17

2021-12-02 Thread Adrian Minta
Hi Aurel, apparently before 2.3.17 '.dovecot.lda-dupes' and '.dovecot.lda-dupes.lock' where files, but starting with this release they are full folders with cur/new/tmp in them. Don't know if this is a bug or something is missing from the docs. On 12/2/21 1:55 PM, Aurel Mihai wrote: Hello,

RE: Searching 30 GB mailbox

2021-12-02 Thread Scott
Why are you still going through Dovecot for this ? @ 4.5 million messages you could just reprogram your app to search solr directly, it will return the uid of the message and you can use that directly in imap uid fetch. Scott -Original Message- From: dovecot On Behalf Of Einar Bjarni

LDAP and user duplicated with replication

2021-12-02 Thread Claudio Corvino
Hi, I have two IMAP/LMTP Dovecot server in replica (version 2.3.4.1), I use LDAP/AD for /userdb, /replica is working. When I do a search like: /doveadm replicator status '*'/ I receive user duplicated, with and without the domain part, for example: /test/ /t...@domain.com/ but they are

execve(/usr/bin/sieve-test) failed: Argument list too long

2021-12-02 Thread Patrick Cernko
Hi Dovecot developers, while debugging the above error message from sieve-test, I found out, that the content of directive ssl_ca is added as env var SSL_CA by doveconf on execve and sieve-test now uses doveconf. In our setup, ssl_ca is set to ssl_ca = on our director servers. We have

Re: Searching 30 GB mailbox

2021-12-02 Thread Einar Bjarni Halldórsson
If I search for the UID I get -- 3 fetch 5166713 ENVELOPE 3 BAD Error in IMAP command FETCH: Invalid messageset (0.001 + 0.000 secs). -- If I run the search in IMAP I get -- 4 SEARCH HEADER Messgage-ID <64jf4cstuxzuvatjbbrvp3ibjnmbeguvxzoa1osm...@min.isnic.is> * SEARCH * 4465180 EXISTS

Re: Searching 30 GB mailbox

2021-12-02 Thread Einar Bjarni Halldórsson
If you have fts_enforced = yes then that SEARCH probably goes to solr even if message-id is found from cache. So the delay is probably on solr side. Can you try to remove fts_enforced for that one particular user? I only added fts_enforced yesterday. When I sent the original post I wasn't

Errors after upgrade to v2.3.17

2021-12-02 Thread Aurel Mihai
Hello, after upgrade to version 2.3.17, we enconter a lot of errors, such as: Dec 2 13:41:22 mail5 dovecot: lmtp(user@domain)<41944>: Error: lmtp-server: conn unix:pid=40487,uid=107 [22]: rcpt user@domain: stat(/home/virtual0/domain/user/.dovecot.lda-dupes/tmp) failed: Not a directory Here is

Re: Requested CRAM-MD5 scheme, but we have only CRYPT

2021-12-02 Thread Christian Mack
Hello auth_mechanisms are only for encrypting passwords while authenticating. They have nothing to do with transport encryption aka TLS and STARTTLS. You only can use CRAM-MD5 when your authentication source provides plain passwords. As you use password hashes in your authentication source, you

Re: Searching 30 GB mailbox

2021-12-02 Thread Sami Ketola
> On 2. Dec 2021, at 10.57, Einar Bjarni Halldórsson wrote: > root@ht-mailstore01:/data/mail/hostmasterlog/mdbox/mailboxes/INBOX/dbox-Mails > # doveadm dump . | grep -c hdr.MESSAGE-ID > 4464736 > > In dovecot config I have `fts_enforced = yes` and after the search for > Message-ID finishes

Re: Searching 30 GB mailbox

2021-12-02 Thread Einar Bjarni Halldórsson
You can inspect the index files with doveadm dump to check what is cached. Not sure how it went with mdbox storage driver. According to `man doveadm-dump` it just seems to dump index files. I tried dumping the cache file but it complains that it can't auto detect the file type. Try this: