Re: Tracing Sieve actions

2022-07-19 Thread Aki Tuomi
> On 20/07/2022 09:34 EEST Doug Hardie wrote: > > > I encountered an interesting problem that one originator was being dumped > into the Deleted file directly by my sieve. The sieve file was quite large > and it was not obvious which entry was causing the issue. I recall there was > a wa

Re: verify dovecot 2.3.19.1 + fts_tika + tika-server 2.4.1 attachment scanning?

2022-07-18 Thread Aki Tuomi
> On 19/07/2022 05:04 EEST PGNet Dev wrote: > > > On 7/18/22 7:20 AM, PGNet Dev wrote: > > On 7/18/22 5:53 AM, Aki Tuomi wrote: > >> Can you provide logs & doveconf -n? > > > > referencing prior mention of a tika ML thread, > ... > >

Re: Tools to get a report of which folders have new mail?

2022-07-18 Thread Aki Tuomi
> On 19/07/2022 06:18 EEST Steve Litt wrote: > > > Hi all, > > I use a Dovecot IMAP server on my Linux desktop computer, and I'm > pretty good at writing shellscripts. Is there any way I could use > doveadm or other tools to create a report that shows all my folders in a > hierarchy? Also, i

Re: verify dovecot 2.3.19.1 + fts_tika + tika-server 2.4.1 attachment scanning?

2022-07-18 Thread Aki Tuomi
> On 17/07/2022 18:30 EEST PGNet Dev wrote: > > > debugging a reproducible tika-server fail with fts_tika has proved a bit > challenging, upstream > > 1st Q: can anyone _here_ verify successful (no error/fail) PDF attachment > scanning using > > dovecot 2.3.19.1 + fts_tika, with tika-ser

Re: Error: conn unix:/run/dovecot/stats-writer : Timeout waiting for handshake response

2022-07-14 Thread Aki Tuomi
> On 14/07/2022 22:09 EEST fil...@digirati.com.br > wrote: > > > Hi, I'm using ubuntu 22.04 and installed dovecot 2.3.16. > > I did some initial testing with 100 email accounts and everything seemed to > work perfectly the same as dovecot version 2.3.16 on another server. > So I performe

Re: Having an issue migrating mailboxes with the doveadm backup tool...

2022-07-14 Thread Aki Tuomi
Hi! Did you check https://doc.dovecot.org/admin_manual/migrating_mailboxes/#migrating-mailboxes-over-imap Aki? > On 14/07/2022 01:41 EEST Tom Spettigue wrote: > > > Hey all. > We've got some users that live on our primary email server (which lives in > our internal network) that we need t

Re: namespace directives from userdb not being applied

2022-07-13 Thread Aki Tuomi
> On 14/07/2022 04:56 EEST Brendan Braybrook wrote: > > > hi all, > > i'm having a strange issue. i have a few dovecot instances running: > > 1- debian 10 with debian's dovecot-core 1:2.3.4.1-5+deb10u5 > 2- debian 10 with debian's dovecot-core 1:2.3.4.1-5+deb10u6 > 3- debian 11 with dovecot

Re: dsync confusion

2022-07-11 Thread Aki Tuomi
> On 12/07/2022 08:36 EEST dove...@chubb.wattle.id.au wrote: > > > Hi Folks, >The man page for doveadm-sync says that the final argument is the >destination to which files will be written. > >But the example later in the man page says the opposite. >Under 'Conversion' I read:

Re: [Dovecot-news] CVE-2022-30550: Privilege escalation possible in dovecot when similar master and non-master passdbs are used

2022-07-08 Thread Aki Tuomi
> On 07/07/2022 23:59 EEST Noel Butler wrote: > > > On 07/07/2022 07:24, Aki Tuomi wrote: > > > > > > > On 06/07/2022 16:54 EEST Aki Tuomi via Dovecot-news > > > wrote: > > > > > >   > > > Affected product: Dovecot IMA

Re: Is multi factor authentication practical/feasible?

