Re: two different mail_location

2021-10-08 Thread Aki Tuomi
On 8 October 2021 19.13.22 UTC, Gabx wrote: >On 10/6/21 10:11 AM, Aki Tuomi wrote: > >> >> >> Return `mail=maildir:/var/%u` from auth. See >> https://doc.dovecot.org/configuration_manual/authentication/user_databases_userdb/ >> >> Aki >&g

RE: RE: stats events for use with prometheus

2021-10-08 Thread Aki Tuomi
On 8 October 2021 13.08.11 UTC, Marc wrote: >> > >> > I also do not see where this client_connection_finished is described. >> > >> > >> >> Thanks for pointing it out. It was indeed a documentation error as there >> is no such event. The page is now updated. > >I did not even know, I just

Re: Quota emails... nothing happened

2021-10-07 Thread Aki Tuomi
gt; driver = passwd > > > args = /etc/dovecot/quota-overrides > > > quota_rule=azt000:storage=+160Gb > > > result_success=continue-ok > > > } > > > > > I would like to keep 30gb for any user AZTxxx, But for some specific users

Re: haproxy config manual update for multiple ports

2021-10-07 Thread Aki Tuomi
Why not just have multiple frontend cponfigs? Aki > On 07/10/2021 12:51 Marc wrote: > > > https://wiki2.dovecot.org/HAProxy > > Maybe update this to having multiple ports (if this is even possible) > > frontend ft_imap > bind :110 << > bind :143 > mode tcp > default_backend

Re: writing Maildir subscriptions file outside of dovecot

2021-10-07 Thread Aki Tuomi
> On 06/10/2021 22:52 David Mandelberg wrote: > > > Hi, > > Is it safe to write to the Maildir subscriptions file directly? > > I'm trying to figure out a way to make sure the subscriptions match the > actual folders exactly. I know how to subscribe to existing mailboxes > with `doveadm

Re: Quota emails... nothing happened

2021-10-06 Thread Aki Tuomi
t; > Redirecting to /bin/systemctl restart dovecot.service > > [root@mbox1 conf.d]# doveadm quota get -u azt000 > > Quota name Type Value Limit % > > User quota STORAGE 22268406 31457280 70 > > User quota MESSAGE 29853 - 0 > > [root@mbox1 conf.d]# > > > > &

Re: Quota emails... nothing happened

2021-10-06 Thread Aki Tuomi
stand the following line > > username::quota_ruleX=... where X is the next rule number. > > What should I write ?.. for instance : azt000:quota_rule1=+160GB ? > something like that ?? > > > > > Le 06/10/2021 à 10:13, Aki Tuomi a écrit : > &g

Re: Quota emails... nothing happened

2021-10-06 Thread Aki Tuomi
> > quota_rule = azt000:storage=+60GB > > > > > Le 06/10/2021 à 08:09, Stephane Magnier a écrit : > > > Great !! works fine.. > > > > I had in fact, twice the same déclaration of quotat and storage on the > > same file. one of them was with an uppe

Re: two different mail_location

2021-10-06 Thread Aki Tuomi
> On 06/10/2021 11:09 Gabx wrote: > > > Hi everybody, > > my mail system has all users in usual path ~ . > > Only one user is in /var/%u . > This user doesn't receive emails. > > I guess it is because its $HOME is on a different path than the one > specified in dovecot mail_location

Re: Quota emails... nothing happened

2021-10-05 Thread Aki Tuomi
> On 06/10/2021 08:38 Stephane Magnier wrote: > > > > > > Le 06/10/2021 à 06:51, Aki Tuomi a écrit : > > > > On 06/10/2021 07:30 Stephane Magnier wrote: > > > > > > > > > > > > > > > > > > Le

Re: Quota emails... nothing happened

2021-10-05 Thread Aki Tuomi
> On 06/10/2021 07:30 Stephane Magnier wrote: > > > > > > Le 06/10/2021 à 06:10, Stephane Magnier a écrit : > > > Hi, > > I am just running Dovecot v 2.3.8 .. seems to work fine. > > I just add the quota plugin.. and.. I cannot see any differences.. I > > cannot see any information on

Re: dovecot ldap and mysql

2021-09-30 Thread Aki Tuomi
> On 30/09/2021 15:01 Maciej Milaszewski wrote: > > > Hi > I have dovecot director + nodes and migrate users from ldap to mysql. > I allow to auth via e-mail and alias and uid - thats i need > > In director ( where users is in ldap ) all works fine - user is proxy to > UID like: > > ... >

Re: dovecot and irc

2021-09-30 Thread Aki Tuomi
> On 30/09/2021 13:56 Maciej Milaszewski wrote: > > > Hi > What is official irc server ? Freenode or libra or other ? Hi! We are using irc.oftc.net nowadays. Aki

Re: Unprivileged users can't use doveadm anymore in 2.3.16

