Re: Lots of problems with Dovecot 2.4

2025-07-25 Thread Timo Sirainen via dovecot
On 31. May 2025, at 20.31, via dovecot wrote: > > 3. It seems the Exim auth driver is no longer able to successfully > authenticate with Dovecot 2.4 against Exim 4.98.2. It works fine in the last > version of 2.3.21.1. Has the authentication framework changed along with the > other modificatio

Re: Building failures with 2.4.0 and 2.4.1 on MacOS: var_expand_crypt

2025-07-18 Thread Timo Sirainen via dovecot
On 15. Jul 2025, at 4.40, rmfuhrer--- via dovecot wrote: diff --git a/src/lib-var-expand-crypt/Makefile.am b/src/lib-var-expand-crypt/Makefile.am index 8f829bcc02..ff5b83f22c 100644 --- a/src/lib-var-expand-crypt/Makefile.am +++ b/src/lib-var-expand-crypt/Makefile.a

Re: dovecot reload 2.4.1 => core dump

2025-07-15 Thread Timo Sirainen via dovecot
On 8. Jul 2025, at 23.38, Genes Lists via dovecot wrote: > > On Tue, 2025-07-08 at 16:14 -0400, Genes Lists via dovecot wrote: >> >> "systemctl reload docecot" crashed. >> > > __strlen_avx2 () at ../sysdeps/x86_64/multiarch/strlen-avx2.S:76 > #1 0x7e78fac758d8 in __printf_buffer > (buf=b

Re: Any planned 2.4.2 release date

2025-07-13 Thread Timo Sirainen via dovecot
On 14. Jul 2025, at 0.39, Genes Lists via dovecot wrote: > > On Sun, 2025-07-13 at 23:31 +0300, Timo Sirainen via dovecot wrote: >>> >>> >>>(a) non-root users need access to the certificate chain in >>> order >>> to be able to

Re: Better 2.4.x docs?

2025-07-13 Thread Timo Sirainen via dovecot
On 12. Jul 2025, at 15.45, Steve Litt via dovecot wrote: Are you planning to improve your Dovecot 2.4.x documentation? The current 2.4.x documentation has: * Non-obvious links between 2.4.x and 2.3.x Not sure what you mean by this. v2.4 documentation should link only to

Re: Any planned 2.4.2 release date

2025-07-13 Thread Timo Sirainen via dovecot
On 13. Jul 2025, at 13.14, Genes Lists via dovecot wrote: > (iv) All worked smoothly aside from pigeonhole sieve. I encountered 2 > issues there. > >(a) non-root users need access to the certificate chain in order > to be able to run "sievec". Quirky but easy enough to work aroun

Re: Crash in imapd

2025-06-02 Thread Timo Sirainen via dovecot
On 31. May 2025, at 14.06, Peter Chubb via dovecot wrote: > > > Hi Folks, > I'm seeing imapd crash when an evolution user accesses her primary mailbox. > She can see the mailbox perfectly well using thunderbird or Apple > Mail on an iPad; just not from her evolution instance. > Version i

Re: Unable to save message in shared mailbox

2025-05-07 Thread Timo Sirainen via dovecot
On 7. May 2025, at 13.38, Markus Bach via dovecot wrote: > > I think I finally found out what's going wrong. > > The problem seems to be that the shared mailbox uses more storage space than > the users limit. > It looks like dovecot is comparing shared_mailbox.usage + message.size with > user.

Re: Dovecot 3.21.1 -> 2.4.0 SegFault

2025-05-06 Thread Timo Sirainen via dovecot
On 29. Apr 2025, at 14.28, cstreang--- via dovecot wrote: > > Hi guys, > > There seems to be some issue with Dovecot deployed on alpine. More > specifically, the dovecot.config file is not properly read. > > I have run some debugging and the SegFault is returned in the function below: > > #0

Re: MySQL Auth Troubles during Migration to 2.4.1

2025-05-06 Thread Timo Sirainen via dovecot
On 6. May 2025, at 12.13, Odhiambo Washington via dovecot wrote: > > Then I created my auth-sql.conf.ext shown above. > What I realized then is that the dovecot/auth service doesn't seem to be > running. Not sure why. It's only started when the first auth lookup is done. You could test also wit

Re: (2.4) weird doveadm behavior

2025-05-06 Thread Timo Sirainen via dovecot
On 6. May 2025, at 11.47, Kamil Jońca via dovecot wrote: > > Timo Sirainen via dovecot writes: > > [...] >> >> Looks like unless you explicitly specify "mailbox" parameter, it's skipping >> the list=no namespaces. Pretty sure v2.3 worked the sam

Re: 2.3 -> 2.4 migration problem(s)

2025-05-06 Thread Timo Sirainen via dovecot
On 30. Apr 2025, at 8.42, Kamil Jońca via dovecot wrote: Recently in debian sid version 2.4 appeared and I tried to migrate. it (mostly working) but Neither dovecot-lda nor doveadm does not see current system user context i.e. This was usually just causing confusion, so it's

Re: For additional modules, the mail_plugin_dir parameter is ignored

