Re: [Dovecot] File descriptor leak in sieve-extprograms

2013-12-13 Thread Kirill A. Shutemov
Stephan Bosch wrote: > On 12/13/2013 2:07 AM, Kirill A. Shutemov wrote: > > I've tried to use sieve-filter for my inbox (~6000 messages). It failed > > after > > some work with this backtrace: > > > > sieve-filter(kas): Error: socketpair() failed: Too many open files > > sieve-filter(kas): Panic:

Re: [Dovecot] File descriptor leak in sieve-extprograms

2013-12-13 Thread Stephan Bosch
On 12/13/2013 2:07 AM, Kirill A. Shutemov wrote: > I've tried to use sieve-filter for my inbox (~6000 messages). It failed after > some work with this backtrace: > > sieve-filter(kas): Error: socketpair() failed: Too many open files > sieve-filter(kas): Panic: file script-client-local.c: line 155

Re: [Dovecot] v2.2.9 released / service(imap):child 6167 killed with signal 11

2013-12-13 Thread Marcin Mirosław
W dniu 2013-11-21 23:21, Marcin Mirosław pisze: > Another one coredump: >> # gdb -q /usr/libexec/dovecot/imap >> 'core-1385046907-8-11-!usr!libexec!dovecot!imap-22603' >> Reading symbols from /usr/libexec/dovecot/imap...Reading symbols from >> /usr/lib64/debug/usr/libexec/dovecot/imap.debug...don

Re: [Dovecot] Accessing plain text password from memory

2013-12-13 Thread Rick Romero
Quoting Stanislas SABATIER : 2013/12/13 Rick Romero ​(…) IMHO, your time is better spent creating a PGP plugin that uses public keys to encrypt the email contents. Rick ​That's exactly what I'm doing. Inbound mails are all encrypted with each client's public key. Then, clients can eit

Re: [Dovecot] Accessing plain text password from memory

2013-12-13 Thread Stanislas SABATIER
2013/12/13 Rick Romero > > ​(…) > > IMHO, your time is better spent creating a PGP plugin that uses public > keys to encrypt the email contents. > Rick > > > > ​That's exactly what I'm doing. Inbound mails are all encrypted with each client's public key. Then, clients can either decrypt mails on

Re: [Dovecot] Accessing plain text password from memory

2013-12-13 Thread Rick Romero
As long as you're not claiming that you can't access the data, then I won't get uppity :) Though I honestly don't see any advantage to the approach you're taking. It was useless for Lavabit, it's a poor method that's not going to fair any better under anyone else's watch. Why not just z

Re: [Dovecot] Accessing plain text password from memory

2013-12-13 Thread Stanislas SABATIER
Hi rick, I DO want to encrypt/decrypt mails on the fly without «lying » to my customers. It's better to have encrypted mail that are difficult to decrypt than plain text files within plain text folders. (Yes, it would be possible to get the user password on the fly, but my system is not design t

[Dovecot] Mailbox with .broken files

2013-12-13 Thread Michael Smith (DF)
We're using Dovecot 2.2.4 and mdbox storage with compression. I noticed yesterday that at least one of the accounts has unusual files in it's mail/storage directory. This account has approximately 17.5G of compressed mail, across about 750 storage files (m.###) using 8G of storage. Starting on

Re: [Dovecot] Accessing plain text password from memory

2013-12-13 Thread Rick Romero
Quoting Stanislas SABATIER : Is there a way to retrieve the client's password in plain text from memory ? I don't store the password in plain text in my postgreSQL but I need it when the client is connected to make crypto computation. Hi Stan, I hope you're not trying to copy Lavabit. Sayin

Re: [Dovecot] Accessing plain text password from memory

2013-12-13 Thread Timo Sirainen
On 13.12.2013, at 16.37, Stanislas SABATIER wrote: > Is there a way to retrieve the client's password in plain text from memory ? > > I don't store the password in plain text in my postgreSQL but I need it > when the client is connected to make crypto computation. > > If I write a plugin to do

Re: [Dovecot] Accessing plain text password from memory

2013-12-13 Thread Alan McGinlay - SICS
On 2013-12-13 15:37, Stanislas SABATIER wrote: Is there a way to retrieve the client's password in plain text from memory ? I don't store the password in plain text in my postgreSQL but I need it when the client is connected to make crypto computation. If I write a plugin to do the job, how

[Dovecot] Accessing plain text password from memory

2013-12-13 Thread Stanislas SABATIER
Is there a way to retrieve the client's password in plain text from memory ? I don't store the password in plain text in my postgreSQL but I need it when the client is connected to make crypto computation. If I write a plugin to do the job, how could I retrieve the plain text password from master

[Dovecot] File descriptor leak in sieve-extprograms

2013-12-13 Thread Kirill A . Shutemov
I've tried to use sieve-filter for my inbox (~6000 messages). It failed after some work with this backtrace: sieve-filter(kas): Error: socketpair() failed: Too many open files sieve-filter(kas): Panic: file script-client-local.c: line 155 (script_client_local_disconnect): assertion failed: (pid >

Re: [Dovecot] Dsync error: Couldn't drop privileges: getgrnam

2013-12-13 Thread Alan McGinlay - SICS
On 2013-12-13 01:10, Joseph Tam wrote: Alan McGinlay wrote: Can't believe I'm the only one with this error, googled it and there is nothing. Sorry to whine but I am getting desperate here! I googled "safe_mkstemp permission denied" and first hit is this thread dovecot.org/list/dove

Re: [Dovecot] userdb { prefetch } problem after upgrade (was Re: v2.2.9 released)

2013-12-13 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 12 Dec 2013, Timo Sirainen wrote: On 12.12.2013, at 16.25, Steffen Kaiser wrote: I have built v2.2.9 from hg source, make clean, make install; now it looks like that userdb prefetch won't work, but returns successful without any data all