Re: FTS delays

2019-04-05 Thread Joan Moreau via dovecot
On 2019-04-05 16:36, Josef 'Jeff' Sipek via dovecot wrote: On Wed, Apr 03, 2019 at 19:02:52 +0800, Joan Moreau via dovecot wrote: issue seems in the Git version : Which git revision? Before you updated to the broken revision, which revision/version were you running?

Re: FTS delays

2019-04-05 Thread Joan Moreau via dovecot
9-04-05 18:37, Josef 'Jeff' Sipek wrote: On Fri, Apr 05, 2019 at 17:45:36 +0800, Joan Moreau wrote: I am on master (very latest) No clue exactly when this problem appears, but 1 - the "request twice the fts plugin instead of once" issue has always been there (since my first

Re: FTS delays

2019-04-05 Thread Joan Moreau via dovecot
ns X, then dovecot core choose to select only Y emails. THis is a clear bug. On 2019-04-05 20:08, Josef 'Jeff' Sipek via dovecot wrote: On Fri, Apr 05, 2019 at 19:33:57 +0800, Joan Moreau via dovecot wrote: Hi If you plan to fix the FTS part of Dovecot, I will be very gratefull. I&#x

Re: FTS delays

2019-04-14 Thread Joan Moreau via dovecot
ain wong and must be totally reviewed. I do not have the time but I can participate in testing if someone is ready to roll up its sleeves on teh mater THe "loop" part seems the most urgent : It breaks everything (search timeout 100% of the time) On 2019-04-06 09:56, Joan Moreau via do

Re: FTS delays

2019-04-20 Thread Joan Moreau via dovecot
I have no idea how to use git-bitsec On 2019-04-15 15:31, Josef 'Jeff' Sipek wrote: On Sun, Apr 14, 2019 at 21:09:54 +0800, Joan Moreau wrote: ... THe "loop" part seems the most urgent : It breaks everything (search timeout 100% of the time) Any luck with git-bisect

Re: FTS delays

2019-04-21 Thread Joan Moreau via dovecot
ER On 2019-04-21 09:57, Timo Sirainen via dovecot wrote: On 3 Apr 2019, at 20.30, Joan Moreau via dovecot wrote: doveadm search -u j...@grosjo.net mailbox inbox text milan output doveadm(j...@grosjo.net): Info: Query : ( bcc:inbox OR body:inbox OR cc:inbox OR from:inbox OR messag

Re: FTS delays

2019-04-21 Thread Joan Moreau via dovecot
h parameters On 2019-04-21 10:31, Joan Moreau via dovecot wrote: For this first point, the problem is that dovecot core sends TWICE the request and "Inbox" appears in the list of arguments ! (inbox shall serve to select teh right mailbox, never sent to the backend) And even if th

Re: FTS delays

2019-04-21 Thread Joan Moreau via dovecot
backend functions) On 2019-04-21 10:42, Timo Sirainen via dovecot wrote: Inbox appears in the list of arguments, because fts_backend_xapian_lookup() is parsing the search args wrong. Not sure about the other issue. On 21 Apr 2019, at 19.31, Joan Moreau wrote: For this first point, the problem is

Re: FTS delays

2019-04-21 Thread Joan Moreau via dovecot
e search the slow way, practically making the FTS lookup ignored. On 21 Apr 2019, at 19.50, Joan Moreau wrote: No, the parsing is made by dovecot core, that is nothing the backend can do about it. The backend shall *never* reveive this. (would it be buggy or no) PLease, have a look deeper And

Re: FTS delays

2019-04-21 Thread Joan Moreau via dovecot
jserver dovecot[14251]: imap(j...@grosjo.net)<15709>: Testing if wildcard Apr 21 11:08:39 gjserver dovecot[14251]: imap(j...@grosjo.net)<15709>: Query : ( bcc:milao ) OR ( cc:milao ) OR ( from:milao ) OR ( subject:milao ) OR ( to:milao ) Apr 21 11:08:39 gjserver dovecot[14251]: imap(j..

Further issues on FTS engine

2019-05-19 Thread Joan Moreau via dovecot
Hi, Additionally to the long list of problem on the FTS previously discussed, here a new: WHen I reset the indexes, the indexer-worker seems paralelleizing the indexing (which is good), however, the number available in "ps aux | grep dove" shows that it does not move: dovecot 28549 0.0 0.0

Re: FTS Xapian

2019-06-04 Thread Joan Moreau via dovecot
Hi Can you post your dovecot conf file and the subset of the log files related to the issue ? thanks On June 5, 2019 9:29:13 AM Daniel Miller via dovecot wrote: For my primary namespace this is working fine - thanks to the developers! It also appears to work great for shared folders a

Re: FTS Xapian

2019-06-08 Thread Joan Moreau via dovecot
Hi Are you using the latest git version ? WHich part exactly of your logs relates to "virtual folders do not work" ? On 2019-06-05 13:08, Daniel Miller via dovecot wrote: Logs: Jun 5 06:02:25 bubba dovecot: imap(dmil...@amfes.com)<25877>: Opening DB (RO) /var/mail/amfes.com/dmiller/sdb

Re: FTS Xapian -> FTS core issue

2019-06-08 Thread Joan Moreau via dovecot
) when querying "regular" folders - but results are shown in clients. -- Daniel On June 6, 2019 12:16:08 AM Joan Moreau wrote: Hi Are you using the latest git version ? WHich part exactly of your logs relates to "virtual folders do not work" ? On 2019-06-05 13:0

How to get a memory pointer in the core process

2024-03-11 Thread Joan Moreau via dovecot
Hi Is it possible, from a plugin perspective, to create and recover a pointer in the core process (i.e. memory not lost between 2 calls to the plugin, even after the "deinit" of the plugin" ) ? Thanks ___ dovecot mailing list -- dovecot@dovecot.org To un

Re: How to get a memory pointer in the core process

2024-03-13 Thread Joan Moreau via dovecot
Keep a pointer in memory retrievable each time a plugin is called So the plugin keep the memory, not has to restart everything at each call On 12 March 2024 08:53:38 Aki Tuomi via dovecot wrote: On 11/03/2024 10:42 EET Joan Moreau wrote: Hi Is it possible

Re: [EXT] Re: How to get a memory pointer in the core process

2024-03-13 Thread Joan Moreau via dovecot
for storing this kind of stateful data. When deinit is called the calling core process will likely die too. Aki On 13/03/2024 10:19 EET Joan Moreau wrote: Keep a pointer in memory retrievable each time a plugin is called So the plugin keep

Re: [EXT] Re: How to get a memory pointer in the core process

2024-03-13 Thread Joan Moreau via dovecot
with a) services (internal or external), such as redis, sql, or something else b) storing things to disk Aki On 13/03/2024 18:45 EET Joan Moreau via dovecot wrote:   No, I am not referring to that I want to creat

