Re: debugging TLS with wireshark and a custom application ?

2020-09-30 Thread Joseph Tam
On Wed, 30 Sep 2020, Kurt Jaeger wrote: My question is: can dovecot be used to debug/decrypt TLS sessions ? The reason I'm asking: A custom application wants to speak IMAP with TLS with a dovecot instance. If it's happening during the handshake (i.e. IMAP/POP hasn't even started) you can try

Re: auth_username_format effective only within passdb/userdb

2020-09-30 Thread Bob
Sami Ketola writes: >> On 30. Sep 2020, at 17.08, Bob wrote: >> >> Hello dovecot list. >> >> I have multiple passdb/userdb, some use %Ln some use %Lu. >> How to make auth_username_format effective only within passdb/userdb? > > > passdb { > driver = passwd-file > args = username_format=%Ln

auth_username_format effective only within passdb/userdb

2020-09-30 Thread Bob
Hello dovecot list. I have multiple passdb/userdb, some use %Ln some use %Lu. How to make auth_username_format effective only within passdb/userdb?

Re: debugging TLS with wireshark and a custom application ?

2020-09-30 Thread Aki Tuomi
> On 30/09/2020 18:06 Kurt Jaeger wrote: > > > Hi! > > My question is: can dovecot be used to debug/decrypt TLS sessions ? > > The reason I'm asking: > > A custom application wants to speak IMAP with TLS with a dovecot > instance. > > It fails, and the error message is, unfortunatly, not

debugging TLS with wireshark and a custom application ?

2020-09-30 Thread Kurt Jaeger
Hi! My question is: can dovecot be used to debug/decrypt TLS sessions ? The reason I'm asking: A custom application wants to speak IMAP with TLS with a dovecot instance. It fails, and the error message is, unfortunatly, not very helpful. tcpdump shows that the session is established, but fails.

Re: auth_username_format effective only within passdb/userdb

2020-09-30 Thread Sami Ketola
> On 30. Sep 2020, at 17.08, Bob wrote: > > Hello dovecot list. > > I have multiple passdb/userdb, some use %Ln some use %Lu. > How to make auth_username_format effective only within passdb/userdb? passdb { driver = passwd-file args = username_format=%Ln /etc/dovecot/dovecot-passwd } S

Re: Leaked files in maildir "tmp" after vsz_limit crashes

2020-09-30 Thread Aki Tuomi
> On 30/09/2020 13:43 Peter Mogensen wrote: > > > Hi, > > Lately I've seen a few examples of users hitting the vsz_limit (usually > trying to "delete" mails i Spam/Junk by moving them to Trash with a > large dovecot.index.cache - which resulted in mails left/leaked in the > tmp directory of

Leaked files in maildir "tmp" after vsz_limit crashes

2020-09-30 Thread Peter Mogensen
Hi, Lately I've seen a few examples of users hitting the vsz_limit (usually trying to "delete" mails i Spam/Junk by moving them to Trash with a large dovecot.index.cache - which resulted in mails left/leaked in the tmp directory of Trash. Sometimes it seems the client gets into a state were it r