Re: Searching 30 GB mailbox

2021-12-01 Thread Sami Ketola
> On 1. Dec 2021, at 13.05, Einar Bjarni Halldórsson wrote: > > >> Adding it to mail_always_cache_fields does not miraculously make cache >> updated. Each mail needs to be accessed for that to happen. >> Ie. With doveadm fetch. > I couldn't figure out the doveadm fetch syntax for searching so

Issue with SCRAM-SHA Authorization

2021-12-01 Thread Thomas Schmid
Hi, I was debugging a bug report for my sieve editor implementation concerning an issue with SCRAM-SHA Authorization. But I am a bit unsure about my findings. It seems to be a server side bug. But I am wondering if I missed something. What puzzles me a bit is that SCRAM-SHA is out since ages and

Re: Strategies for protecting IMAP (e.g. MFA)

2021-12-01 Thread Chris Bennett
On Mon, Nov 15, 2021 at 02:14:31PM -0600, Tyler Montney wrote: > I've just recently started using mailing lists, so replying is still a bit > awkward to me. (Probably be easier if we'd use forums.) Forums are a mixed bag. Some love them, some hate them. I previously ran a forum for LedgerSMB. It

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

2021-12-01 Thread absolutely_free
Hi, I wondering if I can simply disable CRAM-MD5 and/or DIGEST-MD5. Are they useful in case of SSL or TLS connections? Thankyou > Il 01/12/2021 18:42 Aki Tuomi ha scritto: > > > auth_mechanisms = plain login digest-md5 cram-md5 > > You still advertise them though. > > Aki

new bee needs starter docs

2021-12-01 Thread Gene Heskett
Greetings all' Brand New today install of debian bullseye. I have looked at you doc pages, but don't see a good tut for a newbie to use for setting it up the first time ever. I have version 2.3.13 (89f716dc2) from the debian bullseye distro. What I want is to pull from my ISP account, which

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