2022-07-07 Thread Aki Tuomi
> On 07/07/2022 01:12 EEST Michael Peddemors wrote: > > > On 2022-07-06 10:17, gene heskett wrote: > >> As far as I can see from what I tested today (mainly switching my > >> Thunderbird from "Normal Password" to "OAuth"), Clients effectively > >> *have* to be "also a browser" (rendering th

Re: Case sensitivity and unicode normalisation on ZFS for Dovecot Maildir

2022-07-06 Thread Aki Tuomi
> On 06/07/2022 14:51 EEST Jørn Åne de Jong wrote: > > > I'm wondering about some filesystem considerations when using Dovecot. > I've read https://wiki.dovecot.org/FileSystems, but that basically talks > about low-level details. My question is not about that. > > I use the following mail

Re: Trivial Pigeonhole patch: allow X-Original-From header for address tests

2022-07-04 Thread Aki Tuomi
> On 04/07/2022 07:33 EEST Aki Tuomi wrote: > > > > On 23/06/2022 07:14 EEST Rob Foehl wrote: > > > > > > Motivated by more DMARC silliness, naturally. > > > > -Rob > > Hi Rob! > > Any chance you could open this as pull requ

Re: Trivial Pigeonhole patch: allow X-Original-From header for address tests

2022-07-03 Thread Aki Tuomi
> On 23/06/2022 07:14 EEST Rob Foehl wrote: > > > Motivated by more DMARC silliness, naturally. > > -Rob Hi Rob! Any chance you could open this as pull request to https://github.com/dovecot/pigeonhole? Aki

Re: Dovecot ACLs and XOAUTH2

2022-06-14 Thread Aki Tuomi
> On 14/06/2022 12:52 Felix Auringer wrote: > > > Hi, > > we're trying to set up an IMAP server using Dovecot as part of a new > email system in a middle-sized company (around 150 employees). We have a > keycloak identity server that is used for all logins and we would also > like to use

RE: doveadm-deduplicate deletes non-duplicates

2022-06-14 Thread Aki Tuomi
> On 14/06/2022 18:12 Marc wrote: > > > > > > > > Aki> We have released 2.3.19.1 instead, and should be fixed now. > > > > It is not my intention to hijack this thread, and to be honest it would be > nice to see some statistics on the existence of duplicates, triplicates etc. > But when

Re: doveadm-deduplicate deletes non-duplicates

2022-06-14 Thread Aki Tuomi
We have released 2.3.19.1 instead, and should be fixed now.   Aki On 06/13/2022 6:24 PM John Stoffel <j...@stoffel.org> wrote:     >>>>> "Aki" == Aki Tuomi <

Re: doveadm-deduplicate deletes non-duplicates

2022-06-13 Thread Aki Tuomi
; > On 13/06/22 5:25 pm, Aki Tuomi wrote: > >> On 13/06/2022 02:09 gravitini wrote: > >> > >> > >> Replying to: https://dovecot.org/pipermail/dovecot/2022-May/124816.html > >> > >> > >> Hi, > >> > >> Looking

Re: doveadm-deduplicate deletes non-duplicates

2022-06-12 Thread Aki Tuomi
> On 13/06/2022 02:09 gravitini wrote: > > > Replying to: https://dovecot.org/pipermail/dovecot/2022-May/124816.html > > > Hi, > > Looking at the code (and tested via local build from source) it looks > like doveadm deduplicate in 2.3.19 can cause significant data loss. > > A 2022-02-11

Re: Distros based on OpenSSL 3 fail on lib-dcrypt/test-crypto

2022-06-07 Thread Aki Tuomi
> On 07/06/2022 20:27 Sloane Bernstein wrote: > > > Hello, > > I am getting our Dovecot packages preliminarily ready to support Linux > distributions which rely on OpenSSL 3. I notice that even the main dev branch > will build, but the test suite fails (among other places) at > test_passwo

Re: The meaning of "tarpit" as used in the auth policy docs?

2022-06-07 Thread Aki Tuomi
> On 08/06/2022 05:34 Hippo Man wrote: > > > I'm trying to understand what is meant by "tarpit" in the ffollowing quote of > the Dovecot auth policy docs for the "before" check ... > First query is done before password and user databases are consulted. This > means that any userdb/passdb att

Re: dovecot 2.3.19 source tarball build failed

2022-06-03 Thread Aki Tuomi
s. > Seem source generated by bison? > Anyway, just added one liner added tosrc/lib/ioloop-notify-kqueue.c: > 13a14 > > #include "time-util.h” > > Builds fine. > Thank you. > Dmitriy We have now finally merged this fix: https://github.com/dovecot/core/commit/e983ead775671186b3c8567d59973d2e52b678c7.patch Aki Tuomi

Re: Openmetrics label truncation

2022-06-03 Thread Aki Tuomi
els truncated after 32? > Is there a reason I do not see? > I found no reasons in the openmetrics specification [1]. > > > Thanks in advance > > Daniel Can you epxlain us the usecase where you need such long labels? Aki Tuomi

Re: Building dovecot-core

2022-06-02 Thread Aki Tuomi
> On 02/06/2022 20:23 hi@zakaria.website wrote: > > > On 2022-06-02 17:03, Dmitriy Fitisov wrote: > > Hi all, do we have any info on building dovecot-core? > > INSTALL.md > > suggests usual way: > > ./configure > > … > > > > Needless to say, there is no .configure in root dir. > > I think, in

Re: Restrict IMAP login, but allow Postfix SASL

2022-06-01 Thread Aki Tuomi
> On 01/06/2022 18:50 Hippo Man wrote: > > > > > There's a facility to add arbitrary code to the imap login process, > > e.g., in "10-master.conf": > > > > service imap-postlogin { > > executable = script-login /local/bin/imap-wrapper > > user = $default_internal_user > > unix_listener

Re: doveadm mailbox status -u p...@scom.ca -t all (syntax)

2022-05-24 Thread Aki Tuomi
You might want to add `INBOX` to the command? Aki > On 24/05/2022 00:34 Paul Kudla (SCOM.CA Internet Services Inc.) > wrote: > > > Ok I know this is a general question and at my level I should be able to > figure this out > > all i want is the complete status of an inbox ? > > > > > >

Re: Dovecot 2.3.18 and OpenMetrics-Prometheus problem

2022-05-23 Thread Aki Tuomi
> On 25/03/2022 08:41 Aki Tuomi wrote: > > > > On 17/03/2022 17:54 Aki Tuomi wrote: > > > > > > > On 17/03/2022 17:23 Christian Rößner wrote: > > > > > > > > > Hi, > > > > > > > Am 17.03.2022 um 10

Re: mail_replica in userdb?

2022-05-23 Thread Aki Tuomi
> On 22/05/2022 02:32 Coy Hile wrote: > > > I seem to have got replication working from an older instance to a newer one > (insofar as the data are present on the new box) that I’m looking to stand up > to replace a newer box. In this case, nothing is configured to talk to the > new machin

Re: SQL user_query quota_rule for *:messages=

2022-05-23 Thread Aki Tuomi
> On 20/05/2022 16:41 James wrote: > > > Hello, > > dovecot.conf sets the system default quota for storage and message count: > > plugin { > ... >quota_rule = *:storage=1G >quota_rule2 = *:messages=1 > ... > } > > This quota_rule for the storage is overridden by an SQL

Re: doveadm search error

2022-05-19 Thread Aki Tuomi
Hi! This is an unfortunate regression in 2.3.19, which has already been fixed. See https://github.com/dovecot/core/commit/30e69471792aec818dbbfa64adb868db14a6d8e2.patch It will be part of next release. Aki > On 19/05/2022 23:33 Christoph Fürstaller wrote: > > > Hello, > > I've upgraded do

Re: %{listener} not working

2022-05-19 Thread Aki Tuomi
> On 19/05/2022 11:58 cesco wrote: > > > > > > > > Hi! > > > > %{listener} is not available in authentication process, only in login > > process for logging purposes, as stated in documentation. > > > > You can use %{service} instead? > > > > Aki > > Hi > sorry, for whatever reason I w

Re: %{listener} not working

2022-05-19 Thread Aki Tuomi
> On 19/05/2022 00:45 cesco wrote: > > > Hi > > I'm trying to use the variable %{listener} in the following password mysql > query: > > password_query = SELECT accounts.mcf AS password FROM accounts, domains WHERE > user = '%n' AND accounts.domain = '%d' AND accounts.domain = domains.doma

Re: TLS renegotiation issue (CVE-2011-1473) in Dovecot

2022-05-16 Thread Aki Tuomi
Interesting that your security organization is worried about TLS renegotiation but do not mind people logging in without TLS... =) You have disable_plaintext_auth = no which allows plaintext auth over non-TLS connection. See https://doc.dovecot.org/configuration_manual/dovecot_ssl_configuratio

