Re: How to use virtual "All" and "Flagged" mailbox?

2022-01-31 Thread Aki Tuomi
Why did you leave the prefix uncommented? Also you already have maildir++ folders virtual.all and virtual.flagged, they are not related to this, and you should remove them. uncomment the prefix, and you'll see virtual.All and virtual.Flagged folders. Aki > On 31/01/2022 23:04 A B wrote: > >

Re: How to use virtual "All" and "Flagged" mailbox?

2022-01-31 Thread A B
Thank you Aki. I have updated as you suggested: 10-mail.conf namespace virtual { location = virtual:/etc/dovecot/virtual:INDEX=~/.virtual:CONTROL=~/.virtual:VOLATILEDIR=~/.virtual/ type = private #prefix = virtual. separator = . } I manually added the directory structure and files: [dove

Re: Set mail crypt private password with OAUTH?

2022-01-31 Thread John Stoffel
> "Aki" == Aki Tuomi writes: Max, It would be awesome if you could post a summary of what your setup is, what you were trying to accomplish, and the configuration you came up with after all this work with Aki and the rest of the team. Digging through the entire chain would be a chore and whi

Re: PLAIN password scheme issue with {}

2022-01-31 Thread Aki Tuomi
> On 31/01/2022 19:34 Kris von Mach wrote: > > > Hello, > > Using PLAIN password scheme and a user having a password with {} for > example {RnDR8DaD} causes the authentication to fail: > > auth-worker(85632): Error: conn unix:auth-worker (uid=143): > auth-worker<>: sql(u...@domain.com

PLAIN password scheme issue with {}

2022-01-31 Thread Kris von Mach
Hello, Using PLAIN password scheme and a user having a password with {} for example {RnDR8DaD} causes the authentication to fail: auth-worker(85632): Error: conn unix:auth-worker (uid=143): auth-worker<>: sql(u...@domain.com,123.45.68.78,): Unknown scheme RnDR8DaD Is there some sort of

Re: silly quesiton [ot]

2022-01-31 Thread Sam Kuper
On Mon, Jan 31, 2022 at 12:04:57PM +0100, Wojciech Puchar wrote: >>> mbox is multiple emails in single file, maildir is single email in >>> single file >> >> Exactly my point! > > which is good (mbox) in mail archiving. And not much else. Exactly. -- A: When it messes up the order in which peopl

Re: Set mail crypt private password with OAUTH?

2022-01-31 Thread Aki Tuomi
Ah. This is because you have a mistake in your userdb query: SHA2(CONCAT(username, random_key), 256) AS userdb_mail_crypt_private_password \ should be SHA2(CONCAT(username, random_key), 256) AS mail_crypt_private_password \ userdb_ prefix should only be used in passdb **or** passwd-file

Re: silly quesiton [ot]

2022-01-31 Thread Wojciech Puchar
files". mbox is multiple emails in single file, maildir is single email in single file Exactly my point! which is good (mbox) in mail archiving. And not much else.

Re: silly quesiton [ot]

2022-01-31 Thread Sam Kuper
On Mon, Jan 31, 2022 at 11:26:26AM +0100, Benny Pedersen wrote: > On 2022-01-31 07:23, Sam Kuper wrote: >>DJB developed Maildir to gain performance and reliability improvements >>over mbox files. Unlike Maildirs, mbox files *are* "large flat >>files". > > mbox is multiple emails in single file, m

Re: Set mail crypt private password with OAUTH?

2022-01-31 Thread Aki Tuomi
Using oauth2 or not should make no difference if the key is loaded in userdb. Can you check with mail_debug=yes to see that it gets loaded even if you remove it from passdb sql? Aki > On 31/01/2022 12:41 Max Kostikov wrote: > > > Correction. Mail crypt works fine when I'm logged with the re

RE: silly quesiton [ot]

2022-01-31 Thread Marc
> > Commercial Dovecot has had the ability to store mails & indexes in > > Object Storage for years now, we are not "working on it" anymore. > > so no one is using dovecot-pro ? (dead sources) :D

Re: silly quesiton [ot]

2022-01-31 Thread Benny Pedersen
On 2022-01-31 11:29, Marc wrote: This 'performance statement' is not even correct under some conditions. I have tested mbox against mdbox, and mbox performed better in those tests. so you are now ready to make a postfix patch ? its called progress on make ...

Re: dovecot Digest, Vol 225, Issue 73

2022-01-31 Thread Christian Mack
Hello > auth-worker: Error: fatal error: failed to reserve page summary memory You have an memory allocation problem. The only thing I can see on dovecots side is increasing vsz_limit for auth service. If that doesn't solve your Problem, please ask on a devuan site. Kind regards, Christian Mack

Re: silly quesiton [ot]

2022-01-31 Thread Aki Tuomi
> On 31/01/2022 12:29 Benny Pedersen wrote: > > > On 2022-01-31 10:45, Aki Tuomi wrote: > > > Commercial Dovecot has had the ability to store mails & indexes in > > Object Storage for years now, we are not "working on it" anymore. > > so no one is using dovecot-pro ? (dead sources) Ha ha.

Re: silly quesiton [ot]

2022-01-31 Thread Benny Pedersen
On 2022-01-31 10:45, Aki Tuomi wrote: Commercial Dovecot has had the ability to store mails & indexes in Object Storage for years now, we are not "working on it" anymore. so no one is using dovecot-pro ? (dead sources)

RE: silly quesiton [ot]

2022-01-31 Thread Marc
> > Removing or deleting a single message from near the beginning of a > > large flat file takes an inordinate amount of time because the > > remainder of the flat file has to be rewritten all the way from the > > point of the deleted message to the end of the file and then > > truncated. > > mayb

Re: silly quesiton [ot]

2022-01-31 Thread Benny Pedersen
On 2022-01-31 07:23, Sam Kuper wrote: DJB developed Maildir to gain performance and reliability improvements over mbox files. Unlike Maildirs, mbox files *are* "large flat files". mbox is multiple emails in single file, maildir is single email in single file

Re: silly quesiton [ot]

2022-01-31 Thread Benny Pedersen
On 2022-01-31 05:49, justina colmena ~biz wrote: Just ideas. Removing or deleting a single message from near the beginning of a large flat file takes an inordinate amount of time because the remainder of the flat file has to be rewritten all the way from the point of the deleted message to the e

RE: silly quesiton [ot]

2022-01-31 Thread Marc
> > I see. People make money outsourcing, consulting, and hooking up companies > with the best solutions for email, office collaboration, CRM, etc., etc., > which is great, but I didn't quite realize that look like a paid offering > on the table and this isn't the right list to discuss potential f

Re: Set mail crypt private password with OAUTH?

2022-01-31 Thread Aki Tuomi
In fact now that I looked through your configs one more, this is already what you are doing, except you are exporting the private key password in three different places. So basically, if you do `doveadm user foobar` it should already give you a correct key. You can see if the key is correct wi

Re: Set mail crypt private password with OAUTH?

2022-01-31 Thread Aki Tuomi
Hgm. You have userdb lookups enabled, why not just move the entire mail_crypt_private_password handling there instead of passdb? This way it'll work with LMTP/LDA as well. So move all user related fields to the userdb lookup, and keep only the authentication handling in passdb. In your configu

RE: silly quesiton [ot]

2022-01-31 Thread justina colmena ~biz
I see. People make money outsourcing, consulting, and hooking up companies with the best solutions for email, office collaboration, CRM, etc., etc., which is great, but I didn't quite realize that look like a paid offering on the table and this isn't the right list to discuss potential free mark

Re: Set mail crypt private password with OAUTH?

2022-01-31 Thread Aki Tuomi
Was the field present in auth debug logs, it should be shown in the "master out" log line and also it should be visible on mail_debug=yes logs as `plugin/mail_crypt_private_key_password`. Aki > On 31/01/2022 11:40 Max Kostikov wrote: > > > Unfortunatelly I still get decryption error with "P

RE: silly quesiton [ot]

2022-01-31 Thread Aki Tuomi
> On 31/01/2022 10:36 Marc wrote: > > > > > > Just ideas. > > Maybe an idea to participate on a Microsoft forum? They like to use db's for > email, and they are removing everything what is nice in order to push people > into their cloud. So lots to change for the better there. > > It's

Re: Set mail crypt private password with OAUTH?

2022-01-31 Thread Aki Tuomi
try adding result_success = continue-ok to the oauth2 database. Aki > On 31/01/2022 11:27 Max Kostikov wrote: > > > Aki, thanks for your hint. > Unfortunatelly I can't get this work. > Here is my configuration. > > auth_mechanisms = $auth_mechanisms oauthbearer xoauth2 > passdb { >driv

RE: silly quesiton [ot]

2022-01-31 Thread Marc
> > Just ideas. Maybe an idea to participate on a Microsoft forum? They like to use db's for email, and they are removing everything what is nice in order to push people into their cloud. So lots to change for the better there. It's so crappy that I recently wrote Bill Gates that he should no

Re: silly quesiton [ot]

2022-01-31 Thread Chris Bennett
On Mon, Jan 31, 2022 at 06:23:28AM +, Sam Kuper wrote: > On Sun, Jan 30, 2022 at 07:49:56PM -0900, justina colmena ~biz wrote: > > On January 30, 2022 6:30:44 PM AKST, Sam Kuper wrote: > >> On Sun, Jan 30, 2022 at 06:17:49PM -0900, justina colmena ~biz wrote: > >>> On January 30, 2022 5:46:53 P