2021-09-16 Thread Aki Tuomi
> On 16/09/2021 20:08 Markus Schönhaber wrote: > > > 16.09.21, 18:50 +0200, dove...@ptld.com: > > > What happened in 2.3.16 to doveadm? You can no longer use the command as > > an unprivileged user like you could in 2.3.8 > > > > Roundcube uses "doveadm pw" to change users passwords and

Re: lmtp process dumps core after sieve error

2021-09-15 Thread Aki Tuomi
> On 15/09/2021 17:12 admin wrote: > > > Hi, > > We run dovecot + postfix + pigeonhole. Last week we observed some > coredumps in dovecot's lmtp processes. For some emails, postfix mailq > reported: > > > lost connection with nji9.de[/var/spool/postfix/private/dovecot-lmtp] while > >

Re: Panic/Fatal error in lmtp when quota is full

2021-09-14 Thread Aki Tuomi
> On 14/09/2021 17:44 Alessio Cecchi wrote: > > > Hi, > on dovecot 2.3.16 with delivery via LMTP I found many of this error when a > user have the mailbox full and personal sieve rules: > > Hope it can be fixed, > Thanks > > -- > Alessio Cecchi > Postmaster @ http://www.qboxmail.it >

Re: submission server fails to relay messages

2021-09-13 Thread Aki Tuomi
> On 13/09/2021 20:05 Шварц Сергей Владимирович wrote: > > > Hi guys! > > I'm using dovecot submission server for clients to send emails and relay them > to postfix. Everything works fine unless a client tries to send large (40Mbs) > messages. No big deal one can say just set

Re: SQL help please (Mysql/MariaDB).

2021-09-12 Thread Aki Tuomi
Try mail_location = maildir:/var/mail/vmail/%Ld/%Ln Aki > On 12/09/2021 19:38 C. Petro wrote: > > > To be more clear about my problem. > > This server will be hosting multiple email domains, and I would prefer to > have the filesystem structured like /var/mail/vmail// rather > than

Re: suse.de dovecot issues

2021-09-12 Thread Aki Tuomi
> On 12/09/2021 14:54 William Edwards wrote: > > > Bernhard M. Wiedemann schreef op 2021-09-12 10:34: > > On 10/09/2021 11.33, William Edwards wrote: > >>> > >>> 2. > >>> We have 2 backends so that we can do maintenance on one of them while > >>> users can still access their emails through

Re: Problem with the dovecot-fts-xapian package.

2021-09-12 Thread Aki Tuomi
> On 12/09/2021 15:12 Bob Marcan wrote: > > > On Sun, 12 Sep 2021 11:36:46 +0100 > Joan Moreau wrote: > > > This is where I am for now : > > > > https://koji.fedoraproject.org/koji/packageinfo?packageID=34417 > > > > Probably, I should wait for Fedora batch programs to push that into

Re: suse.de dovecot issues

2021-09-10 Thread Aki Tuomi
> On 10/09/2021 13:19 Bernhard M. Wiedemann wrote: > > > On 10/09/2021 11.43, Aki Tuomi wrote: > >> https://www.zq1.de/~bernhard/temp/dovecot/ has some sysreports. > > > > It seems you are normalizing SQL usernames by doing SELECT username, but

Re: suse.de dovecot issues

2021-09-10 Thread Aki Tuomi
> On 10/09/2021 12:19 Bernhard M. Wiedemann wrote: > > > Hi, > > I am one of the people taking over our new suse.de email setup > (consisting of dovecot+rspamd+postfix) > and wanted to report some issues we experience: > > > 1. > we use dovecot-director to distribute users between 2

Re: suse.de dovecot issues

2021-09-10 Thread Aki Tuomi
> On 10/09/2021 12:32 Aki Tuomi wrote: > > > > On 10/09/2021 12:19 Bernhard M. Wiedemann wrote: > > > > > > Hi, > > > > I am one of the people taking over our new suse.de email setup > > (consisting of dovecot+rspamd+postfix)

Re: suse.de dovecot issues

2021-09-10 Thread Aki Tuomi
> On 10/09/2021 12:19 Bernhard M. Wiedemann wrote: > > > Hi, > > I am one of the people taking over our new suse.de email setup > (consisting of dovecot+rspamd+postfix) > and wanted to report some issues we experience: > > > 1. > we use dovecot-director to distribute users between 2

Re: Failed to do incremental sync

2021-09-09 Thread Aki Tuomi
Did you retry with full sync? Aki > On 09/09/2021 13:55 Andrea Gabellini > wrote: > > > Hello, > > Two dovecot server with replication and version 2.3.10.1 > > Today i have many warnings like those: > > Sep  9 12:13:43 dovecot: doveadm: Warning: Failed to do incremental sync > for

Re: Using %{ssl_security} in the policy server

2021-09-09 Thread Aki Tuomi
Hi! That information is not currently passed along with auth request, so it's not available. You can use auth_client_request_finished event to log / send this information in, for example, JSON format. See https://doc.dovecot.org/configuration_manual/event_export/ for how to export events.