Re: Dovecot v2.3.19 released: User/PassDB lookups fail after update

2022-05-15 Thread Aki Tuomi
are.de): User doesn't exist > May 15 07:24:49 Error: > doveadm(olat.vcrp.de:2723414...@bb-trunk.egroupware.de): User doesn't exist > May 15 07:24:56 Error: > doveadm(olat.vcrp.de:1167852...@bb-trunk.egroupware.de): User doesn't exist > > Reverting back to 2.3.1

Re: [EXT] Re: [SAG] How to use mail_user_session_finished? (was Re: [Dovecot-news] Dovecot v2.3.19 released)

2022-05-12 Thread Aki Tuomi
> On 12/05/2022 16:10 Sylvain Robitaille wrote: > > > On Thu, 12 May 2022, Aki Tuomi wrote: > > > Can you provide us with the configuration you attempted? > > Sure, but the complete configuration is spread across a number of files: If we read the docum

Re: How to use mail_user_session_finished? (was Re: [Dovecot-news] Dovecot v2.3.19 released)

2022-05-11 Thread Aki Tuomi
> On 12/05/2022 01:15 Sylvain Robitaille wrote: > > > On Tue, 10 May 2022, Aki Tuomi via Dovecot-news wrote: > > > + Added mail_user_session_finished event, which is emitted when the mail > > user session is finished (e.g. imap, pop3, lmtp). It also includes &g

Re: [EXT] Re: Dovecot v2.3.19 released

2022-05-10 Thread Aki Tuomi
> On 11/05/2022 08:12 A. Schulze wrote: > > > Am 11.05.22 um 06:52 schrieb Aki Tuomi: > > > > > What ssl library are you using? > It's what Debian provides: https://packages.debian.org/bullseye/libssl1.1 > > Andreas You are using something lik

Re: Dovecot v2.3.19 released

2022-05-10 Thread Aki Tuomi
> On 11/05/2022 00:49 A. Schulze wrote: > > > Am 10.05.22 um 23:35 schrieb John Stoffel: > >>>>>> "A" == A Schulze writes: > > > > A> Am 10.05.22 um 08:33 schrieb Aki Tuomi: > >>> Hi all! > >>> > >

Re: director service tries to start without any configuration