Re: [EXT] Re: How to get a memory pointer in the core process

2024-03-14 Thread Joan Moreau via dovecot
Thanks Eduardo I am trying to avoid closing/ reopening a file pointer to the exact same file between each call to the plugin On 14 March 2024 20:08:37 Eduardo M KALINOWSKI via dovecot wrote: On 14/03/2024 02:49, Joan Moreau via dovecot wrote: No, you don´t understand

exfat not supported ?

2024-04-20 Thread Joan Moreau via dovecot
Hi Would placing my storage on a exfat partition work ? If no, why ? Thank you ___ dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-le...@dovecot.org

thread->detach() creates confusion of dovecot

2024-04-20 Thread Joan Moreau via dovecot
Hi When I try to "detach" (https://en.cppreference.com/w/cpp/thread/thread/detach) a thread running inside a plugin, it seems the core dovecot has some influence on that , tries to close this for some unknown reason and usually ends up crashing What is the cause of this ? Thank you ___

Re: exfat not supported ?

2024-04-20 Thread Joan Moreau via dovecot
On 20/04/2024 12:27 EEST Joan Moreau via dovecot wrote: Hi Would placing my storage on a exfat partition work ? If no, why ? Thank you ___ dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-le...@dovecot.org I can&

Re: exfat not supported ?

2024-04-20 Thread Joan Moreau via dovecot
That resolve the fisrt bug but I get now : Error: link(/xxx/dovecot.list.index.log, /xxx/dovecot.list.index.log.2) failed: Operation not permitted On 2024-04-21 02:02, Aki Tuomi via dovecot wrote: Try setting lock_method = dotlock Aki On 20/04/2024 15:32 EEST Joan Moreau via dovecot

Sieve not getting recompiled

2024-04-20 Thread Joan Moreau via dovecot
Hi I have sieve = /mails/%d/%n/sieve/roundcube.sieve sieve_after = /mails/sieve/after.sieve sieve_before = /mails/sieve/before.sieve sieve_dir = /mails/%d/%n/sieve/ sieve_global_dir = /mails/sieve/ But sieve scripts are not compiled and not executed It w

Re: Sieve not getting recompiled

2024-04-20 Thread Joan Moreau via dovecot
it was working fine before !) On 2024-04-21 09:21, Joan Moreau wrote: Hi I have sieve = /mails/%d/%n/sieve/roundcube.sieve sieve_after = /mails/sieve/after.sieve sieve_before = /mails/sieve/before.sieve sieve_dir = /mails/%d/%n/sieve/ sieve_global_dir = /mails/sieve/ But sieve scripts are