Re: SSL errors after certificate renewal

2021-09-08 Thread Aki Tuomi
> On 07/09/2021 20:25 Amol Kulkarni wrote: > > > Hello, > > > After I replaced my certificate with a new one yesterday, I'm seeing some ssl > related errors. There are successful pop/imap logins using SSL also. So I > think the certificate in itself is fine. No user has complained as yet,

Re: 100 MB RAM per clinet in an imap-proxy setup ...

2021-09-03 Thread Aki Tuomi
> On 03/09/2021 10:25 Tobias Oetiker wrote: > > > - On Sep 3, 2021, at 9:01 AM, Aki Tuomi aki.tu...@open-xchange.com wrote: > > >> On 03/09/2021 09:35 Tobias Oetiker wrote: > >> > >> > >> Hi All, > >> > >>

Re: 100 MB RAM per clinet in an imap-proxy setup ...

2021-09-03 Thread Aki Tuomi
> On 03/09/2021 09:35 Tobias Oetiker wrote: > > > Hi All, > > I spent some quality time yesterday, tuning dovecot on a server which serves > as an imap-proxy in front of a zimbra setup > the imap proxy does ldap client-cert authentication and works well. > > BUT > > I found that the

Re: maildirfolder file created in maildir root during auto-creation with 2.3.4.1 but not 2.2.27

2021-09-02 Thread Aki Tuomi
re acknowledged at least if not even fixed. > And it was confirmed by other people who contacted me directly after > seeing the original report here. > > Regards, > > Christian > > On Wed, 5 Feb 2020 16:13:37 +0900 Christian Balzer wrote: > > > Hello, > > > &

Re: Duplicate plugins - FTS Xapian

2021-08-31 Thread Aki Tuomi
> On 31/08/2021 13:59 Tom Hendrikx wrote: > > > On 31-08-2021 12:01, Aki Tuomi wrote: > > > >> On 31/08/2021 10:56 Felix Zielcke wrote: > >> > >> > >> Am Dienstag, dem 31.08.2021 um 10:33 +0300 schrieb Aki Tuom

Re: Duplicate plugins - FTS Xapian

2021-08-31 Thread Aki Tuomi
> On 31/08/2021 10:56 Felix Zielcke wrote: > > > Am Dienstag, dem 31.08.2021 um 10:33 +0300 schrieb Aki Tuomi: > > > > > On 31/08/2021 00:11 Joan Moreau wrote: > > > > > > > > > Hi > > > There seems to be 2 plugins doin

Re: Dovecot Director: Preferred backend server

2021-08-31 Thread Aki Tuomi
osts - queued for 30 > secs (Ring synced for 385 secs, hash=1561836376) > > Do see what I’m missing out here? > Using dovecot 2.2.36 (1f10bfa63) on both the directror and IMAP backend. > > thanks, > Steven > > -- > https://steven.varco.ch/ > > > Am 30.08.2021 um 19

Re: Duplicate plugins - FTS Xapian

2021-08-31 Thread Aki Tuomi
> On 31/08/2021 00:11 Joan Moreau wrote: > > > Hi > There seems to be 2 plugins doing the same thins > - https://github.com/slusarz/dovecot-fts-flatcurve/ > - https://github.com/grosjo/fts-xapian/ (mine) > Both are in the doc of dovecot > https://doc.dovecot.org/configuration_manual/fts/ >

Re: Dovecot Director: Preferred backend server

2021-08-30 Thread Aki Tuomi
> On 30/08/2021 19:09 Steven Varco wrote: > > > Hi All > > I have a dovecot cluster with directror and two IMAP Servers behind. > > Since they are in geographical different locations I would like to have users > to go to a specific IMAP backend server (if both are up) and only switch to

Re: lmtp panic with 2.3.16 (runnung ubuntu) and larger mails

2021-08-29 Thread Aki Tuomi
> On 29/08/2021 18:27 Friedhelm Buescher wrote: > > > Hi, > > when sending larger Mails (> 1MB, for example a jpg attachment), the > lmtp crashes: > > Could you please send gdb bt full? Obtain core, see https://www.dovecot.org/bugreport-mail for information on how you might get that.

Re: indexer crash

2021-08-29 Thread Aki Tuomi
> On 29/08/2021 00:42 Onno Molenkamp wrote: > > > Hi, > > Because I was getting segfaults in libc in calloc calls by the indexer > process of Dovecot 2.3.16, I ran indexer with valgrind to look for > possible memory corruption. It did indeed find that indexer was > accessing memory that

Re: [OT] Re: What kind of search response time are you setting with solr full text search?

2021-08-26 Thread Aki Tuomi
> On 25/08/2021 23:05 Steve Dondley wrote: > > > > The search time was no better with it on than off. > > > > So I'm thinking I got something misconfigured somewhere. It seems IMAP > > may not be using solr to fetch results. But this would be odd since I > > definitely do see a big

