Re: Custom map for quota

2024-01-14 Thread John Fawcett
On 15/01/2024 01:10, m87562...@gmail.com wrote: John Fawcett wrote: On 13/01/2024 14:01, Matt wrote: Hi, I'm trying to setup quota with the following layout CREATE TABLE "domain" ( "id" INTEGER,

Re: ARM support

2024-01-14 Thread Aki Tuomi via dovecot
> On 15/01/2024 08:20 EET Michael Tokarev wrote: > > > 14.01.2024 17:46, peter+dovecot--- via dovecot: > > > Isn't https://github.com/dovecot/docker the source for the official docker > > images? > > Docker images of dovecot, most likely yes (I don't know). > > /mjt I ment Docker's offic

Re: ARM support

2024-01-14 Thread Michael Tokarev
14.01.2024 18:39, Benny Pedersen: dovecot developers do a repo, but debian maintainers could help arm64 precompiled problem solving, why not ask ? Well, debian doesn't work like that. But once the package is in debian, you can ship either the dockerfile or whole image using just the debian c

Re: ARM support

2024-01-14 Thread Michael Tokarev
14.01.2024 17:46, peter+dovecot--- via dovecot: Isn't https://github.com/dovecot/docker the source for the official docker images? Docker images of dovecot, most likely yes (I don't know). /mjt ___ dovecot mailing list -- dovecot@dovecot.org To uns

Re: Custom map for quota

2024-01-14 Thread m87562378
John Fawcett wrote: > On 13/01/2024 14:01, Matt wrote: > > Hi, > > I'm trying to setup quota with the following layout > > CREATE TABLE "domain" ( > > "id" INTEGER, > > "name" TEXT, > > "active" INTEGER DEFAULT 0, > > PRIMARY KEY("id"), > > UNIQUE("name") > > ) > > CREATE TABLE "address" ( > > "id"

Re: Custom map for quota

2024-01-14 Thread John Fawcett
On 13/01/2024 14:01, Matt wrote: Hi, I'm trying to setup quota with the following layout CREATE TABLE "domain" ( "id" INTEGER, "name" TEXT, "active" INTEGER DEFAULT 0, PRIMARY KEY("id"), UNIQUE("name") ) CREATE TABLE "address" ( "id" INTEGER, "localpart" TEXT NOT NULL, "domain_id" INTEGER NOT

dovecot@dovecot.org

2024-01-14 Thread John Fawcett
On 09/01/2024 19:00, Markus Doits via dovecot wrote: Am 03.01.24 um 10:14 schrieb Aki Tuomi: namespace {     prefix = _/     separator = /     location = virtual:~/Maildir/virtual:LAYOUT=maildir++:INDEX=~/Maildir/virtual } You should not store virtual folders inside Maildir (assuming this i

Re: ARM support

2024-01-14 Thread Benny Pedersen
peter+dovecot--- via dovecot skrev den 2024-01-14 10:46: I would be fantastic if dovecot could release arm64 debian packages to the community repo, as it would allow fixing a lot of downstream problems: - release of official arm64 docker images - fix other downstream docker images like docker m

Re: ARM support

2024-01-14 Thread peter+dovecot--- via dovecot
Thanks for your reply. I'm now very confused. Looking at https://github.com/dovecot/docker/blob/main/2.3.21/Dockerfile this container clearly just installs the debian package from the community repo. That's why I thought publishing a arm64 debian package would enable a arm64 docker image.

Re: ARM support

2024-01-14 Thread Michael Tokarev
14.01.2024 12:46, peter+dovecot--- via dovecot : I would be fantastic if dovecot could release arm64 debian packages to the community repo, as it would allow fixing a lot of downstream problems: Shouldn't debian packaging be part of debian, not dovecot? Quite often (but definitely not always),

Re: ARM support

2024-01-14 Thread Aki Tuomi via dovecot
> On 14/01/2024 11:46 EET peter+dovecot--- via dovecot > wrote: > > > I would be fantastic if dovecot could release arm64 debian packages to > the community repo, as it would allow fixing a lot of downstream problems: > - release of official arm64 docker images > - fix other downstream dock

Re: execute: /user/bin/checkpassword /user/libexec/dovecot/checkpassword-reply

2024-01-14 Thread Aki Tuomi via dovecot
> On 09/01/2024 17:45 EET Steve Button wrote: > > > Hi, > > > > I have recently moved a dovecot installation from 2.2.36 on RHEL7.9 onto > 2.3.20 on Amazon Linux 2023 and I'm now seeing the error message in the > title relating to /usr/bin/checkpassword (which doesn't exist on either). > T

Re: ARM support

2024-01-14 Thread peter+dovecot--- via dovecot
I would be fantastic if dovecot could release arm64 debian packages to the community repo, as it would allow fixing a lot of downstream problems: - release of official arm64 docker images - fix other downstream docker images like docker mailserver and mailcow It looks like arm64 is gaining a lot

execute: /user/bin/checkpassword /user/libexec/dovecot/checkpassword-reply

2024-01-14 Thread Steve Button
Hi,   I have recently moved a dovecot installation from 2.2.36 on RHEL7.9 onto 2.3.20 on Amazon Linux 2023 and I'm now seeing the error message in the title relating to /usr/bin/checkpassword (which doesn't exist on either). This is a project that I've inherited, and I've never used dovecot prev

Inconsistency in map index with dovecot v2.3.21

2024-01-14 Thread John Alex. via dovecot
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 /var/vmail/users/user1/mdbox/storage: Inconsistency in map index (5,40 != 5,

[PATCH 1/1] storage: remove 500 ms debounce on IMAP IDLE notifications

2024-01-14 Thread Alex
This commit removes hardcoded 500 ms debounce from storage that delays all storage notification subscribers such as IDLE and NOTIFY commands. 500 ms debounce constant NOTIFY_DELAY_MSECS was added in 2009 [1]. Before that Dovecot was only delivering notifications when a second-resolution timer is c

[PATCH 0/1] Patch removing 500 ms IDLE delay

2024-01-14 Thread Alex
I have made a patch that actually deletes 500 ms delay from mailbox-watch.c rather than reducing it to 1 ms. I then looked into adding debounce to src/imap/cmd-idle.c, but there I cannot be sure that mailbox pointer passed to idle_callback() will not be freed by the time debounce timer expires. If

Custom map for quota

2024-01-14 Thread Matt
Hi, I'm trying to setup quota with the following layout CREATE TABLE "domain" ( "id" INTEGER, "name" TEXT, "active" INTEGER DEFAULT 0, PRIMARY KEY("id"), UNIQUE("name") ) CREATE TABLE "address" ( "id" INTEGER, "localpart" TEXT NOT NULL, "domain_id" INTEGER NOT NULL, PRIMARY KEY("id"), UNIQUE("lo

dovecot@dovecot.org

2024-01-14 Thread Markus Doits via dovecot
Am 03.01.24 um 10:14 schrieb Aki Tuomi: namespace { prefix = _/ separator = / location = virtual:~/Maildir/virtual:LAYOUT=maildir++:INDEX=~/Maildir/virtual } You should not store virtual folders inside Maildir (assuming this is your mail location). Please use ~/virtual/ instead.