Pread error over smb3

2024-07-01 Thread Joan Moreau via dovecot
Hi I am trying to move my storage of email on a smb3 mounted volume. I am getting the following error : Error: pread(/net/.../storage/dovecot.map.index.log) failed: Permission denied (euid=1004(mailusers) egid=12(mail) UNIX perms appear ok (ACL/MAC wrong?)) How to resolve that ? Thank you

Re: Pread error over smb3

2024-07-01 Thread Joan Moreau via dovecot
Permissions on the server are very fine The problem occurs ONLY with dovecot On Tue, 2024-07-02 at 07:49 +0300, Aki Tuomi wrote: > > > On 02/07/2024 02:05 EEST Joan Moreau via dovecot > > wrote: > > > >   > > Hi > > > > I am trying to move

Re: Pread error over smb3

2024-07-06 Thread Joan Moreau via dovecot
ng on? > > Aki > > > On 02/07/2024 07:54 EEST Joan Moreau via dovecot > > wrote: > > > >   > > Permissions on the server are very fine > > > > The problem occurs ONLY with dovecot > > > > > > On Tue, 2024-07-02 at 07:49 +03

Re: Pread error over smb3

2024-07-06 Thread Joan Moreau via dovecot
ode to dovecot, it's very unlikely to be anything in dovecot > itself. > > On 06/07/2024 12:51, Joan Moreau via dovecot wrote: > > No error on the error side > > > > the error occurs only with dovecot. all other soft do nto complains > > about the smb3 protoc

Re: Pread error over smb3

2024-07-06 Thread Joan Moreau via dovecot
Moved from smb3 to sshfs to test same problem, only dovecot is complaining On Sat, 2024-07-06 at 21:04 +0800, Joan Moreau wrote: > archlinux x64 > > no selinux activated > > On Sat, 2024-07-06 at 13:53 +0200, John Fawcett via dovecot wrote: > > Hi Joan > > > &

dovecot imap_zlib

2024-07-07 Thread Joan Moreau via dovecot
Hi I tested teh git version of dovecot. It seems the IMAP Compress plugin (imap_zlib) has disappeared. How to get it back ? Thank you ___ dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-le...@dovecot.org