Re: Creating/Learning about services

2021-08-25 Thread Aki Tuomi
> On 25/08/2021 20:41 Aki Tuomi wrote: > > > > On 25/08/2021 20:22 Dan Conway wrote: > > > > > > Hello, > > > > I'm currently researching how services work within Dovecot and what > > scope these services are capable of. For example,

Re: Creating/Learning about services

2021-08-25 Thread Aki Tuomi
> On 25/08/2021 20:22 Dan Conway wrote: > > > Hello, > > I'm currently researching how services work within Dovecot and what > scope these services are capable of. For example, I created a service as > such: > > service myservice { >   executable = /home/me/executable >   type 

Re: AW: Problem with copy e-mails via doveadm

2021-08-20 Thread Aki Tuomi
db_uid, 1 > AS userdb_gid, '/vmail/%Ld/%Ln' AS userdb_home FROM users WHERE email = '%Lu' > AND active = '1' > > Isn't my described attempt on backend of dest_user_shard2 exactly what you > described as possible next try? If not what has to be changed? > > Christian > >

Re: AW: Problem with copy e-mails via doveadm

2021-08-20 Thread Aki Tuomi
is` from userdb lookup easier. Aki > On 20/08/2021 13:09 Aki Tuomi wrote: > > > Try targeting your director instead. > > Aki > > > On 20/08/2021 12:45 Christian Küppers wrote: > > > > > > Okay, i need some further help.  > > > >

Re: AW: Problem with copy e-mails via doveadm

2021-08-20 Thread Aki Tuomi
r_shard2): Debug: > imapc(:143): Disconnected > Aug 20 08:56:11 doveadm(dest_user_shard2): Debug: > imapc(:143): Disconnected > Aug 20 08:56:11 doveadm(2446702): Debug: auth-master: conn > unix:/var/run/dovecot/auth-userdb (pid=2630417,uid=0): Disconnected: > Connection closed (

Re: AW: Problem with copy e-mails via doveadm

2021-08-20 Thread Aki Tuomi
; message says 192.168.0.21 which is backend for "dest_user_shard2". > > > > - Ursprüngliche Nachricht - > Von: Aki Tuomi aki.tu...@open-xchange.com > Gesendet: Freitag, 20. August 2021 08:39:41 > An: c.kuepp...@onoffice.de, dovecot@dovecot.org > Betre

Re: AW: Problem with copy e-mails via doveadm

2021-08-20 Thread Aki Tuomi
Aug 17 10:22:05 doveadm(dest_user_shard2): Debug: auth-master: passdb lookup(dest_user_shard2): Finished passdb lookup (user=dest_user_shard2 proxy=y director_tag=shard2 proxy_refresh=450 host=192.168.0.21) Aug 17 10:22:05 doveadm(dest_user_shard2): Error: remote(192.168.0.21:24245): Mailbox

Re: dovecot 3.16 replicator Problem?

2021-08-19 Thread Aki Tuomi
> On 18/08/2021 14:46 Günther J. Niederwimmer wrote: > > > Hello list, > I have a problem with the replicator (config) I mean it doesn't work anymore > since version 3.16? > > How can you turn up the log level with this tool? I think the full sync is > still possible to some extent. I

Re: Odd config problem in Debian Bullseye / dovecot 2.3.13

2021-08-19 Thread Aki Tuomi
> On 19/08/2021 18:22 Perry E. Metzger wrote: > > > On 8/18/21 12:31, Aki Tuomi wrote: > > > > Hi! > > > > this is a known issue, you can workaround it > > Any ideas when it will be fixed? > > Perry It's fixed in master and will be part of next release. Aki

Re: Odd config problem in Debian Bullseye / dovecot 2.3.13

2021-08-18 Thread Aki Tuomi
> On 18/08/2021 19:21 Perry E. Metzger wrote: > > > Hi all! > > For a long time, I've been running this out of cron as user "perry": > > /usr/bin/doveadm expunge -u perry mailbox SPAM not seen before 7d > > After upgrading to 2.3.13 as a result of a debian upgrade, this broke. I > now am

Re: Snarf plugin retirement

2021-08-18 Thread Aki Tuomi
> On 17/08/2021 16:14 Brent Busby wrote: > > > I wondered if it's possible to get the Snarf plugin back, if not in the > official Dovecot distribution, then at least to somehow build the plugin > source on a modern release...because: > > Though the documented purpose for Snarf was to ease

Re: Help to setup a Unix socket based authentication server for dovecot in Python

2021-08-15 Thread Aki Tuomi
> On 13/08/2021 15:12 Sherin A wrote: > > > Hi, > I am building a custom server platform in which dovecot is used for imap/pop > . But the default authentication mechanism is not suitable for me becuase > each domain will have different system users and different location for mail >

Re: Preventing clients from trying to create folders under inbox

2021-08-13 Thread Aki Tuomi
> On 13/08/2021 19:09 Bryan K. Walton wrote: > > > Our Dovecot installation is configured as such: > > mail_location = > mbox:/var/vmail/%u:DIRNAME=.mboxdata:INBOX=/var/vmail/%u/INBOX:INDEX=/var/vmail/indexes/%u > > This allows us to continue using mbox formatted files, storing those >

Re: Undefined symbols (macOS Big Sur Intel) during compiling, update

2021-08-13 Thread Aki Tuomi
It seems to use -L/Library/MWSrvrSrvcs/openssl/lib, does this contain some broken libssl? Aki > On 13/08/2021 19:00 Beosdoc wrote: > > > If I remove the rpath from the makefile in the lib-ssl-iostream directory it > will compile. This shouldn’t cause it not to compile. There are several

Re: BUG REPORT: MAIL-CRYPT plugin: doveadm mailbox cryptokey -O option

2021-08-12 Thread Aki Tuomi
And now it's fixed. See https://github.com/dovecot/core/commit/13830767a0e3bf29ad421ed656a89345346d6c8d Aki > On 09/08/2021 07:53 Aki Tuomi wrote: > > > Yes, it's a bug. It's being tracked by us. > > Aki > > > On 28/07/2021 07:56 ean365 wrote: > > >

Re: JWT local validation

2021-08-11 Thread Aki Tuomi
e reinventing the wheel since I > have no other mechanism to prevent outage in case of > planned/unplanned/emergency signing key change... > > > Thanks! > Tomas > > On Mon, Jun 28, 2021 at 08:43:09AM +0300, Aki Tuomi wrote: > > > > > On 24/06/2021 09:19 Tomas H

Re: Test for implicit keep within a sieve script

2021-08-10 Thread Aki Tuomi
> On 10/08/2021 23:32 Eric Durand wrote: > > > Hi folks, > > Is there a good way to test for an implicit keep in a sieve script ? At the > end of my sieve script, if a message still has an implicit keep, it will end > up in my inbox, and I would like to push a notification. Right now I am

Re: Pigeonhole Sieve Config Warning

2021-08-09 Thread Aki Tuomi
> On 09/08/2021 16:57 dove...@ptld.com wrote: > > > > On 08-09-2021 12:55 am, Aki Tuomi wrote: > > > >> In the sieve plugin settings i have > >>plugin { > >> ... > >> sieve_user_email = %u > >>} > >&

Re: Pigeonhole Sieve Config Warning

2021-08-08 Thread Aki Tuomi
> On 29/07/2021 22:39 dove...@ptld.com wrote: > > > In the sieve plugin settings i have >plugin { > ... > sieve_user_email = %u >} > > Variables pages says >%u = full username (e.g. user@domain) > > This config seems to work in practice, the email is from: the users >

Re: BUG REPORT: MAIL-CRYPT plugin: doveadm mailbox cryptokey -O option

2021-08-08 Thread Aki Tuomi
Yes, it's a bug. It's being tracked by us. Aki > On 28/07/2021 07:56 ean365 wrote: > > > Hi, Aki: > Just resending below bug report. I notice that it has not been fixed, yet. > Am I correct that this is a bug, albeit a small one? > Best Regards, > Eric > >

Re: dsync and sieve script

2021-08-08 Thread Aki Tuomi
> On 29/07/2021 17:09 Andrea Gabellini > wrote: > > > Hello, > > I'm testing the migration from and old dovecot server 2.2.24 to a new > one with 2.3.15 using this command: > > doveadm -c /etc/dovecot/dovecot-migration.conf -o mail_fsync=never > backup -x "shared" -x "shared/*" -x

Re: doveadm Mail storage autodetection failed

2021-08-08 Thread Aki Tuomi
> On 02/08/2021 11:54 Joseph D Wagner wrote: > > > I have a mixture of virtual mailboxes and local mailbox. I got this: > > # doveadm quota get -A > doveadm(nobody): Error: Namespace '': Mail storage autodetection failed with > home=/ You can use

Re: Problem migrating POP accounts into dovecot

2021-08-08 Thread Aki Tuomi
> On 04/08/2021 16:15 Jesús Ángel del Pozo Domínguez > wrote: > > > Hello, > > I am trying to migrate mailboxes from an old pop/imap server to a new one > using Dovecot 2.3.15. The old server uses tpop3d and courier as POP and IMAP > servers, respectively. > > Whereas I can migrate IMAP

Re: Block insecure connections

2021-08-08 Thread Aki Tuomi
> On 04/08/2021 16:51 Andrea Gabellini > wrote: > > > Hello, > > from the proxy I can do the forward: > > passdb { >   driver = static >   args = proxy=y nopassword=y starttls=yes forward_test=%{secured} > } > > On the backend, activating debugging: > > dovecot: auth: Debug: client

Re: Dovecot GSSAPI Authentication problem

2021-08-06 Thread Aki Tuomi
> On 04/08/2021 19:47 Lucas Castro wrote: > > > Hello, > I'm getting problem to setup dovecot imap/pop service authentication > through Kerberos. > > Already read https://wiki.dovecot.org/Authentication/Kerberos. > > My guess is kerberos is working but something goes wrong after. > Hi!

Re: [Dovecot-news] v2.3.16 released

2021-08-06 Thread Aki Tuomi
> On 06/08/2021 15:43 Joan Moreau wrote: > > > Thank you Timo > However, this leads to > kernel: imap[228122]: segfault at 50 ip 7f7015ee332b sp 7fffa7178740 > error 4 in lib20_fts_plugin.so[7f7015ee1000+11000] > Returning to 2.3.15 resolves the problem > > > Can you provide `gdb