2025-05-06 Thread Timo Sirainen via dovecot
On 6. May 2025, at 11.23, Lafiel via dovecot wrote: > > Hi. > > There is no way to implement such support? mail_plugin_dir is for mail modules. There are other modules which are using hardcoded paths. Perhaps we should actually just remove the mail_plugin_dir setting, I'm not sure there's any

Re: (2.4) weird doveadm behavior

2025-05-06 Thread Timo Sirainen via dovecot
On 5. May 2025, at 19.01, Kamil Jońca via dovecot wrote: > > > debian package > 2.4.1-4 (7d8c0e5759): /etc/dovecot/dovecot.conf > I have namespace: > namespace expunged { > mail_driver = maildir > mail_path = ~/Mail/expunged/ > mailbox_list_layout = fs > hidden = yes > inbox = no > list =

Re: MySQL Auth Troubles during Migration to 2.4.1

2025-05-06 Thread Timo Sirainen via dovecot
On 4. May 2025, at 14.24, Odhiambo Washington via dovecot wrote: > > passdb sql { > default_password_scheme = SHA512 > query = SELECT crypt AS password FROM users,domains WHERE users.username = > '% > {user}' AND users.enabled = '1' AND users.type='local' and domains.enabled='1' > and domai

Re: crypt_private_key_file retrived from userdb/ldap doesn't work

2025-05-06 Thread Timo Sirainen via dovecot
On 25. Mar 2025, at 15.15, luis.neapolis--- via dovecot wrote: > > crypt_global_private_key main{ > crypt_private_key_password=secret > crypt_private_key_file= > } > userdb ldap { >driver = ldap > . >fields { > > mail_crypt_global_private_key/main/crypt_private_key_file=inlin

Re: Multiple namespaces with individual quota values from LDAP

2025-04-10 Thread Timo Sirainen via dovecot
On 10. Apr 2025, at 13.20, Andreas Oster via dovecot wrote: > However, in my setup I am using a separate namespace for mail > "archiving" on a slower storage. > I would like to also restrict the available storage space for users > individually in this namespace. > To achieve this I ideally would

Re: Multiple namespaces with individual quota values from LDAP

2025-04-10 Thread Timo Sirainen via dovecot
On 10. Apr 2025, at 13.43, Timo Sirainen via dovecot wrote: > > This should work: > > quota global_quota { > storage_size = 1G > } > namespace foo { > quota foo_quota { >storage_size = 2G > } > } > > and then return from userdb quota/global_quota

Re: LDAP quota is ignored

2025-04-04 Thread Timo Sirainen via dovecot
On 18. Mar 2025, at 11.56, luis.neapolis--- via dovecot wrote: Hello, I have just upgraded from dovecot 2.3.x to 2.4.0. I converted the configuration files and all is ok, but there is this strange thing about quota. I have quota limit from LDAP: quota_storage_size

Re: Dovecot 2.4.0 multiple hosts SNI configuration regression

2025-02-26 Thread Timo Sirainen via dovecot
On 26. Feb 2025, at 18.27, Julius Kriukas via dovecot wrote: > > Hello everyone. > > We are testing out Dovecot 2.4.0 and noticed a regression in how the > `local_name` filter with multiple space-separated host names works. > > For example, having the following dovecot.conf: > > ``` > ... > s

Re: 2.4.0: managesieve: sieve_script_path setting variables: Unknown variable 'user'

2025-02-18 Thread Timo Sirainen via dovecot
On 18. Feb 2025, at 14.32, Bjoern Franke via dovecot wrote: > > sieve_script personal { > active_path = /data/mail/%{user}/dovecot.sieve > driver = file > path = /data/mail/%{user}/sieve > } > > > Accessing via managesieve fails: > > Error: sieve: file storage: sieve_file_storage settings:

Re: IMAP dovecot\postgres low authentication performance

2025-02-17 Thread Timo Sirainen via dovecot
On 17. Feb 2025, at 12.46, Timo Sirainen via dovecot wrote: > Also I've attached a patch that allows using auth-workers with PostgreSQL > with Dovecot v2.4. Maybe it'll be in v2.4.1. > > passdb sql { > use_worker = yes > } Well, attachments don't seem to wo

Re: IMAP dovecot\postgres low authentication performance

2025-02-17 Thread Timo Sirainen via dovecot
On 17. Feb 2025, at 13.01, Timo Sirainen via dovecot wrote: > > On 17. Feb 2025, at 12.46, Timo Sirainen via dovecot > wrote: >> Also I've attached a patch that allows using auth-workers with PostgreSQL >> with Dovecot v2.4. Maybe it'll be in v2.4.1. >>

Re: IMAP dovecot\postgres low authentication performance

2025-02-17 Thread Timo Sirainen via dovecot
@dovecot.org> wrote: >>>>> >>>>> >>>> >>>> I set up a test server and started testing it by multiple threads >>>> >>>> (1-200), >>>> >>>> using all the advice given to me. >>>>

Re: Doveadm Backup Error

2025-02-17 Thread Timo Sirainen via dovecot
On 15. Feb 2025, at 4.06, Asai via dovecot wrote: > > Greetings, > > On 2.3 I was able to run the following command, but now on 2.4 I'm getting > the following error: > > doveadm backup -u u...@domain.tld maildir:/mnt/backups/daily/domain.tld/user > > dsync(u...@domain.tld): Error: brain M: E

Re: Standard "usual" config (Re: Userdb lookup problems)

2025-02-16 Thread Timo Sirainen via dovecot
On 16. Feb 2025, at 14.52, Joan Moreau via dovecot wrote: > > and anyway the full path of sieves script is specified > > sieve_script personal { > path = /data/mails/%{user | domain }/%{user | username }/sieve/default.sieve > } This is different from what you used to have: > sieve = fil

Re: Standard "usual" config (Re: Userdb lookup problems)

2025-02-16 Thread Timo Sirainen via dovecot
On 16. Feb 2025, at 14.30, Joan Moreau via dovecot wrote: > > Initially there is mail_location > > Now, I have > > mail_driver = mdbox > mail_path = /data/mails/%{user | domain }/%{user | username } > > I don't understand what is "mail_home" : What does it represent ? https://doc.dovecot.org/

Re: Standard "usual" config (Re: Userdb lookup problems)

2025-02-16 Thread Timo Sirainen via dovecot
On 16. Feb 2025, at 13.54, Joan Moreau wrote: > > Well, > > - I need xapian enable in LMTP (how to index incoming emails otherwise ?) > It is enabled from the global mail_plugins. When using the mail_plugin { foo=yes } syntax it adds to the existing mail_plugins rather than replacing them.

Re: Standard "usual" config (Re: Userdb lookup problems)

2025-02-16 Thread Timo Sirainen via dovecot
On 16. Feb 2025, at 13.20, Joan Moreau via dovecot wrote: > > Dovecot now starts > > I have a problem with the initial block > > mail_plugins { >fts = yes >fts_xapian = yes >sieve = yes >managesieve = yes > } You're doing more than just syntax changes here. There is no managesi

Re: Userdb lookup problems

2025-02-16 Thread Timo Sirainen via dovecot
On 16. Feb 2025, at 10.37, Joan Moreau via dovecot wrote: > > @Timo : You would just put a page with in 2 columns, left , the old default > conf, right, the new default conf, that would be a million times helpful I added some more settings and other upgrading help to: https://github.com/doveco

Re: Userdb lookup problems

2025-02-16 Thread Timo Sirainen via dovecot
On 16. Feb 2025, at 11.18, Joan Moreau via dovecot wrote: > > ssl_cert = ssl_key = ssl_dh = default_vsz_limit = 0 = unlimited > plugin { There are no more plugin settings. >plugin = fts_xapian managesieve sieve > >fts = xapian >fts_xapian = verbose=0 You need to c

Re: Userdb lookup problems

2025-02-16 Thread Timo Sirainen via dovecot
On 16. Feb 2025, at 10.37, Joan Moreau via dovecot wrote: > > @Timo : You would just put a page with in 2 columns, left , the old default > conf, right, the new default conf, that would be a million times helpful This is done for some settings, but for others there is no exact 1:1 mapping even

Re: Dovecot 2.4-GIT -> Some errors

2025-02-16 Thread Timo Sirainen via dovecot
On 16. Feb 2025, at 10.18, Joan Moreau wrote: > > For instance, it says: > > %n%{user | username } > ok, so the replacement is "user" or "username" ? Why not providing the right > answer ? > The replacement is literally %{user | username}. It doesn't mean "or". The | is the new filter s

Re: Dovecot 2.4-GIT -> Some errors

2025-02-15 Thread Timo Sirainen via dovecot
On 16. Feb 2025, at 1.26, Joan Moreau via dovecot wrote: > > Hi > Anyone to clarify that ? > > > On 15 February 2025 22:50:13 Joan Moreau wrote: >> Hi >> This is not clear >> Is %d replaced by %domain or "user | domain" (??) >> Is %u now the same as %n (shall not be !!! ) >> For instance: >> t

Re: Userdb lookup problems

2025-02-15 Thread Timo Sirainen via dovecot
On 16. Feb 2025, at 6.33, Ken Wright via dovecot wrote: > > On Sat, 2025-02-15 at 18:31 -0500, Doug via dovecot wrote: >> " Access denied for user.. 'dovecot'@'localhost' " >> >> Is a mysql error. mysql isn't allowing the user dovecot to open the >> database to run your SQL query. Until you ca

Re: Segfault Errors

2025-02-14 Thread Timo Sirainen via dovecot
On 14. Feb 2025, at 22.10, Asai via dovecot wrote: > > Greetings, > > I just migrated over to Dovecot 2.4.0-2 on a new VM running Alma 9. > > Everything seems to be working fine but I'm noticing these errors on the VM > console every couple of hours. Is this something that I can fix with syst

Re: Userdb lookup problems

2025-02-14 Thread Timo Sirainen via dovecot
On 15. Feb 2025, at 0.06, Ken Wright via dovecot wrote: > > I finally got my new Dovecot 2.4 installation going to the point I can > log in from Evolution, but for some reason it won't accept my password. > Here are the pertinent sections from the dovecot.conf, 10-mail.conf, > and dovecot-sql.con

Re: Bad Signature - Multiple domains

2025-02-12 Thread Timo Sirainen via dovecot
On 13. Feb 2025, at 1.42, Ken Wright wrote: > > On Wed, 2025-02-12 at 07:32 +0200, Aki Tuomi wrote: >> Do you have something under conf.d? > > Here are all the files under conf.d with almost all the superfluous comments > deleted. > > 10-auth.conf: > > passdb sql { > query = SELECT username A

Re: Dovecot v2.4.0 released

2025-02-12 Thread Timo Sirainen via dovecot
On 6. Feb 2025, at 13.36, Stuart Henderson via dovecot wrote: > > On 2025-01-29, Timo Sirainen via dovecot wrote: >> On 25. Jan 2025, at 22.29, Brad Smith via dovecot >> wrote: >>> >>> Test building 2.4 I see the last commit to the SSL code before

Re: Error in tests for Dovecot 2.4.0 aarch64

2025-02-11 Thread Timo Sirainen via dovecot
> On 7. Feb 2025, at 9.48, Peter via dovecot wrote: > > When attempting to build Dovecot 2.4.0 on the aarch64 platform, when running > tests... > > test-file-cache.c:268: Assert failed: file_cache_set_size(cache, 1024) == -1 This test attempts to shrink allowed address space with setrlimit(R

Re: Bad Signature - Mustiple domains

2025-02-11 Thread Timo Sirainen via dovecot
On 11. Feb 2025, at 2.09, Ken Wright via dovecot wrote: > > Sorry, I sent that this morning just before running off to my job. > Here's the section of dovecot.conf that I'm working on: Nothing wrong with that part. > When I was running Dovecot 2.3, I was able to send and receive email to > and

Re: Problem email client iPhone ios18.2

2025-02-10 Thread Timo Sirainen via dovecot
On 10. Feb 2025, at 15.24, Florian Effenberger via dovecot wrote: > > Hello, > > frido--- via dovecot wrote on 10.02.25 at 14:07: >> The problem as described at the start of this thread is not solved in iOS >> 18.3. A bit more testing shows that it only appears to happen with >> attachments a

Re: IMAP dovecot\postgres low authentication performance

2025-02-04 Thread Timo Sirainen via dovecot
On 3. Feb 2025, at 20.18, Anatoliy Zhestov via dovecot wrote: > >> >> Are you sure the problem is authentication / pgsql? You could test with >> looping "doveadm auth lookup $user" rapidly. Of course for different users >> to avoid them coming from cache. Or if you can reproduce it that way, tr

Re: Problem email client iPhone ios18.2

2025-02-04 Thread Timo Sirainen via dovecot
On 4. Feb 2025, at 3.53, stephen--- via dovecot wrote: > > in my experience the only users who complained were mail abusers - with tens > of thousands of messages in each folder - tons of folders etc etc. smaller > mailboxes seemed fine. i think apple uses some threshold where this new > pipel

Re: IMAP dovecot\postgres low authentication performance

2025-02-03 Thread Timo Sirainen via dovecot
On 3. Feb 2025, at 7.05, Anatoliy Zhestov via dovecot wrote: > > Hi. We have a performance problem with imap authentication through > postgresql. > Our servers(modoboa based) have a big amount of permanent imap > connections(5000-5). > Current performance is about 3000 successful authenticat

Re: Problem email client iPhone ios18.2

2025-02-03 Thread Timo Sirainen via dovecot
On 3. Feb 2025, at 16.17, stephen--- via dovecot wrote: > > funny - i also talked to apple business support and have a case since my > FB15701211 never went anywhere. they took a day or so and talked to engineers > and stated that there were no other official apple support requests for this >

Exim / Dovecot v2.4.0 authentication patch

2025-02-02 Thread Timo Sirainen via dovecot
Hi, Dovecot v2.4.0 changed authentication protocol slightly to allow new functionality (SCRAM TLS channel binding). It attempted to preserve backwards compatibility by checking client-provided VERSION first before sending data that the client wouldn't handle correctly. However, Exim's Dovecot

Re: 2.4.0 on MacOS

2025-02-01 Thread Timo Sirainen via dovecot
On 1. Feb 2025, at 10.27, John Muccigrosso via dovecot wrote: > > Fatal: setrlimit(RLIMIT_DATA, 2147483648): Invalid argument > > > The old(?) solution doesn't work for me: > > default_vsz_limit = 0 > > It reports: doveconf: Fatal: Error in configuration file > /opt/homebrew/etc/dovecot/dov

Re: 2.4.0 missing fields in documentation for event smtp_server_transaction_finished

2025-02-01 Thread Timo Sirainen via dovecot
On 29. Jan 2025, at 15.12, Christian Rößner via dovecot wrote: > > Hi, > > Event: smtp_server_transaction_finished > > remote_ip and remote_port are also available > > Feature-request: > > Please also add user to the fields, as lmtp_proxy=yes does a userdb lookup > and is aware of the user.

Re: Dovecot v2.4.0 released

2025-01-29 Thread Timo Sirainen via dovecot
On 25. Jan 2025, at 22.29, Brad Smith via dovecot wrote: > > Test building 2.4 I see the last commit to the SSL code before the release > went > out broke building with LibreSSL.. > > https://github.com/dovecot/core/commit/77d50a6b5e75796896e8e5b437783a99497908d9 > > > > CC iostream

Re: Dovecot v2.4.0 released

2025-01-28 Thread Timo Sirainen via dovecot
On 28. Jan 2025, at 0.35, Mike Panev via dovecot wrote: > > Timo Sirainen wrote: >> Our documentation is written using github pull requests, so anybody can >> easily do changes as little or as much as wanted. >> https://github.com/dovecot/documentation/ > >

Re: Why does metrics exporter not work anymore?

2025-01-28 Thread Timo Sirainen via dovecot
On 28. Jan 2025, at 17.19, Christian Rößner wrote: > >> Am 28.01.2025 um 14:51 schrieb Timo Sirainen via dovecot >> : >> >> Anyway, like I mentioned in my other email, I think the problem here is >> simply that the events should be configured to Dovecot

Re: Why does metrics exporter not work anymore?

2025-01-28 Thread Timo Sirainen via dovecot
On 28. Jan 2025, at 15.00, Aki Tuomi via dovecot wrote: > > >> On 28/01/2025 14:47 EET Christian Rößner via dovecot >> wrote: >> >> >>> Am 28.01.2025 um 12:43 schrieb Timo Sirainen via dovecot >>> : >>> >>> log_debug =

Re: Why does metrics exporter not work anymore?

2025-01-28 Thread Timo Sirainen via dovecot
On 28. Jan 2025, at 11.30, Christian Rößner via dovecot wrote: > > > > director | Jan 28 09:23:48 auth-worker(94): Info: request=passdb > protocol=imap proxy_host=backend-1 auth_status_code=200 > auth_status_message= nauthilus_session=2sFfQiOh7OJYFYbFu11OnEVrCAx > director | Jan 28 09:23:4

Re: Why does metrics exporter not work anymore?

2025-01-28 Thread Timo Sirainen via dovecot
On 28. Jan 2025, at 13.43, Timo Sirainen wrote: > > On 28. Jan 2025, at 11.30, Christian Rößner via dovecot > wrote: >> >> >> >> director | Jan 28 09:23:48 auth-worker(94): Info: request=passdb >> protocol=imap proxy_host=backend-1 auth_

Re: Dovecot v2.4.0 released

2025-01-27 Thread Timo Sirainen via dovecot
On 27. Jan 2025, at 19.30, Mike Panev via dovecot wrote: > > Timo Sirainen wrote: >> We have a new documentation structure, but I don't know if it's any better >> regarding that. For some reason people aren't super interested in spending >> much time on w

Re: Why does metrics exporter not work anymore?

2025-01-27 Thread Timo Sirainen via dovecot
On 27. Jan 2025, at 15.50, Christian Rößner via dovecot wrote: > > event_exporter conn_state { > driver = http-post > format = json > http_post_url = http://nauthilus:8080/api/v1/custom/dovecot-session-cleaner > time_format = rfc3339 > http_client_request_absolute_timeout = 5sec > } > metri

Re: [Dovecot-news] Dovecot v2.4.0 released

2025-01-27 Thread Timo Sirainen via dovecot
On 27. Jan 2025, at 14.00, Timo Sirainen wrote: > >> I have ported my Lua backend to fit with Dovecot version 2.4.0. I >> encountered minor issues: >> >> Could you please add the configuration docs for the dovecot-http-client or >> point me to the locati

Re: Dovecot v2.4.0 released

2025-01-27 Thread Timo Sirainen via dovecot
On 27. Jan 2025, at 14.34, Armin Tüting via dovecot wrote: > > On Fri, 2025-01-24 at 12:42 +0200, Aki Tuomi via dovecot wrote: >> Hi all, > > Hello, > > I've been upgrading to 2.4.0; one thing is anoying me. Using "doveadm > -A " on LDAP doen't work - the parser (doveconf) throws an error

Re: [Dovecot-news] Dovecot v2.4.0 released

2025-01-27 Thread Timo Sirainen via dovecot
On 27. Jan 2025, at 12.30, Christian Rößner via dovecot wrote: > > Hi, > > I have ported my Lua backend to fit with Dovecot version 2.4.0. I encountered > minor issues: > > Could you please add the configuration docs for the dovecot-http-client or > point me to the location, where I can find

Re: Dovecot v2.4.0 released

2025-01-27 Thread Timo Sirainen via dovecot
On 26. Jan 2025, at 18.39, subscriptions--- via dovecot wrote: > > Hi Timo, > > Timo Sirainen wrote: >> Oh, should clarify these. I was talking about global auth_username_format >> setting. With that it behaves as expected. But if you set it only inside >>

Re: Dovecot v2.4.0 released

2025-01-27 Thread Timo Sirainen via dovecot
On 24. Jan 2025, at 23.53, Timo Sirainen via dovecot wrote: > > On 24. Jan 2025, at 23.49, Timo Sirainen wrote: >> >>> But lmtp doesn't find the user until I set >>> auth_username_format = %{user | username} >> >> Did you have auth_usernam

Re: Dovecot v2.4.0 released

2025-01-27 Thread Timo Sirainen via dovecot
On 26. Jan 2025, at 3.40, PhilB via dovecot wrote: > Where I'm confused is the replacement of mail_location. Currently this is: > > mail_location = maildir:/var/mail/users/%u > > Should this be changed to: > > mail_driver = maildir > mail_path = /var/mail/users/%{user} Yes. > Hope I have give

Re: 2.4 , error with virtual plugin

2025-01-26 Thread Timo Sirainen via dovecot
Luigi Trovato via dovecot kirjoitti 26.1.2025 kello 14.43: > > Hello, > > even with updated config for virtual plugin: > > mail_plugins { > virtual = yes > } That is ok. > imap(lones...@lonestar.it)<2991><64ab1o8sDJl/AAAB>: Error: Namespace virtual: > Unknown mail storage driver virtual T

Re: Help with migration of Quota config to 2.4.0?

2025-01-25 Thread Timo Sirainen via dovecot
On 25. Jan 2025, at 15.13, Andreas via dovecot wrote: > > I've converted most of my config to 2.4.0, but one thing I don't get from the > docs: > > ``` > mail_plugins = $mail_plugins quota > > protocol imap { > mail_plugins = $mail_plugins imap_quota > } > > plugin { > quota = maildir:User

Re: [Dovecot-news] Dovecot v2.4.0 released

2025-01-25 Thread Timo Sirainen via dovecot
On 25. Jan 2025, at 13.27, * Neustradamus * via dovecot wrote: > But there is a big problem, this version has announced with: > - SCRAM-SHA-X-PLUS support with X = 1 / 256. > - TLS Channel Binding > > But when I look the source code, it is not supported: > - https://github.com/search?q=org%3Adov

Re: Dovecot v2.4.0 released

2025-01-25 Thread Timo Sirainen via dovecot
On 25. Jan 2025, at 0.20, Bjoern Franke via dovecot wrote: > >> Is there an extra = here or just copy&paste mistake? > > The mistake was also within the config, after fixing it it works now. Maybe > an error should be thrown when a mistake like "= =" appears? Maybe the value intentionally begi

Re: Dovecot 2.4.0 compilation issues (Linux, GCC 8.3.1)

2025-01-25 Thread Timo Sirainen via dovecot
On 25. Jan 2025, at 21.02, Andreas M. Kirchwitz via dovecot wrote: > http-server-settings.c: At top level: > ../../src/lib/macros.h:173:14: error: size of unnamed array is negative > (sizeof(char[1 - 2 * ((condition) ? 1 : 0)]) > 0 ? FALSE : FALSE) > ^ > ../../src/lib/macros.h:182:2

Re: Dovecot v2.4.0 released

2025-01-24 Thread Timo Sirainen via dovecot
On 24. Jan 2025, at 23.49, Timo Sirainen wrote: > >> But lmtp doesn't find the user until I set >> auth_username_format = %{user | username} > > Did you have auth_username_format set already in old config? The default also > has | lower to make it lowercase, wh

Re: Dovecot v2.4.0 released

2025-01-24 Thread Timo Sirainen via dovecot
On 24. Jan 2025, at 23.21, Bjoern Franke via dovecot wrote: > > Hi, >> after a very long wait we are finally happy to release Dovecot v2.4.0! > > while trying to upgrade to 2.4.0, I stumbled upon some issues: > > The old config looked like this: > --- > mail_location = mdbox:/data/mail/%u > pa

Re: Mail with single \r, partial fetch, error "Broken virtual size in mailbox"

2025-01-10 Thread Timo Sirainen via dovecot
On 7. Jan 2025, at 17.07, Ewald Dieterich via dovecot wrote: > > I run Dovecot 2.3.21 with the mdbox mailbox format. Likely happens with all mailbox formats, at least also with sdbox. > If I do a certain partial fetch on a mail with a single carriage return \r > Dovecot closes the connection

Re: Problem email client iPhone ios18.2

2025-01-10 Thread Timo Sirainen via dovecot
On 19. Dec 2024, at 11.24, frido--- via dovecot wrote: > > So I managed to capture the IMAP session on my private setup at home when the > attachment didn't load: > > * 4296 FETCH (UID 79319 RFC822.SIZE 4833363 BODYSTRUCTURE ((("text" "plain" > ("charset" "UTF-8" "format" "flowed") NIL NIL "7b

Re: Problem email client iPhone ios18.2

2025-01-10 Thread Timo Sirainen via dovecot
On 5. Jan 2025, at 13.57, Aki Tuomi via dovecot wrote: > > > On 05/01/2025 11:12 EET david.ferrero--- via dovecot > wrote: > > > Well, I uncommented the imap_capabilities flag and REMOVED the IDLE > capability and now iOS 18 Mail client is getting and syncing emails

Re: Mail gone when recreating a folder in a second IMAP session

2024-12-13 Thread Timo Sirainen via dovecot
was being recreated with a same name, but I didn't think that it might end up losing emails. The fixes should appear in https://github.com/dovecot/core/ either today or next week, depending on how fast it goes through our review & tests: Author: Timo Sirainen Date: Fri Dec 13 12:26:

Re: bug? dsync extremely much slower on forward than reverse direction

2024-11-27 Thread Timo Sirainen via dovecot
It's probably fixed by https://github.com/dovecot/core/commit/3001c1410e72440e48c285890dd31625b7e12555 > On 25. Nov 2024, at 14.51, Bjørnar Ness via dovecot > wrote: > > Here are some numbers from a test run: > > dst: full pull sync from src > 6m19s > dst: delta pull sync from src > 2s > >

Re: dovecot, virtiofs, fchown, invalid argument

2024-11-26 Thread Timo Sirainen via dovecot
On 26. Nov 2024, at 15.34, Кирилл Шигапов via dovecot wrote: > > We are using virtiofs share mounted to /var/vmail > When dovecot tries to make a directory structure, it fails with error - > fchown: Invalid argument > > strace doveadm mailbox create -u testu...@testdomain.com >

Re: Missing IMAP folders after upgrading from 2.3.17 to 2.3.21.1

2024-10-22 Thread Timo Sirainen via dovecot
On 21. Oct 2024, at 15.50, Frank Kirschner via dovecot wrote: > > Hi, > > I have upgraded from 2.3.17 to 2.3.21.1. > mail_location = maildir > > Now in some mailboxes are IMAP folder in subdir of INBOX missing. > When I do a 'ls -la' in filesystem, I see the subfolder like other folder > with

Re: Bug Report: Missing parent folders will cause some clients to not retrieve messages

2024-10-09 Thread Timo Sirainen via dovecot
On 9. Oct 2024, at 2.18, Brendon Meyer via dovecot wrote: > > > When creating subfolders with tools such as imapfilter, if the parent of the > subfolder does not exist, Dovecot will allow that folder to be created, and > the tool will allow you to populate that folder with messages. What abou

Re: Dovecot v2.3.21.1 released

2024-09-06 Thread Timo Sirainen via dovecot
On 2. Sep 2024, at 15.44, Guilhem Moulin via dovecot wrote: > > Hi Aki, > >> we are releasing a CVE patch release 2.3.21.1. > > Your message to the oss-security list [0] says both 2.2 and 2.3 versions > are vulnerable to CVE-2024-23184. Using the following test message as > reproducer > >

Re: maintainer-feedback requested: [Bug 280929] mail/dovecot move bogus warning "Time moved forwards" to debug

2024-08-30 Thread Timo Sirainen via dovecot
On 30. Aug 2024, at 19.00, dco2024--- via dovecot wrote: > > This is not limited to FreeBSD. I'm seeing it on Gentoo Linux. Kernel is > 6.6.47-gentoo-x86_64, dovecot 2.3.21.1 (d492236fa0). The warning is logged > once every 12-15 hours. > > Syslog: > 2024-08-24 18:03:49 UTC myhost dovecot: ma

Re: Inconsistency in map index with dovecot v2.3.21

2024-08-30 Thread Timo Sirainen via dovecot
On 30. Aug 2024, at 16.39, Nikolaos Pyrgiotis via dovecot wrote: > > But is there a possible bug in dovecot 2.3.21 version linked with the mdbox > format that is causing the `inconsistency in map index` in the first place or > it is just a configuration error? Other users have also reported th

Re: maintainer-feedback requested: [Bug 280929] mail/dovecot move bogus warning "Time moved forwards" to debug

2024-08-26 Thread Timo Sirainen via dovecot
On 24. Aug 2024, at 5.06, Jochen Bern via dovecot wrote: > > On 21.08.24 11:35, Timo Sirainen wrote: >>> [Lots and lots of "but my NTP sync is much more precise than that" in >>> the FreeBSD thread] >> The way Dovecot works is: >> - It finds th

Re: maintainer-feedback requested: [Bug 280929] mail/dovecot move bogus warning "Time moved forwards" to debug

2024-08-21 Thread Timo Sirainen via dovecot
On 21. Aug 2024, at 12.35, Timo Sirainen wrote: > > The way Dovecot works is: > - It finds the next timeout, sees that it happens in e.g. 5 milliseconds. > - Then it calls kqueue() to wait for I/O for max 5 milliseconds > - Then it notices that it actually returned more than 1

Re: maintainer-feedback requested: [Bug 280929] mail/dovecot move bogus warning "Time moved forwards" to debug

2024-08-21 Thread Timo Sirainen via dovecot
The way Dovecot works is: - It finds the next timeout, sees that it happens in e.g. 5 milliseconds. - Then it calls kqueue() to wait for I/O for max 5 milliseconds - Then it notices that it actually returned more than 105 milliseconds later, and then logs a warning about it. So kqueue() appare

Re: doveadm sync - I/O has stalled

2024-04-09 Thread Timo Sirainen via dovecot
We haven't found any specific bugs with lib-ssl-iostream so far, but we did find istream-multiplex bug that could cause hangs with doveadm-doveadm connections. Could be worth testing if it helps: https://github.com/dovecot/core/commit/bbe546bc637a6ac5c9e91fc8abefce62e4950d07 > On 30. Dec 2022,

Re: SAVEDATE is using ctime instead of btime for Maildir

2024-03-28 Thread Timo Sirainen
On 19. Mar 2024, at 0.43, Alex via dovecot wrote: > > Dovecot supports SAVEDATE IMAP extension [1]. > This is however not implemented correctly for Maildir storage. > > Compared to "internal date", "save date" is supposed to be the same > but well-defined for APPEND and preserved when COPY comma

Re: Inconsistency in map index with dovecot v2.3.21

2024-02-09 Thread Timo Sirainen
On 12. Jan 2024, at 9.37, John Alex. via dovecot wrote: > > Hi, > > since I upgraded dovecot to version 2.3.21 on a FreeBSD 13.2 system, I've > been seeing a few occurences of the following warnings daily: > > Jan 11 13:13:25 dimokritos dovecot[33170]: > lmtp(user1)<8209>: Warning: mdbox > /

Re: JMAP support?

2024-01-31 Thread Timo Sirainen
On 8. Mar 2021, at 9.11, Mark Constable wrote: > > On Fri Jan 25 2019 Aki wrote: > > There is no JMAP support in any dovecot version yet. > > Two years on so what is the status of JMAP support in Dovecot now? - We have a new JSON library, making it easier to write efficient JMAP support. - We

Re: doveadm http api not responding under load

2024-01-22 Thread Timo Sirainen
Hi, > On 22. Jan 2024, at 20.00, Achim Stahlberger > wrote: > > Hello, > > we see this problem when doveadm-server is under load. > > We enabled doveadm http api with this config: > > service doveadm { > inet_listener { >port = 5 > } > inet_listener http { >port = 50001 >s

Re: Unconfigurable 500 ms debounce on IMAP IDLE notifications

2023-12-15 Thread Timo Sirainen
On 15. Dec 2023, at 1.59, Alex wrote: > >>> I would actually like to disable this delay completely on our server setup >>> [6], >>> as for chat it is common to receive multiple >>> messages in a short period of time, >>> e.g. when sending a message to a group and receiving multiple read receipts

Re: Unconfigurable 500 ms debounce on IMAP IDLE notifications

2023-12-14 Thread Timo Sirainen
On 14. Dec 2023, at 16.21, Alex wrote: > > Hello all, > > I have been investigating the reason for high > end-to-end email delivery delay > (>1 second to send a message to echo bot and receive a reply back) > on a Postfix+Dovecot email server setup > used to run the tests for Delta Chat core [1]

Re: dovecot crash with Panic: file istream-header-filter.c: line 663

2023-03-13 Thread Timo Sirainen
On 12. Mar 2023, at 20.17, Patrick Mansfield wrote: > > Mar 12 10:32:27 goffin dovecot[8269]: imap(patman)<8452>: > Panic: file istream-header-filter.c: line 663 > (i_stream_header_filter_snapshot_free): assertion failed: > (snapshot->mstream->snapshot_pending) This is unfortunately rather di

Re: How to get a server listed in the IMAP Test wiki?

2023-02-24 Thread Timo Sirainen
On 24. Feb 2023, at 9.29, Leander Beernaert wrote: > > > Hey Timo, > > Thanks for the quick turnaround, once we have the test results I'll contact > you again. OK. > Should I also include instructions on how to run the a self contained server > with a dummy backend so you can independently

Re: How to get a server listed in the IMAP Test wiki?

2023-02-23 Thread Timo Sirainen
On 23. Feb 2023, at 16.13, Leander Beernaert wrote: > > Hey, > > We recently announced Gluon (https://github.com/ProtonMail/gluon/) our IMAP > server library we are using in Proton > Bridge(https://github.com/ProtonMail/proton-bridge). We would love to have it > have it listed in the IMAP Se

Re: doveadm sync - I/O has stalled

2023-01-01 Thread Timo Sirainen
On 2. Jan 2023, at 3.26, Timo Sirainen wrote: > > On 2. Jan 2023, at 3.21, Timo Sirainen wrote: >> >> >>> It may happen, but it is hard to reproduce. >> >> Are you able to try if this patch happens to fix it? : > > Actually, looking at it

Re: doveadm proxy list has strange entries

2023-01-01 Thread Timo Sirainen
On 30. Dec 2022, at 23.40, Tobias Florek wrote: > > When getting the proxy list I get the following entries. > > # doveadm -f flow proxy list > username=u...@example.com proto=imap src ip=10.254.0.13 dest ip=172.23.6.194 > port=143 > username=username proto=service src ip=src-ip dest ip=dest-ip

Re: doveadm sync - I/O has stalled

2023-01-01 Thread Timo Sirainen
On 2. Jan 2023, at 3.21, Timo Sirainen wrote: > > >> It may happen, but it is hard to reproduce. > > Are you able to try if this patch happens to fix it? : Actually, looking at it slightly more, there may be another bug in it, although I'm not sure how it affects th

Re: doveadm sync - I/O has stalled

2023-01-01 Thread Timo Sirainen
Hi, > But when dsync connects over tcps, > it uses function implementations in lib-ssl-iostream to send and receive data. > And this simplified call stack would result in some data are read when > calling o_stream_uncork > > o_stream_uncork => o_stream_flush => o_stream_ssl_flush_buffer => > op

Re: The end of Dovecot Director?

2022-10-26 Thread Timo Sirainen
Director never worked especially well, and for most use cases it's just unnecessarily complex. I think usually it could be replaced with: * Database (sql/ldap/whatever) containing user -> backend table. * Configure Dovecot proxy to use this database as passdb. * For HA change dovemon to update

Re: v2.3.19.1 released

2022-06-21 Thread Timo Sirainen
Also, nowadays Lua would be a better way to do custom authentication and we're more careful not to break that. > On 21. Jun 2022, at 13.47, Timo Sirainen wrote: > > Oh, I think your problem is that you've implemented a separate dict-server. > And looks like we forgot

  1   2   3   4   5   6   7   8   9   10   >