dovecot.list.index.log

2024-07-12 Thread Joan Moreau via dovecot
HI Is it safe to delete the file dovecot.list.index.log (as I am still struggling with using any protocol for network storage of the emails (dbox), and now dovecot complains that my dovecot.list.index.log is corrupted) Thank you ___ dovecot mailing

Re: dovecot.list.index.log

2024-07-18 Thread Joan Moreau via dovecot
Hi Thanks for that Does the same goes for all dbox-Mails/dovecot.index* files ? On Sat, 2024-07-13 at 12:56 +0300, Aki Tuomi via dovecot wrote: > Should be safe, but run doveadm force-resync after. >   > Aki > On 13/07/2024 08:30 EEST Joan Moreau via dovecot &

dovecot-indexer writting as root

2024-07-27 Thread Joan Moreau via dovecot
Hi I have that issue times to times Full case described properly here : https://github.com/grosjo/fts-xapian/issues/168 Can you help understand the root cause of that ? THank you ___ dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an

Re: dovecot-indexer writting as root

2024-08-01 Thread Joan Moreau via dovecot
Hi Any idea on that ? Thank you On Sat, 2024-07-27 at 15:53 +0800, Joan Moreau via dovecot wrote: > Hi > > I have that issue times to times > > Full case described properly here : > > https://github.com/grosjo/fts-xapian/issues/168 > > Can you help unders

Re: dovecot-indexer writting as root

2024-08-10 Thread Joan Moreau via dovecot
No, the change of uid comes at the end of the process (commit) On 2 August 2024 19:08:00 Aki Tuomi via dovecot wrote: You are probably doing file operations before setuid() call, do you initialize things too soon? Aki On 01/08/2024 12:59 EEST Joan Moreau via dovecot wrote: Hi Any

Re: dovecot-indexer writting as root

2024-08-19 Thread Joan Moreau via dovecot
Hi Anyone on this ? On 11 August 2024 04:02:56 Joan Moreau via dovecot wrote: No, the change of uid comes at the end of the process (commit) On 2 August 2024 19:08:00 Aki Tuomi via dovecot wrote: You are probably doing file operations before setuid() call, do you initialize things too

Re: vsz_limit status

2024-10-07 Thread Joan Moreau via dovecot
ankyou On 2024-10-08 00:20, Aki Tuomi via dovecot wrote: With 2.3 you can use master_service_get_process_limit() for the process limit. To get vsz_limit, it's probably easiest to use getrlimit(). Aki On 07/10/2024 19:00 EEST Joan Moreau via dovecot wrote: get_rusage does not give

Re: vsz_limit status

2024-10-07 Thread Joan Moreau via dovecot
ote: With 2.3 you can use master_service_get_process_limit() for the process limit. To get vsz_limit, it's probably easiest to use getrlimit(). Aki On 07/10/2024 19:00 EEST Joan Moreau via dovecot wrote: get_rusage does not give me the value of vsz_limit from dovecot.conf ! Need als

Re: vsz_limit status

2024-10-11 Thread Joan Moreau via dovecot
Looking forward to any help On Tue, 2024-10-08 at 08:45 +0800, Joan Moreau via dovecot wrote: > Additionally, I get error:  > 'master_service_get_process_limit' was not declared in this scope  > (dovecot git version) > > On Tue, 2024-10-08 at 08:16 +0800, Joan Moreau

vsz_limit status

2024-10-06 Thread Joan Moreau via dovecot
Hi How to get (programatically, c++) the current usage of memory, under the limit of vsz_limit ? https://doc.dovecot.org/2.3/configuration_manual/service_configuration/#service-configuration-vsz-limit Thank you ___ dovecot mailing list -- dovecot@do

Re: vsz_limit status