Re: Timo - is the v2.3.15 GCC limitation really necessarily or it's just a bug?

2021-08-01 Thread Aki Tuomi
> On 01/08/2021 23:44 Michael Orlitzky wrote: > > > On Sun, 2021-08-01 at 21:53 +0300, Mart Pirita wrote: > > > > As Docvecot does not support INC_PATH= and ignores --includedir= option, > > You can try CPPFLAGS="-I" in the future. I don't know how a > normal person would ever figure it

RE: SQL Backend for IMAP METADATA Dictionary

2021-08-01 Thread Aki Tuomi
pattern = $key > table = attr_shared > fields { > attr_name = $key > } > value_field = attr_value >} > >However, postgres logs showed it didn't even try to hit the database. > >Joseph D. Wagner > >-Original Message- >From: dovecot On Behalf

Re: SQL Backend for IMAP METADATA Dictionary

2021-07-31 Thread Aki Tuomi
On 31 July 2021 9.12.53 UTC, Joseph D Wagner wrote: >I've seen documentation on using a SQL backend for quota dictionary and >passdb dictionary. However, I can't find any examples of a SQL >backend for IMAP METADATA / mail_attributes_dict. > >Is this combination possible? If so, is there an

Re: BDAT to DATA translation on submission service when checkpassword is involved