2022-04-29 Thread Aki Tuomi
> On 29/04/2022 12:37 Eirik Rye wrote: > > > Hello, > > - Dovecot 2.3.18 (originally Dovecot 2.3.16, but upgraded in an > attempt to fix issue) > - Ubuntu 20.04 using Dovecot repo > > In my organization have run a cluster of dovecot proxy machines, with > the director service enabled in a t

Re: no full syncs after upgrading to dovecot 2.3.18

2022-04-28 Thread Aki Tuomi
to 416.642.7266 > Main 1.866.411.7266 > Fax 1.888.892.7266 > > On 4/27/2022 9:01 AM, Aki Tuomi wrote: > > > > Hi! > > > > This is probably going to get fixed in 2.3.19, this looks like an issue we > > are already fixing. > > > > Aki &g

Re: Recovering deleted mailbox

2022-04-28 Thread Aki Tuomi
this mail public archive. Public archive administrator > >> should fix this against automated addresses collectors. > >> El 28/4/22 a les 7:48, Aki Tuomi ha escrit: > >>> > >>>> On 28/04/2022 08:33 Shawn Heisey wrote: > >>>> > >>>&

Re: Recovering deleted mailbox

2022-04-27 Thread Aki Tuomi
s. > El 28/4/22 a les 7:48, Aki Tuomi ha escrit: > > > >> On 28/04/2022 08:33 Shawn Heisey wrote: > >> > >> > >> On 4/27/2022 11:27 PM, Aki Tuomi wrote: > >>> There is no reason to delete the dovecot files after recovery. You can > &g

Re: Recovering deleted mailbox

2022-04-27 Thread Aki Tuomi
> On 28/04/2022 08:57 Shawn Heisey wrote: > > > On 4/27/2022 11:48 PM, Aki Tuomi wrote: > > # drop fts data > > doveadm fts rescan -u user > > # rebuild index > > doveadm index -u user "*" > > I do full reindexes a lot more often than a t

Re: Recovering deleted mailbox

2022-04-27 Thread Aki Tuomi
> On 28/04/2022 08:33 Shawn Heisey wrote: > > > On 4/27/2022 11:27 PM, Aki Tuomi wrote: > > There is no reason to delete the dovecot files after recovery. You can run > > `doveadm force-resync` to ensure everything is synced. Removing the files > > just ca

Re: Can I set a different certificate per listen port?