2024-10-07 Thread Joan Moreau via dovecot
get_rusage does not give me the value of vsz_limit from dovecot.conf ! Need also process_limit (also from dovecot.conf) Thank you On 2024-10-07 14:13, Aki Tuomi via dovecot wrote: On 07/10/2024 07:36 EEST Joan Moreau via dovecot wrote: Hi How to get (programatically, c++) the current

Re: vsz_limit status

2024-10-07 Thread Joan Moreau via dovecot
Additionally, I get error:  'master_service_get_process_limit' was not declared in this scope  (dovecot git version) On Tue, 2024-10-08 at 08:16 +0800, Joan Moreau via dovecot wrote: > Hi > > What is the link between getrlimit (linux posix) ,  the vsz_limit > parameter nd

Re: vsz_limit status

2024-10-18 Thread Joan Moreau via dovecot
yes On Fri, 2024-10-18 at 17:37 +0300, Aki Tuomi via dovecot wrote: > Are you sure the code ran in indexer-worker? Did you use i_debug to > print it to make sure it comes from indexer-worker? > > Aki > > > On 18/10/2024 15:36 EEST Joan Moreau via dovecot > > wro

Re: vsz_limit status

2024-10-18 Thread Joan Moreau via dovecot
26fc32) starting up for imap, pop3, lmtp (core dumps disabled) > Oct 18 18:39:20 indexer-worker(722178): Debug: limit = 2 > Oct 18 18:39:23 master: Warning: Killed with signal 2 (by pid=0 uid=0 > code=kernel) > > So it seems to work? > > Aki > > > On 18/10/2024 18:32 EEST

Re: vsz_limit status

2024-10-18 Thread Joan Moreau via dovecot
Further more, if I se vsz_limit = 4G in the conf file, getrlimit returns the value of default_vsz_limit service indexer-worker { vsz_limit = 4G process_limit = 0 } How to get the correct value ? On Sat, 2024-10-19 at 08:11 +0800, Joan Moreau wrote: > Hi > > Not really. > > 1 -

Re: vsz_limit status