2021-12-01 Thread Aki Tuomi
auth_mechanisms = plain login digest-md5 cram-md5 You still advertise them though. Aki > On 01/12/2021 18:09 absolutely_f...@libero.it wrote: > > > Hi, > I use dovecot-2.3.15 with MySQL backend for authentication. > I just converted cleartext credentials in SSHA512. Authentication > (POP3/IMA

Requested CRAM-MD5 scheme, but we have only CRYPT

2021-12-01 Thread absolutely_free
Hi, I use dovecot-2.3.15 with MySQL backend for authentication. I just converted cleartext credentials in SSHA512. Authentication (POP3/IMAP/Roundcube webmail) is working fine. I got a few users complianing about login issues with Thunderbird. Logs show this: Dec 1 16:34:52 mailserver dovecot

Re: imap_metadata plugin panic

2021-12-01 Thread Elisamuel Resto
Aki, Since the original email, dicts are now on their own. For the metadata I have tried the two dicts (shared/$key, priv/$key), just the priv dict db schema with "pattern = $key" per one of your emails to the ML, and just the "priv/$key" pattern. All of those combinations produce the same is

Re: Searching 30 GB mailbox

2021-12-01 Thread Einar Bjarni Halldórsson
Adding it to mail_always_cache_fields does not miraculously make cache updated. Each mail needs to be accessed for that to happen. Ie. With doveadm fetch. doveadm fetch -u username hdr.message-id all Tried that and also tried deleting the dovecot.index.cache and running again, same result.

Re: Downloading mailbox from replica server

2021-12-01 Thread Claudio Corvino
Hi Christian, this is just what I wanted to do from the beginning, but reading here I thought it was not possible: "Replication works only between server pairs. If you have a large cluster, you need multiple independently functioning Dovecot backend pairs. _*This means that director isn't cu

Re: Strange errors with Dovecot replication

2021-12-01 Thread Claudio Corvino
Here it is: /# ls -l /var/www/html/ooo/its-test total 12 -rw-rw-r-- 1 vmail    vmail  549 nov 18 17:36 OoO.sieve lrwxrwxrwx 1 vmail    vmail    9 nov 25 15:38 script -> OoO.sieve -rw-rw-r-- 1 vmail    vmail  160 nov 25 12:38 script.svbin drwxrwxr-x 2 www-data vmail 4096 dic  1 07:41 tmp/ Inside

Re: sieve - segmentation fault

2021-12-01 Thread Aki Tuomi
> On 30/09/2019 08:13 Kamil Jońca via dovecot wrote: > > > I tried to experiment with "index" extension and I found that, in case > "0" sieve-filter segfaults. > example code was: > --8<---cut here---start->8--- > if header :index 0 :last :regex "received"

Re: Searching 30 GB mailbox

2021-12-01 Thread Aki Tuomi
> On 01/12/2021 13:05 Einar Bjarni Halldórsson wrote: > > > > Adding it to mail_always_cache_fields does not miraculously make cache > > updated. Each mail needs to be accessed for that to happen. > > Ie. With doveadm fetch. > I couldn't figure out the doveadm fetch syntax for searching so I

Re: Searching 30 GB mailbox

2021-12-01 Thread Einar Bjarni Halldórsson
Adding it to mail_always_cache_fields does not miraculously make cache updated. Each mail needs to be accessed for that to happen. Ie. With doveadm fetch. I couldn't figure out the doveadm fetch syntax for searching so I just ran the search manually twice. I assume that would update the cache

Re: Searching 30 GB mailbox

2021-12-01 Thread Sami Ketola
> On 1. Dec 2021, at 10.59, Einar Bjarni Halldórsson wrote: > >> Did you have Messsage-ID listed in mail_always_cache_fields when you >> imported the mailbox? >> Do you have it now? >> >> If not, please add it and then use doveadm fetch to populate that in cache. >> >> I think the correct s

Re: Downloading mailbox from replica server

2021-12-01 Thread Christian Mack
Hello Thunderbird/Outlook does that, because you change the servername in your configuration. In order to avoid that, use a reverse proxy and switch on it between your IMAP servers. You can use a dovecot director for that. In your clients you only configure the proxy. That also avoids changing co

Re: Strange errors with Dovecot replication

2021-12-01 Thread Christian Mack
Hello What have you stored in /var/www/html/ooo/its-test? Kind regards, Christian Mack Am 01.12.21 um 09:27 schrieb Claudio Corvino: > Hi, > > nobody can help here? > > Thanks > > On 02/11/21 15:47, Claudio Corvino wrote: >> >> Hi, >> >> I have two IMAP/LMTP Dovecot server in replica (version

Re: Searching 30 GB mailbox

2021-12-01 Thread Einar Bjarni Halldórsson
Did you have Messsage-ID listed in mail_always_cache_fields when you imported the mailbox? Do you have it now? If not, please add it and then use doveadm fetch to populate that in cache. I think the correct setting is mail_always_cache_fields = hdr.message-id But you also might want to add so

Re: Searching 30 GB mailbox

2021-12-01 Thread Sami Ketola
> On 1. Dec 2021, at 0.30, Einar Bjarni Halldórsson wrote: > > Hi, > > We're migrating our mailboxes from Zimbra to dovecot, running on FreeBSD > 12.2. We're using mdbox and solr for fts. dovecot version 2.3.17. > > One of our mailboxes gets a bcc of every outgoing mail from our system and

Re: /var/run/dovecot/stats-writer) failed: No such file or directory

2021-12-01 Thread Brent Clark
On 2021/12/01 09:25, Aki Tuomi wrote: Hi! Can you try if adding service stats { unix_listener login/stats-writer { user = $default_login_user mode = 0600 } } fixes this? This is default in stats service, I just wonder if there is a version where it was not yet default... Aki

Re: Searching 30 GB mailbox

2021-12-01 Thread Einar Bjarni Halldórsson
Sorry, resent because it didn't go to the list... Can you provide us output of `doveconf -n` please? Of course! # 2.3.17 (e2aa53df5b): /usr/local/etc/dovecot/dovecot.conf # Pigeonhole version 0.5.17 (054dddfa) # OS: FreeBSD 12.2-RELEASE-p7 amd64  zfs # Hostname: ht-mailstore01.isnic.is auth_us

Downloading mailbox from replica server

2021-12-01 Thread Claudio Corvino
Hi, I have two IMAP/LMTP Dovecot server in replica (version 2.3.4.1) both connected through an IPsec tunnel, I use LDAP/AD for /userdb, /all seems to be working. I have a question: if I switch my Thunderbird/Outlook client to use the other server I have to download again all the emails, abou

Re: Strange errors with Dovecot replication

2021-12-01 Thread Claudio Corvino
Hi, nobody can help here? Thanks On 02/11/21 15:47, Claudio Corvino wrote: Hi, I have two IMAP/LMTP Dovecot server in replica (version 2.3.4.1) for testing purposes, both connected through an IPsec tunnel, I use LDAP/AD for /userdb, /all seems to work fine except for these errors present