2022-04-27 Thread Aki Tuomi
> On 27/04/2022 22:14 Kees van Vloten wrote: > > > Hi all, > > I am trying to setup dovecot to listen to imaps on the local network and > through haproxy from the internet. > > service imap-login { >   inet_listener imaps { >     port = 993 >     ssl = yes >   } >   inet_listener imap

Re: Recovering deleted mailbox

2022-04-27 Thread Aki Tuomi
> On 28/04/2022 01:57 Shawn Heisey wrote: > > > On 4/27/22 16:18, Sean McBride wrote: > > I have a user (coworker) that accidentally deleted a mailbox and all its > > sub-mailboxes. > > > > I use Maildir format storage. I have backups. > > > > Is it enough to put the mailbox folder back whe

Re: no full syncs after upgrading to dovecot 2.3.18

2022-04-27 Thread Aki Tuomi
Hi! This is probably going to get fixed in 2.3.19, this looks like an issue we are already fixing. Aki > On 26/04/2022 16:38 Paul Kudla (SCOM.CA Internet Services Inc.) > wrote: > > > Agreed there seems to be no way of posting these kinds of issues to see > if they are even being addresse

Re: Heads-up: Exim 4.96 RC0 may break your Dovecot LDA delivery

2022-04-25 Thread Aki Tuomi
You could also just switch to LMTP instead of LDA. Aki > On 25/04/2022 16:47 Kirill Miazine wrote: > > > So my workaround was to create a simple wrapper and call it, instead of > dovecot-lda: > > $ cat /local/bin/dovecot-lda-wrapper > #!/bin/sh > exec /usr/local/libexec/dovecot/dovecot-lda \

Re: Weird status... " noselect"... why ?

2022-04-23 Thread Aki Tuomi
> On 22/04/2022 21:11 Stephane Magnier wrote: > > > > > a list "" * gives me this > > * LIST (\HasChildren \UnMarked) "/" INBOX/2022-PERSONNEL/FOO2 > * LIST (\HasNoChildren \UnMarked) "/" INBOX/2022-PERSONNEL/FOO2/test > * LIST (\Noselect \HasChildren) "/" INBOX/2022-PERSONNEL/FOO2/test >

Re: Permissions and ownership on /dev/shm/dovecot

2022-04-10 Thread Aki Tuomi
Hi! Dovecot uses permissions from mail user storage folder and in absence of that, the parent folder. Your pre-start script looks good. If your NFS is fast enough, it's ok to keep .cache and .log in NFS. Aki > On 25/03/2022 18:57 João Silva wrote: > > > In that case things can be more peac

Re: Dovecot 2.3.13 virtual mailboxes subscription problem

2022-04-10 Thread Aki Tuomi
> On 03/04/2022 16:12 Slavko wrote: > > > Hi, > > by discussion on IRC channel is post details here. > > > I am using virtual plugin in dovecot 2.3.13 and i have porblems with > subsription to these virtual mailboxes. I can setup autosubscribe to > them and it works as expected. I can SUBS

Re: Set up per user sieve rules

2022-04-10 Thread Aki Tuomi
> On 10/04/2022 06:36 Shawn Heisey wrote: > > > On 4/9/2022 9:29 PM, Austin Witmer wrote: > > I am curious Shawn, what the contents of your > > /etc/dovecot/conf.d/90-sieve.conf file is? > > It's almost all comments.  A LOT of detailed comments.  Stripping those out: > > > --- > root@bilb

Re: resend whole inbox to user

2022-04-06 Thread Aki Tuomi
> On 07/04/2022 09:49 Shawn Heisey wrote: > > > On 2022-04-06 13:29, Marc wrote: > > I was wondering if there is some way to force an imap client to > > 're-download' all the messages from the inbox. I can remember in the > > 'old days' that when the connection was dropped during a pop downlo

Re: remove duplicate emails

2022-04-05 Thread Aki Tuomi
> On 04/04/2022 13:44 Jean-Max Reymond wrote: > > > Hi, > I have postfix running and sometimes and I have some duplicate emails > with the same Message-ID. > With dovecot sieve, I understand that duplicate option remove these > emails but I don't understand the configuration to apply. > Tha

Re: Dovecot Submission - rate limiting

2022-03-31 Thread Aki Tuomi
> On 31/03/2022 17:00 itan...@univ-brest.fr wrote: > > > Hello, > > is there any way to rate limit submission mail (counting per user) when > using Dovecot/Submission (no Postfix)? > > Using a milter seems impossible. > Using Dovecot Events seems "too" global (not per users discrimination).

Re: Dovecot 2.3.18 and OpenMetrics-Prometheus problem

2022-03-24 Thread Aki Tuomi
> On 17/03/2022 17:54 Aki Tuomi wrote: > > > > On 17/03/2022 17:23 Christian Rößner wrote: > > > > > > Hi, > > > > > Am 17.03.2022 um 10:43 schrieb Eirik Rye : > > > > > > On 25/02/2022 11:50, Christian Rößner wro

Re: Pop3 Panic Error

2022-03-24 Thread Aki Tuomi
> On 24/03/2022 09:32 Aki Tuomi wrote: > > > > On 24/03/2022 09:29 Aurel Mihai wrote: > > > > > > Hello, > > after upgrade to version 2.3.18, we enconter a lot of errors, such as: > > > > Mar 22 14:08:32 mail2 dovecot: pop3(user@dom

Re: Pop3 Panic Error

2022-03-24 Thread Aki Tuomi
> On 24/03/2022 09:29 Aurel Mihai wrote: > > > Hello, > after upgrade to version 2.3.18, we enconter a lot of errors, such as: > > Mar 22 14:08:32 mail2 dovecot: pop3(user@domain)<52269><3y3GeM3aQ+tWadtM>: > Panic: file lib-event.c: line 585 (event_reason_code_prefix): assertion > failed: (

Re: log failed plaintext password for specific user only

2022-03-23 Thread Aki Tuomi
> On 23/03/2022 12:18 mj wrote: > > > Op 23-03-2022 om 11:11 schreef Aki Tuomi: > > > > Well, is the sha1 value same every time? If it is, then they are trying > > same password each time. > > > > Aki > > Yes, understood. :-) > > T

Re: log failed plaintext password for specific user only

2022-03-23 Thread Aki Tuomi
> On 23/03/2022 11:47 mj wrote: > > > Hi, > > We are logging failed authentication attempts, with the attempted > password as auth_verbose_passwords=sha1 > > The question: is it possible to configure auth_verbose_passwords=plain > for a specific user only? Turning it on globally would be

Re: running alternate dovecot instances on the same server

2022-03-20 Thread Aki Tuomi
> On 20/03/2022 22:36 Chris Hoogendyk wrote: > > > I'm posting to the list, but not on the list. I presume that means a > reply-all to get to me as well > as the list? > > We have two servers (dovecot --version:  2.2.22 (fe789d2)) that handle email > for two different > departments. > >

Re: Dovecot 2.3.18 and OpenMetrics-Prometheus problem

2022-03-17 Thread Aki Tuomi
> On 17/03/2022 17:23 Christian Rößner wrote: > > > Hi, > > > Am 17.03.2022 um 10:43 schrieb Eirik Rye : > > > > On 25/02/2022 11:50, Christian Rößner wrote: > >> dovecot_sieve_actions_total{"duration_10001_10"} 88 > > > > This label specification is invalid (it's missing the label nam

Re: AW: AW: invalid lz4 chunk size??

2022-03-16 Thread Aki Tuomi
st of the complexity is hidden > by mailcow. > Thanks, Joachim > > -Ursprüngliche Nachricht- > Von: Aki Tuomi > Gesendet: Wednesday, 16 March 2022 08:38 > An: Joachim Lindenberg ; dovecot@dovecot.org > Betreff: Re: AW: invalid lz4 chunk size?? > > Hi, > > loo

Re: sieve-filter not respecting :create flag of fileinto

2022-03-16 Thread Aki Tuomi
> On 16/03/2022 09:19 Aki Tuomi wrote: > > > > On 15/03/2022 01:13 David Arroyo wrote: > > > > > > On Mon, Mar 14, 2022, at 03:46, Aki Tuomi wrote: > > > can you provide output of mail_debug=yes logs during delivery? > > > > Sure, a

Re: AW: invalid lz4 chunk size??

2022-03-16 Thread Aki Tuomi
one side and rely on replication to get > the copy replaced? If that makes sense, which commands do you recommend? > Thanks, > Joachim > > -Ursprüngliche Nachricht- > Von: Joachim Lindenberg > Gesendet: Thursday, 3 March 2022 12:06 > An: 'Aki T

Re: sieve-filter not respecting :create flag of fileinto

2022-03-16 Thread Aki Tuomi
> On 15/03/2022 01:13 David Arroyo wrote: > > > On Mon, Mar 14, 2022, at 03:46, Aki Tuomi wrote: > > can you provide output of mail_debug=yes logs during delivery? > > Sure, attached. > > David Thanks. Seems like folder creation is not attempted. Could be a bug, I'll take a look. Aki

Re: allow_nets equivalent for all users?

2022-03-14 Thread Aki Tuomi
> On 14/03/2022 18:48 Bryan K. Walton wrote: > > > On Mon, Mar 14, 2022 at 06:33:16PM +0200, Aki Tuomi wrote: > > > > If you really want, you can add default_fields = allow_nets=value or > > override_fields = allow_nets=value to the passdb. > > &

Re: allow_nets equivalent for all users?

2022-03-14 Thread Aki Tuomi
> On 14/03/2022 18:31 Bryan K. Walton wrote: > > > Hi, > > It is my understanding that allow_nets is a field that gets used in a > password database, and therefore is a per-user setting. > > Is there an equivalent method for defining allowed network(s) for ALL > users? In other words, a sin

Re: sieve-filter not respecting :create flag of fileinto

2022-03-14 Thread Aki Tuomi
> On 12/03/2022 00:04 David Arroyo wrote: > > > Hello, > > I recently significantly modified my sieve rules for filing mailing list > posts in my Fastmail inbox. The rules contain a few rules that file mail > like so: > > fileinto :create ml.${5}${4}{$3}{$2}{$1}; # reversed list-id >

Re: AntiVirus in Maildir

2022-03-14 Thread Aki Tuomi
> On 14/03/2022 08:43 Robert Schetterer wrote: > > > Am 14.03.22 um 05:56 schrieb Masakazu Hirose: > > Hi all, > > > > I run a mail server on Maildir. > > Does Dovecot work correctly if I delete the mail files stored in > > Maildir? Do I need to run the doveadm command? > > > > I want to ru

Re: doveadm complains about virtual namespace

2022-03-06 Thread Aki Tuomi
> On 07/03/2022 00:30 Roberto Sanchez wrote: > > > Hi, > > I’ve setup my server __user__nd mail sending/receiving is all working without > issue. However, a cron script that cleans up the Junk folder and runs: > > doveadm expunge -A mailbox Junk savedbefore 60d > > gives out the followin

Re: invalid lz4 chunk size??

2022-03-03 Thread Aki Tuomi
> On 03/03/2022 12:24 Joachim Lindenberg wrote: > > > Hello, > when accessing one mailbox via ActiveSync / SoGo / Dovecot I get the > following error repeatedly in dovecot log: > imap(somemail...@example.org)<1579><***>: Error: Mailbox Sent: UID=1553: > read(compress()) failed: read() faile

Re: AW: multiple doveadm ports?

2022-03-02 Thread Aki Tuomi
t supported? > Thanks > Joachim > > -----Ursprüngliche Nachricht- > Von: Aki Tuomi > Gesendet: Wednesday, 2 March 2022 09:13 > An: Joachim Lindenberg ; dovecot@dovecot.org > Betreff: Re: multiple doveadm ports? > > > > On 02/03/2022 10:08 Joachim Lindenberg wrote: > >

Re: multiple doveadm ports?

2022-03-02 Thread Aki Tuomi
> On 02/03/2022 10:08 Joachim Lindenberg wrote: > > > Hello, > > I am trying to add another doveadm listener but am struggling with that. The > primary reason is that I want to enable replication between two systems and > want the replication to be encrypted using TLS. However there are al

Re: Does disabling POP3 just mean removing it from the `protocols` list?

2022-03-01 Thread Aki Tuomi
> On 02/03/2022 07:54 Benny Pedersen wrote: > > > On 2022-03-02 02:53, Sean McBride wrote: > > Thanks all for your replies. > > > > I have no need/desire to support anything google-related, so those > > concerns don't apply, but thanks for pointing them out. > > > > So is it just a matter o

Re: Custom Authentication Method

2022-02-28 Thread Aki Tuomi
> On 01/03/2022 03:54 Matthew R wrote: > > > Hi guys, we're using Dovecot/Postfix here for our mail system. I'd like to > switch the `passdb` authentication on Dovecot from PAM over to a custom > implementation. We'd prefer to have some sort of script check the password > with an external I

Re: Dovecot 2.3.18 and OpenMetrics-Prometheus problem

2022-02-25 Thread Aki Tuomi
> On 25/02/2022 12:23 Christian Rößner wrote: > > > Hi, > > I have defined several metrics in Dovecot and activated the metrics service. > After the I tried to include this in Prometheues, but I get strange errors. I > gave up now after several hours in the hope that this might be a bug. S

Re: Different auth logging with cache lookup. (OPEN)

2022-02-22 Thread Aki Tuomi
> On 22/02/2022 09:42 Eikås Arvid wrote: > > > dovecot-2.3.5 and centos 7 > User and IP are logged in both scenarios. > auth-worker(26145): sql(user,1.1.1.1,): Password mismatch > auth-worker(13380): cache(u...@online.no,1.1.1.1): Password mismatch > > > > > dovecot-2.3.17 and rhel 8 > Feb

Re: postfix, dovecot-lda, /run/dovecot/stats-writer socket permision and local user delivery, again

2022-02-21 Thread Aki Tuomi
> On 21/02/2022 23:24 Michael Tokarev wrote: > > > Hi! > > There are many questions on the 'net about the same theme: > lda(mjt): Error: net_connect_unix(/run/dovecot/stats-writer) failed: > Permission denied > > dovecot-lda is run from postfix as mailbox_command for local users. > > Ther

Re: Debug shared namespace issues

2022-02-18 Thread Aki Tuomi
> On 18/02/2022 15:17 Kees van Vloten wrote: > > > On 18-02-2022 13:34, Aki Tuomi wrote: > >> On 18/02/2022 14:27 Kees van Vloten wrote: > >> > >> > >> Hi Team, > >> > >> I am still having troubles with the shared na

Re: Dovecot with Microsoft Azure OAUTH2 ?

2022-02-18 Thread Aki Tuomi
> On 02/02/2022 17:11 Max Kostikov wrote: > > > Does anyone have experience successfully setting up Dovecot OAUTH2 for > authentication with Microsoft Azure? > I'm not sure what to use as tokeninfo_url and introspection_url in the > Dovecot configuration. > I would appreciate any help and a

Re: Debug shared namespace issues

2022-02-18 Thread Aki Tuomi
> On 18/02/2022 14:27 Kees van Vloten wrote: > > > Hi Team, > > I am still having troubles with the shared namespace. > > mail_shared_explicit_inbox = yes > namespace { >     type = shared >     separator = "~" Why do you actually have quotes here? Shouldn't be needed or wanted. Can you

Re: Fwd: Memory problems with config service

2022-02-18 Thread Aki Tuomi
rsonal reply) > > > > Mensaje reenviado > Asunto: Re: Memory problems with config service > Fecha: Wed, 16 Feb 2022 16:19:32 +0100 > De: Víctor Rubiella Monfort > Para: Aki Tuomi > > > # 2.2.27 (): /etc/dovecot/dovecot.c

Re: Shared mailbox visible but not readable

2022-02-17 Thread Aki Tuomi
> On 17/02/2022 19:34 Kees van Vloten wrote: > > > After the previous thread, I am now able to see / list the structure of > a shared mailbox but cannot see the messages. > > doveadm acl get -u test2 INBOX > ID Global Rights > user=test1admin create delete expunge insert loo

Re: mail-crypt and mbox format

2022-02-17 Thread Aki Tuomi
ow effective is the mb2md? Not >>> looking for a cookbook, just an opinion on whether it is worth converting. >>> >>> We've used mbox format going back before CentOS 5, so change is hard. >>> >>> Environment is CentOS 7, Dovecot, Sendmail, Pigeonhole, MailSca

Re: Fwd: Mailbox sharing not working

2022-02-17 Thread Aki Tuomi
> On 17/02/2022 11:16 Kees van Vloten wrote: > > > On 17-02-2022 10:02, Aki Tuomi wrote: > >> On 17/02/2022 10:39 Kees van Vloten wrote: > >> > >> > >> On 17-02-2022 09:16, Aki Tuomi wrote: > >>>> On 17/02/2022 10:14 Kees

Re: Fwd: Mailbox sharing not working

2022-02-17 Thread Aki Tuomi
> On 17/02/2022 10:39 Kees van Vloten wrote: > > > On 17-02-2022 09:16, Aki Tuomi wrote: > >> On 17/02/2022 10:14 Kees van Vloten wrote: > >> > >> On 17-02-2022 07:28, Aki Tuomi wrote: > >>>> On 16/02/2022 21:40 Kees van Vloten wrote: &

Re: Mailbox sharing not working

2022-02-17 Thread Aki Tuomi
> On 17/02/2022 10:14 Kees van Vloten wrote: > > > On 17-02-2022 07:28, Aki Tuomi wrote: > >> On 16/02/2022 21:40 Kees van Vloten wrote: > >> > >> > >> Hi Team, > >> > >> > >> I am trying to setup mailbox shari

Re: Mailbox sharing not working

2022-02-16 Thread Aki Tuomi
> On 16/02/2022 21:40 Kees van Vloten wrote: > > > Hi Team, > > > I am trying to setup mailbox sharing. But although user test2 shares > INBOX with test1, it is not visible for user1. > > doveadm  acl get -u test2 INBOX > ID Global Rights > user=test1    admin create delete ex

Re: Memory problems with config service

2022-02-16 Thread Aki Tuomi
> On 16/02/2022 07:30 Víctor Rubiella Monfort wrote: > > > Hi all, > I'm having problems with memory in config service. I increased vsz_limit to > 10GB but continue with this errors when try to reload or restart dovecot: > > config: Panic: data stack: Out of memory when allocating 2147483688

Re: JWT tokens, timestamps and doubles (microseconds)

2022-02-14 Thread Aki Tuomi
> On 14/02/2022 12:24 Aleš Krajník wrote: > > > Hi all, > > I am having troubles with OAuth2 setup with local introspection of JWT > tokens. > > This happens, when the JWT tokens contain timestamps as doubles, with > microseconds, for example with the following payload: > > { > "aud": "c

Re: Unable to connect from macOS mail client

2022-02-13 Thread Aki Tuomi
sion=<5mZDV+HXxK+dMMgU> > > How to fix it? > > — > Necktwi alert 46 means that you are not using fullchain cert in your ssl_cert. The ssl_cert file should contain the cert followed by intermediate certs between the cert and root, so clients can form trust path to root. Aki Tuomi

Re: mail-crypt and mbox format

2022-02-11 Thread Aki Tuomi
, Sendmail, Pigeonhole, MailScanner, > Mailwatch SQL, Thunderbird clients. > > Thanks, > Doug > On Friday, February 11, 2022, 09:31:09 AM EST, Aki Tuomi > wrote: > > > > > > On 11/02/2022 16:26 cincodemayo...@yahoo.com > > wrote: > > > >

Re: mail-crypt and mbox format

2022-02-11 Thread Aki Tuomi
Doug Mail crypt will not work with it. Mbox format has limited support of features. --- Aki Tuomi

Re: Different handling of upper and lower case while indexing/searching with Solr

2022-02-10 Thread Aki Tuomi
> On 10/02/2022 13:46 Patrik Peng wrote: > > > On 10.02.22 11:25, Aki Tuomi wrote: > > You can configure dovecot with > > > > auth_username_format=%Lu > > > > which downcases the username provided by the customer, as well. > > According to the

Re: Different handling of upper and lower case while indexing/searching with Solr

2022-02-10 Thread Aki Tuomi
> On 10/02/2022 11:58 Patrik Peng wrote: > > > On 10.02.22 10:43, Aki Tuomi wrote: > > Probably easiest fix is to fix the users in database to all lowercase, as > > you are likely returning `user` attribute in your SQL queries. > We thought about this as well,

Re: Different handling of upper and lower case while indexing/searching with Solr

2022-02-10 Thread Aki Tuomi
> On 10/02/2022 11:36 Patrik Peng wrote: > > > On 09.02.22 17:47, Christian Kivalo wrote: > > > How are your users added to your auth backend? > > We use a SQL DB as auth backend. Users are added by an external application. > New accounts are all added as lowercase, but it could be possible t

Re: Sv: dovecot mailing list (this mailing list), DKIM, SPF and DMARC

2022-02-09 Thread Aki Tuomi
We did that replacement for a while, but people complained. We have ARC signing there, unfortunately it only works if you trust it. Aki > On 04/02/2022 23:10 Sebastian Nielsen wrote: > > > I get it too. These appear because they don't replace either MAIL FROM: or > Mime From: with the list

Re: On mailbox full, retry for 4 days or similar instead of reject

2022-02-08 Thread Aki Tuomi
> On 08/02/2022 09:09 Narcis Garcia wrote: > > > +1 > > > > Narcis Garcia > > __ > I'm using this dedicated address because personal addresses aren't > masked enough at this mail public archive. Public archive administrator > should fix this against automated addresses collector

Re: Lucene support for FTS - EOL date.

2022-02-06 Thread Aki Tuomi
Hi! fts-lucene and fts-squat are going to be removed in next major release, which is going to be released this year. We are planning to add xapian based replacement for lucene. Aki > On 05/02/2022 23:33 Jacek Grabowski wrote: > > > We are talking about the large-scale commercial use of Dov

Re: How to "activate" a mail directory?

2022-02-05 Thread Aki Tuomi
> On 05/02/2022 12:08 Peter Nabbefeld wrote: > > > Hello, > > as I need a mailbox locally only just for filtering, I've tried to > manually create it (using Maildir as backend): > > 1. Created a folder in the appropriate location under /home/vmail with > subfolders cur, new, tmp. > 2. Set t

<    1   2   3   4   5   6   7   8   9   10   >