2024-10-18 Thread Joan Moreau via dovecot
If I put  long t = master_service_get_process_limit(master_service); in my plugin, I get 1024 (but I put process_limit = 2 in my dvecot.conf: service indexer-worker { vsz_limit = 4G process_limit = 2 } On Fri, 2024-10-18 at 02:09 +0400, Joan Moreau via dovecot wrote: > Hi > > It see

Re: vsz_limit status

2024-10-17 Thread Joan Moreau via dovecot
. vsz_limit includes mmap and malloc allocations. dovecot uses setrlimit() to enforce the memory limit, so getrusage() should give you the relevant value. Aki On 12/10/2024 02:47 EEST Joan Moreau via dovecot wrote: Looking forward to any help On Tue, 2024-10-08 at 08:45 +0800, Joan Moreau

Re: Proper configuration of fts-xapian for dovecot

2024-11-09 Thread Joan Moreau via dovecot
Kindly check the location of you mail_location variable in dovecot.conf Can you share the full config ? On 2024-11-07 21:23, Torge Riedel via dovecot wrote: Dears, I recently installed the package dovecot-fts-xapian on my Ubuntu 22.04 VM, where dovecot 2.3.16 is installed. I enabled the pl

Re: [Dovecot-news] Dovecot v2.4.0 released - FTS plugin also released

2025-01-29 Thread Joan Moreau via dovecot
Dear Aki Tuomi, and other Dovecot team members, Thanks for this new release Additionally, kindly note that the FTS (Full Text Search) dovecot-fst-xapian has been also released and fully compatible with dovecot 2.4 Exciting news are : - Drastically reduced storage space (above 60% of saved sp

Dovecot 2.4 - Example config

2025-02-16 Thread Joan Moreau via dovecot
Hi For those struggling with the new config, here an example I am using (Xapian, Sieve, mdbox, LMTP, ...) --- dovecot_config_version = 2.4.0 dovecot_storage_version = 2.4.0 base_dir = /run/dovecot state_dir = /var/lib/dovecot default_login_user = dovecot listen = * :: verbose_proctitle = y

Settings parsing in 2.4 (con't d dovecot.conf migration)

2025-02-16 Thread Joan Moreau via dovecot
Renaming the thread For info, my dovecot.conf is now mail_plugins = fts fts_xapian fts xapian { } Code is here : https://github.com/grosjo/fts-xapian On 2025-02-16 23:39, Joan Moreau via dovecot wrote: Ok fixed that that I am back to the error imap(XXX)<2330801>: Error: fts: Fai

Re: Dovecot 2.4-GIT -> Some errors

2025-02-15 Thread Joan Moreau via dovecot
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: toto@dodo -> %u = toto@dodo, %d = dodo, %n = toto, now, %domain = do

Re: Dovecot 2.4-GIT -> Some errors

2025-02-15 Thread Joan Moreau via dovecot
ouch... Why this complexity to change all the org and now, to redefine the standard C/C++ formats ? On 2025-02-15 23:21, Aki Tuomi wrote: Yes, well, UINT means unsigned int. Aki On 15/02/2025 17:10 EET Joan Moreau via dovecot wrote: Not sure I understand verbose is an int On 2025-02

Re: Userdb lookup problems

2025-02-15 Thread Joan Moreau via dovecot
What "%{user | username}" means ? %user or %username ? On 2025-02-15 23:39, Ken Wright via dovecot wrote: On Sat, 2025-02-15 at 08:59 +0200, Timo Sirainen wrote: On 15. Feb 2025, at 0.06, Ken Wright via dovecot wrote: driver = mysql connect = host=localhost dbname=postfixadmin user=postfixadm

Dovecot 2.4-GIT -> Some errors

2025-02-15 Thread Joan Moreau via dovecot
Hi Using latest git, I get 2 very weird errors 1 - Just launching dovecot, I get: Feb 15 14:04:05 gjserver dovecot[444199]: doveconf: Fatal: Error in configuration file /etc/mail/dovecot/dovecot.conf line 13: mail_location: Unknown setting: mail_location My mail_location is mail_location =

Re: Dovecot 2.4-GIT -> Some errors

2025-02-15 Thread Joan Moreau via dovecot
I fixed all that but the error I get is the one I wrote On 2025-02-15 22:39, Aki Tuomi via dovecot wrote: On 15/02/2025 16:20 EET Joan Moreau via dovecot wrote: Hi Using latest git, I get 2 very weird errors 2 - Trying to adjust my plugin (FTS Xapian) to latest git, I get : make[2

Re: Dovecot 2.4-GIT -> Some errors

2025-02-15 Thread Joan Moreau via dovecot
rn Franke via dovecot wrote: Am 15.02.25 um 15:20 schrieb Joan Moreau via dovecot: Hi Using latest git, I get 2 very weird errors 1 - Just launching dovecot, I get: Feb 15 14:04:05 gjserver dovecot[444199]: doveconf: Fatal: Error in configuration file /etc/mail/dovecot/dovecot.conf line 13:

Re: Dovecot 2.4-GIT -> Some errors

2025-02-15 Thread Joan Moreau via dovecot
Yes https://github.com/grosjo/fts-xapian/commit/e183253be394cad07f17885600d9a652a4e862e8 On 2025-02-15 22:47, Aki Tuomi wrote: Do you have the code somewhere pushed? Aki On 15/02/2025 16:44 EET Joan Moreau via dovecot wrote: I fixed all that but the error I get is the one I wrote On

Re: Dovecot 2.4-GIT -> Some errors

2025-02-15 Thread Joan Moreau via dovecot
xapian_"#name, name, struct fts_xapian_settings) | ^~ fts-xapian-plugin.c:37:9: note: in expansion of macro 'DEF' 37 | DEF(UINT, verbose), is the root cause, verbose is not compatible with SET_UINT. Aki On 15/02/2025 16:55 EET Joan Moreau via dove

Re: Dovecot 2.4-GIT -> Some errors

2025-02-15 Thread Joan Moreau via dovecot
h:21: /usr/include/dovecot/settings-parser.h:20:6: note: originally defined here 20 | enum setting_type { There are actually 3 similar files settings.h fts-settings.h settings-parser.h Which one is the right one ? Thank you On 2025-02-15 23:22, Joan Moreau wrote: ouch... Why this complexity

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

2025-02-16 Thread Joan Moreau via dovecot
correct setup ? On 2025-02-16 18:17, Joan Moreau wrote: v3 -- dovecot_config_version = 2.4.0 dovecot_storage_version = 2.4.0 base_dir = /run/dovecot state_dir = /var/lib/dovecot default_login_user = dovecot listen = * :: verbose_proctitle = yes mail_gid = mail mail_uid = mailusers

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

2025-02-16 Thread Joan Moreau via dovecot
If I remove the block and put sieve = yes in lmtp/lda, sieve rules are just not applied to incoming emails... On 2025-02-16 19: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

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

2025-02-16 Thread Joan Moreau via dovecot
e On 2025-02-16 19:52, Timo Sirainen wrote: 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 h

Re: Userdb lookup problems

2025-02-16 Thread Joan Moreau via dovecot
v2 -- dovecot_config_version = 2.4.0 dovecot_storage_version = 2.4.0 base_dir = /run/dovecot state_dir = /var/lib/dovecot default_login_user = dovecot listen = * :: verbose_proctitle = yes mail_gid = mail mail_uid = mailusers mail_driver = mdbox mail_path = /data/mails/%{user

Re: Userdb lookup problems

2025-02-16 Thread Joan Moreau via dovecot
v3 -- dovecot_config_version = 2.4.0 dovecot_storage_version = 2.4.0 base_dir = /run/dovecot state_dir = /var/lib/dovecot default_login_user = dovecot listen = * :: verbose_proctitle = yes mail_gid = mail mail_uid = mailusers mail_driver = mdbox mail_path = /data/mails/%{user

Re: Dovecot 2.4-GIT -> Some errors

2025-02-16 Thread Joan Moreau via dovecot
stating literally "use A or B" for field X . Ok, but A or B ? On 2025-02-16 15:33, Timo Sirainen via dovecot wrote: 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

Re: Userdb lookup problems

2025-02-16 Thread Joan Moreau via dovecot
@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 On 2025-02-16 15:30, Timo Sirainen via dovecot wrote: On 16. Feb 2025, at 6.33, Ken Wright via dovecot wrote: On Sat, 2025-02-15 at 18:31 -0500

Re: Dovecot 2.4-GIT -> Some errors

2025-02-16 Thread Joan Moreau via dovecot
For instance, it says: %n %{user | username } ok, so the replacement is "user" or "username" ? Why not providing the right answer ? On 2025-02-16 16:16, Joan Moreau wrote: So bottom line, what is the variable to get the user if " the

Re: Userdb lookup problems

2025-02-16 Thread Joan Moreau via dovecot
Yes, that is helpful indeed. Swimming in the pacific ocean here Related item : I have "iterate_query" to convert from the old setup to the new config as well. What to do with that ? Thank you On 2025-02-16 16:49, Timo Sirainen via dovecot wrote: On 16. Feb 2025, at 10.37, J

Re: Dovecot 2.4-GIT -> Some errors

2025-02-16 Thread Joan Moreau via dovecot
so in practice, each 'new' variable is computed instead of just put such standard value in a variable ? What is the root reason to have created such a complicated animal ? On 2025-02-16 16:44, Timo Sirainen wrote: On 16. Feb 2025, at 10.18, Joan Moreau wrote: For instance, it

Re: Userdb lookup problems

2025-02-16 Thread Joan Moreau via dovecot
# } #} ----- Thank you ! On 2025-02-16 17:02, Joan Moreau via dovecot wrote: Yes, that is helpful indeed. Swimming in the pacific ocean here Related item : I have "iterate_query" to convert from the old setup to the new config as well. What to do with that ? Thank you

Re: [Dovecot-news] Dovecot v2.4.0 released - FTS plugin also released

2025-02-15 Thread Joan Moreau via dovecot
It was compiling on main (becoming 2.4), but now, many things have changed in main, and I am trying to sort out the inflated complexities. Even my dovecot does not start. On 2025-02-16 11:27, Peter via dovecot wrote: On 30/01/25 17:32, Joan Moreau via dovecot wrote: Additionally, kindly

Re: Userdb lookup problems

2025-02-15 Thread Joan Moreau via dovecot
Maybe a straightforward, spelled-out, concrete example of the full config (new mail_location, new sql syntax, new way to connect to the database server, etc..) would help all of us to navigate this extended complexity ? Also, would be nice to clarify the ambiguity on the fields (user vs usern

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

2025-02-16 Thread Joan Moreau via dovecot
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 ? On 2025-02-16 19:59, Timo Sirainen wrote: On 16. Feb 2025, at 13.54, Joan Moreau

FTS Xapian 1.9.1 released - Compatibility with git and 2.4

2025-02-17 Thread Joan Moreau via dovecot
Hi Finally released 1.9.1 to catch-up with 2.4.x and git recent changes Same "simplistic" approach - You get what you search for, no approximation/elastic/stemming, any language - No config required by default - Drastically reduced storage required / Drastically improved indexing/ searching speed 

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

2025-02-16 Thread Joan Moreau via dovecot
Sirainen wrote: 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://

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

2025-02-16 Thread Joan Moreau via dovecot
Thank you For the mail_home, in what sense it is not the same as mail_path ? Can' t we just scrap one of them ? On 2025-02-16 21:06, Timo Sirainen via dovecot wrote: On 16. Feb 2025, at 14.52, Joan Moreau via dovecot wrote: and anyway the full path of sieves script is spec

Re: Registering module in 2.4

2025-02-16 Thread Joan Moreau via dovecot
ngs struct named 'fts_xapian' Any help ? On Sun, 2025-02-16 at 21:44 +0800, Joan Moreau via dovecot wrote: > Hi > > I am trying to adjust the Xapian plugin to the very recent massive > changes. > > https://github.com/grosjo/fts-xapian > > I implemented the

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

2025-02-16 Thread Joan Moreau via dovecot
5-02-16 20:47, Joan Moreau wrote: I added mail_home = /data/mails/%{user | domain }/%{user | username } (same as pail_path, really never used that, why 2 parameters for the same thing ???) but still, sieve is not trigggered (everything arrives in INBOX, meaning my scripts are not executed

Re: Registering module in 2.4

2025-02-16 Thread Joan Moreau via dovecot
#x27;: fts_xapian settings: Failed to > parse configuration: BUG: Configuration has no settings struct named > 'fts_xapian' > > Any help ? > > On Sun, 2025-02-16 at 21:44 +0800, Joan Moreau via dovecot wrote: > > Hi > > > > I am trying to adjust the X

Registering module in 2.4

2025-02-16 Thread Joan Moreau via dovecot
Hi I am trying to adjust the Xapian plugin to the very recent massive changes. https://github.com/grosjo/fts-xapian I implemented the changes about the settings However, I get to : Feb 16 13:39:44 gjserver dovecot[2211311]: imap(xxx)<2211361>: Error: fts: Failed to initialize backend 'xap

Re: Registering module in 2.4

2025-02-16 Thread Joan Moreau via dovecot
Ok fixed that that I am back to the error imap(XXX)<2330801>: Error: fts: Failed to initialize backend 'xapian': xapian settings: Failed to parse configuration: BUG: Configuration has no settings struct named 'fts_xapian' Any idea ? On 2025-02-16 23:23, Joan More

<    1   2   3