2021-07-22 Thread Aki Tuomi
> On 23/07/2021 01:22 Dan Conway wrote: > > > Hello, > > I'm having issues with Dovecot translating "BDAT" commands (CHUNKING) > into "DATA" commands when the backend does not support it in the > submission service. I use "checkpassword" to authenticate users and > judging by older

Re: Traffic accounting

2021-07-20 Thread Aki Tuomi
On July 20, 2021 5:29:31 PM UTC, Benny Pedersen wrote: >On 2021-07-20 08:16, Aki Tuomi wrote: > >> With 2.3.12+ you can use >> >> metric imapc_traffic { >> filter=event=imap_command_finished >> fields=bytes_in bytes_out >> group_by=user >

Re: Traffic accounting

2021-07-20 Thread Aki Tuomi
> On 20/07/2021 09:03 Adi Pircalabu wrote: > > > On 20-07-2021 8:13, Jesús Ángel del Pozo Domínguez wrote: > > Hello, > > > > Could you please tell me whether is it possible to do traffic > > accounting > > using Dovecot 2.3.4? > > > > What I'd like to do is to collect network traffic

Re: folders and subfolders

2021-07-16 Thread Aki Tuomi
> On 16/07/2021 11:41 Stephane Magnier wrote: > > > Hi, > Still looking for the way to create folders and sub folders.. > Today, I am using "mbox", which apparently doesn't work for this ? correct ? mbox has very limited support for folders. > So, I would probably need to use maildir.. (

Re: dovecot-lmtp crashing when setting lmtp_proxy=yes

2021-07-16 Thread Aki Tuomi
> On 15/07/2021 18:37 Camilo Sperberg wrote: > > > Hi all: > > We are currently in the process of setting up dovecot proxy so that we can > deploy multiple machines in order to keep growing. > > We are trying now to create an entry point, and from there send the traffic > to either the

Re: AW: TLS Security

2021-07-15 Thread Aki Tuomi
https://testssl.sh/ Aki > On 15/07/2021 16:51 Stefan Schumacher wrote: > > > Hi Aki, > > > Where do I get testssh.sl? If the script is of your design could you mail it > to me? > > > Yours > Stefan > > -- > Von: Ak

Re: Sv: 2FA/MFA with IMAP & postfix/submission

2021-07-14 Thread Aki Tuomi
Unfortunately the best way to do multifactor authentication today is to use OAUTH2, which isn't currently supported for own installations. Or you can use client certs. If you want to use some kind of MFA with tokens, you end up having to feed your token all the time. So the best option, for

Re: TLS Security

2021-07-14 Thread Aki Tuomi
> On 14/07/2021 17:55 Stefan Schumacher wrote: > > > Hi, > > > I wish to build a new secure email server. It seems I am on the right way – > at least I get no more error messages for Postfix – but Dovecot is still > making trouble. > > > I am using Dovecot 1:2.3.4.1-5+deb10u6 and I am

Re: Doveadm encrypt/decrypt files manually with per-user folder keys

2021-07-14 Thread Aki Tuomi
pt_private_password="${pass}" > mailbox cryptokey export -u user test > > sudo -u vmail doveadm -o plugin/mail_crypt_private_password="${pass}" > mailbox cryptokey export -u user -U > > > > I've tried with > > On 7/12/21 1:25 AM, Aki Tuomi wrote: > &

Re: getting rid of the passwd file unknown user messages

2021-07-12 Thread Aki Tuomi
On July 12, 2021 2:41:54 PM UTC, Marc wrote: >I have configured a userdb file, so I can test with some accounts and >override settings. But it is a bit annoying getting unkown user >messages for the majority of accounts not in this userdb. Is there a >way to skip this reporting? > >dovecot:

Re: getting rid of the passwd file unknown user messages

2021-07-12 Thread Aki Tuomi
Same setting works for userdb as well. Aki On July 12, 2021 6:36:36 PM UTC, Marc wrote: >I saw that the userdb section also has this option, you meant that? Or >specifically the passdb? Because that has my pam stuff. > > > > >Sent: Monday, 12 July 2021

Re: [ENHANCEMENT] Doveadm HTTP API and the mail-crypt plugin

2021-07-12 Thread Aki Tuomi
> On 29/06/2021 22:58 Kevin N. wrote: > > > Hello everybody, > > I was wondering, are there any plans for the near future to include the > mail-crypt plugin related functions, like changing the user key > password, into the doveadm http api? > > It would probably be possible to implement

Re: Doveadm encrypt/decrypt files manually with per-user folder keys

2021-07-12 Thread Aki Tuomi
Try sudo -u vmail doveadm -o plugin/mail_crypt_private_password="${pass}" mailbox cryptokey export -u user '*' (note the '*') Aki > -- > Ben Burk > BURK.TECH System Administrator

Re: doveadm altmove -r still broken in 2.3.15

2021-07-12 Thread Aki Tuomi
> On 03/07/2021 13:32 María Arrea wrote: > > > "doveadm altmove -r" is not moving anything from alternate to default storage > > > Somebody in the mailing list said that reverting this commit fixed doveadm > altmove -r behaviour: > > > > >

Re: Re: lost mailbox

2021-07-05 Thread Aki Tuomi
> On 05/07/2021 08:43 Stephane Magnier wrote: > > > Hi , > Thanks Erwan, > > Yes I did it.. what worries me is, that that instruction lsub "" * seems not > to work.. I mean I am not allowed to see it > > b lsub "" * > b NO [NOPERM] No permission to read subscriptions (0.001 + 0.000 secs).

Re: Bug: empty prefix value in userdb lookup defaults to "yes"?

2021-07-02 Thread Aki Tuomi
> On 02/07/2021 12:03 Dan Malm wrote: > > > On 2021-07-02 10:56, Aki Tuomi wrote: > > > >> On 02/07/2021 11:48 Dan Malm wrote: > >> > >> > >> Hi, > >> > >> I'm trying to migrate some users into our system from anothe

Re: Bug: empty prefix value in userdb lookup defaults to "yes"?

2021-07-02 Thread Aki Tuomi
> On 02/07/2021 11:48 Dan Malm wrote: > > > Hi, > > I'm trying to migrate some users into our system from another one that > also run dovecot but with different prefix and separator settings than > we do. > > I've setup userdb to return these values for a test user to match the > other

Re: SSHA512 Salting in SQL Query

2021-07-02 Thread Aki Tuomi
Hi! doveadm pw -s SSHA512 -p test {SSHA512}qj7ldjy3W5EKw4KskVK254ZPqfzoQNgbUDqA2L2ScjhQ8UDFuEpo3RvdG0zc9hgq6kFT7XcfYjHjOfSfE7Bqb82g36A= so no need to double-base64 encode it, in the first place. >>> d = hashlib.sha256(b"testsalt").digest() >>> d = d + b'salt' >>> base64.b64encode(d)

Re: dsync replication fails with No space left on device / Out of memory

2021-07-02 Thread Aki Tuomi
Hi! The disk issue is likely that disk space on mail_temp_dir runs out, which is usually /tmp. Aki > On 02/07/2021 08:43 Jörg Faudin Schulz wrote: > > > Hi, > > the memory issue has already been reported, not resolved yet: > >

Re: Feature/patch request

2021-06-29 Thread Aki Tuomi
Hi! This is on our backlog already as DOP-2294, lets see if we get it forward at some point. Aki > On 29/06/2021 12:48 Bucher, Dr. Damian wrote: > > > Hi, > > we ran into a problem, while using filesystem snapshots on a GPFS-filesystem. > With this we want to give the users the

Re: SSL23_GET_CLIENT_HELLO:unknown protocol

2021-06-29 Thread Aki Tuomi
> On 29/06/2021 07:50 Voytek Eymont wrote: > > > I have a user failing to get mail , using TBird client > > is this due to his TBird email client backlevel TLS support ? > > I'm trying to find out his TBird version, might be an older TBird > > # dovecot --version > 2.3.15 (0503334ab1) >

Re: Doveadm encrypt/decrypt files manually with per-user folder keys

2021-06-29 Thread Aki Tuomi
> On 29/06/2021 06:05 Ben Burk wrote: > > > There is an example of manually encrypting/decrypting mail processed by the > mail_crypt plugin here: > https://doc.dovecot.org/configuration_manual/mail_crypt_plugin/ > > > It outlines how one would manually encrypt/decrypt messages using global

Re: Problem with Lua notification script since 2.3.15 update

2021-06-28 Thread Aki Tuomi
As workaround, you could try dropping script_init function. It might still require downgrading to 2.3.14 to avoid other similar asserts. script_init & script_deinit functions are not mandatory. Aki > On 28/06/2021 13:07 Aki Tuomi wrote: > > > Hi! > > This ha

Re: Problem with Lua notification script since 2.3.15 update

2021-06-28 Thread Aki Tuomi
Hi! This has been fixed in master with https://github.com/dovecot/core/commit/2b508d396cb1442f4da715b762ca544639bde456.patch We'll see what to do about 2.3.15. Aki > On 28/06/2021 12:47 Vytenis Adm wrote: > > > Not a solution, but I'd like to second this issue. > > We have a Lua push

Re: [BUG] doveadm / mail-crypt: Error when setting new password for a user key

2021-06-28 Thread Aki Tuomi
> > Kevin > > > On 28/06/2021 09:15, Aki Tuomi wrote: > > Oh duh. Yeah. It's a bug. It's a known bug, DOP-2233. Lets see if we could > > get this fixed finally. > > > > Aki > > > >> On 28/06/2021 09:12 Kevin N. wrote: > >> >

Re: [BUG] doveadm / mail-crypt: Error when setting new password for a user key

2021-06-28 Thread Aki Tuomi
missing > > Which makes sense since you need the old password for setting a new > password for the user key. > > BTW: the behavior is the same on 2.3.15 too. > > Cheers, > > Kevin > > > On 28/06/2021 08:46, Aki Tuomi wrote: > > > >> On

Re: Support client_id variable expansion

2021-06-27 Thread Aki Tuomi
> On 02/06/2021 17:45 Eirik Rye wrote: > > > Hello, > > We are using imap_id_log='*' (and imap_id_retain=yes) to log user client > information to the dovecot logs, and this information is aggregated to give > us extra debugging information for customer support. > > However, as some

Re: Increase FTS timeouts for slow(er) machines

2021-06-27 Thread Aki Tuomi
> On 26/06/2021 08:49 Bojan Čekrlić wrote: > > > Hello list, > > I have a question which doesn’t seem to be answered by the documentation. I’m > running Dovecot on a Raspberry PI-like computer. I’ve enabled full-text > search (FTS) and installed Solr and Tika. > > Now, Dovecot will

Re: [BUG] doveadm / mail-crypt: Error when setting new password for a user key

2021-06-27 Thread Aki Tuomi
> On 20/06/2021 01:22 Kevin N. wrote: > > > Dovecot version: 2.3.14 > > When setting a new password for a user key you have the option to prompt > the user for the old and the new password, instead of providing them as > parameters (using -N and -O instead of -n and -o). > > However,

Re: JWT local validation

2021-06-27 Thread Aki Tuomi
> On 24/06/2021 09:19 Tomas Habarta wrote: > > > Hello, > > I have a working setup with Roundcube using OAuth2 -- introspection works > without any problem, unfortunately local validation does not as tokens are > missing "typ" header (seems that one is indeed optional per RFC7519 and >

Re: 2.3.15 Dockerfile

2021-06-27 Thread Aki Tuomi
> On 22/06/2021 19:24 Jörg Faudin Schulz wrote: > > > I'm having hard-to-debug issues compiling 2.3.15 using Alpine; for some > reasons I'd like to repeat that using buster. Where did you publish the > Dockerfile for the 'official' repository? Hi! We have not gotten round to publish the

Re: Dovecot mailing list and DKIM

2021-06-27 Thread Aki Tuomi
> On 20/06/2021 00:58 A. Schulze wrote: > > > Am 19.06.21 um 16:21 schrieb Kevin N.: > > Going through my mail logs I noticed that a couple of messages from the > > Dovecot mailing list failed DKIM validation. > > > > For example, this one has failed: > >

Re: Backing up per user keys for mailcrypt

2021-06-27 Thread Aki Tuomi
> On 17/06/2021 19:59 Ben Burk wrote: > > > I am wondering how I can back up keys for mail users in their > password-protected form, without exporting them from `doveadm mailbox > cryptokey export`, which requires a password. The goal here is to > perform routine backups to keep keys

<    3   4   5   6   7   8   9   10   11   12   >