Re: Userdb lookup problems

2025-02-15 Thread Aki Tuomi via dovecot
  On 15/02/2025 18:29 EET Ken Wright via dovecot wrote:     On Sat, 2025-02-15 at 17:53 +0200, Aki Tuomi wrote: On 15/02/2025 17:39 EET Ken Wright via dovecot wrote:     On Sat, 2025-02-15 at 08:59

Doveadm backup and sieves

2025-02-15 Thread Doug Hardie via dovecot
I am using doveadm backup to backup mailfiles to a second drive. That works just fine. However, the sieve files are not backed up. I couldn't find anything in the backup documentation that addresses sieves. Is there a way to back those up also? -- Doug _

Re: Userdb lookup problems

2025-02-15 Thread Ken Wright via dovecot
On Sat, 2025-02-15 at 20:24 +0200, Aki Tuomi wrote: > >   > > > > > On 15/02/2025 18:29 EET Ken Wright via dovecot > > wrote: > > > >   > > > >   > > > > On Sat, 2025-02-15 at 17:53 +0200, Aki Tuomi wrote: > > > > > > > > > > > > > On 15/02/2025 17:39 EET Ken Wright via d

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 = dodo and %user = toto

RE: Userdb lookup problems

2025-02-15 Thread Doug via dovecot
" 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 can open the database, you aren't even retrieving the account password. That is where you should concentrate your efforts. I don't u

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: Userdb lookup problems

2025-02-15 Thread Ken Wright via dovecot
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 can open the database, you > aren't even retrieving the account pass

Re: Dovecot 2.4-GIT -> Some errors

2025-02-15 Thread Bjoern Franke via dovecot
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: mail_location: Unknown setting:

Re: Dovecot 2.4-GIT -> Some errors

2025-02-15 Thread Aki Tuomi via dovecot
> 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]: Entering directory '/files/src/fts-xapian/src' > /bin/sh ../libtool --tag=CC --mode=compil

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 Ken Wright via dovecot
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=postfixadmin > > password=hidden > > userdb_default_password_scheme = ARGON2I > > password_query = SELEC

Re: Dovecot 2.4-GIT -> Some errors

2025-02-15 Thread Aki Tuomi via dovecot
I think your Dovecot install must be somehow broken, I only have `enum setting_type {` in one file. $ grep "enum setting_type {" /dovecot/include/dovecot/* /dovecot/include/dovecot/settings-parser.h:enum setting_type { Aki > On 15/02/2025 17:25 EET Joan Moreau via dovecot wrote: > > > Now,

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

Re: Userdb lookup problems

2025-02-15 Thread Aki Tuomi via dovecot
> On 15/02/2025 17:39 EET 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=postfixadmin > > > passwor

Re: 2.4 crashing on macOS with time moving forward?

2025-02-15 Thread John Muccigrosso via dovecot
As this continues to happen and the list seems uninterested, how exactly should I report this bug? Thanks. J > On Feb 11, 2025, at 12:18, J wrote: > > Further info: this whole "time moved forward" thing had a long discussion and > eventual fix in 2.3: > > https://forums.freebsd.org/threads/d

Re: 2.4 crashing on macOS with time moving forward?

2025-02-15 Thread Aki Tuomi via dovecot
Does this occur when resuming from suspend/hibernate? Also, we do read this list, it just sometimes takes time to react.   Aki On 15/02/2025 11:13 EET John Muccigrosso via dovecot wrote:     As this continues to happen and the list seems uninterested, how exactly shou

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]: Enter

Re: Dovecot 2.4-GIT -> Some errors

2025-02-15 Thread Aki Tuomi via dovecot
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 2025-02-15 22:39, Aki Tuomi via dovecot wrote: > > >> On 15/02/2025 16:20 EET Joan Moreau via dovecot > >> wrote: > >>

Re: Dovecot 2.4-GIT -> Some errors

2025-02-15 Thread Joan Moreau via dovecot
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 = dodo and %user = toto or toto@dodo , $username = ??? On 2025-02-15 22:33, Bjoern Franke via do

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 202

Re: Userdb lookup problems

2025-02-15 Thread Ken Wright via dovecot
On Sat, 2025-02-15 at 17:53 +0200, Aki Tuomi wrote: > > > On 15/02/2025 17:39 EET 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: > > > > > > > > > These need to be conv

Re: Dovecot 2.4-GIT -> Some errors

2025-02-15 Thread Aki Tuomi via dovecot
/home/cmouse/dovecot/include/dovecot/macros.h:173:21: error: size of unnamed array is negative 173 | (sizeof(char[1 - 2 * ((condition) ? 1 : 0)]) > 0 ? FALSE : FALSE) | ^ /home/cmouse/dovecot/include/dovecot/macros.h:182:9: note: in expansion of macro 'COMPILE

Re: Dovecot 2.4-GIT -> Some errors

2025-02-15 Thread Aki Tuomi via dovecot
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-15 23:05, Aki Tuomi wrote: > > > /home/cmouse/dovecot/include/dovecot/macros.h:173:21: error: size of > > unnamed array is nega

Re: Dovecot 2.4-GIT -> Some errors

2025-02-15 Thread Joan Moreau via dovecot
Not sure I understand verbose is an int On 2025-02-15 23:05, Aki Tuomi wrote: /home/cmouse/dovecot/include/dovecot/macros.h:173:21: error: size of unnamed array is negative 173 | (sizeof(char[1 - 2 * ((condition) ? 1 : 0)]) > 0 ? FALSE : FALSE) | ^ /home/cmouse/do

Re: Dovecot 2.4-GIT -> Some errors

2025-02-15 Thread Joan Moreau via dovecot
Now, I get In file included from fts-xapian-plugin.h:22, from fts-xapian-plugin.c:3: /usr/include/dovecot/settings.h:14:6: error: redeclaration of 'enum setting_type' 14 | enum setting_type { | ^~~~ In file included from fts-xapian-plugin.h:21: /usr/includ

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

2025-02-15 Thread Peter via dovecot
On 16/02/25 16:44, Joan Moreau via dovecot wrote: 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. That makes sense. Keep me informed and I'm happy to help in any way I can. Peter _

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 note

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: [Dovecot-news] Dovecot v2.4.0 released - FTS plugin also released

2025-02-15 Thread Peter via dovecot
On 30/01/25 17:32, Joan Moreau via dovecot wrote: Additionally, kindly note that the FTS (Full Text Search) dovecot-fst- xapian has been also released and fully compatible with dovecot 2.4 I can't see how, it doesn't build against 2.4 at all. I've opened an issue here: https://github.com/gr

Re: Doveadm Backup Error

2025-02-15 Thread Asai via dovecot
Here's some more debugging info in case this helps: Feb 15 18:33:44 dsync(u...@domain.tld): Debug: Mailbox INBOX: Mailbox opened Feb 15 18:33:44 dsync(u...@domain.tld): Debug: brain S: Syncing mailbox 77727820079bdd584f28773ea8bd: UIDNEXT changed: 1 -> 12170 Feb 15 18:33:44 dsync(u...@domain

Re: 2.4 crashing on macOS with time moving forward?

2025-02-15 Thread John Muccigrosso via dovecot
Thanks. It happens in various scenarios, including when I'm actively working on the computer (or it's at least not sleeping). It also happens overnight when the computer should be sleeping. It doesn't seem to happen on resuming. For example, here's this morning's (or late last night's) when the