Re: [Dovecot] SSL_PARAMETERS_PERM_PATH

2009-07-14 Thread Timo Sirainen
On Jul 14, 2009, at 2:51 AM, Leo Baltus wrote: Maybe if more people keep complaining about this. I don't like adding settings that are going to be used only by a single person. We could make a patch which introduces data_dir getting its default value from PKG_STATEDIR. Would that be accept

Re: [Dovecot] SSL_PARAMETERS_PERM_PATH

2009-07-13 Thread Leo Baltus
Op 14/07/2009 om 02:32:37 -0400, schreef Timo Sirainen: > On Jul 14, 2009, at 2:29 AM, Leo Baltus wrote: Maybe there a reason not to use base_dir which I am overlooking? >>> >>> base_dir in most installations is wiped out when rebooting, and the >>> ssl-parameters file shouldn't be deleted the

Re: [Dovecot] SSL_PARAMETERS_PERM_PATH

2009-07-13 Thread Timo Sirainen
On Jul 14, 2009, at 2:29 AM, Leo Baltus wrote: Maybe there a reason not to use base_dir which I am overlooking? base_dir in most installations is wiped out when rebooting, and the ssl-parameters file shouldn't be deleted then. Ah, ok. Then we need a place for more persistent data storage,

Re: [Dovecot] SSL_PARAMETERS_PERM_PATH

2009-07-13 Thread Leo Baltus
Op 13/07/2009 om 16:22:58 -0400, schreef Timo Sirainen: > On Mon, 2009-07-13 at 21:56 +0200, Leo Baltus wrote: > > > > > Maybe it could be in base_dir or have a configuration option of its own? > > > > > > It's copied to base_dir, but it's not primarily stored there because > > > base_dir is typi

Re: [Dovecot] SSL_PARAMETERS_PERM_PATH

2009-07-13 Thread Timo Sirainen
On Mon, 2009-07-13 at 21:56 +0200, Leo Baltus wrote: > > > Maybe it could be in base_dir or have a configuration option of its own? > > > > It's copied to base_dir, but it's not primarily stored there because > > base_dir is typically under /var/run/, which gets deleted at boot time. > > Well ba

Re: [Dovecot] SSL_PARAMETERS_PERM_PATH

2009-07-13 Thread Leo Baltus
Hi Timo, Op 13/07/2009 om 12:19:43 -0400, schreef Timo Sirainen: > On Mon, 2009-07-13 at 15:54 +0200, Leo Baltus wrote: > > I am not on this list so please CC me. > > > > Using dovecot-1.2.x it seems we can not configure the location of ssl- > > parameters.dat.tmp, it is hard coded to be in PKG_S

Re: [Dovecot] SSL_PARAMETERS_PERM_PATH

2009-07-13 Thread Timo Sirainen
On Mon, 2009-07-13 at 15:54 +0200, Leo Baltus wrote: > Hi, > > I am not on this list so please CC me. > > Using dovecot-1.2.x it seems we can not configure the location of ssl- > parameters.dat.tmp, it is hard coded to be in PKG_STATEDIR: > > ./src/master/master-settings.c: > > #define SSL_PARA

[Dovecot] SSL_PARAMETERS_PERM_PATH

2009-07-13 Thread Leo Baltus
Hi, I am not on this list so please CC me. Using dovecot-1.2.x it seems we can not configure the location of ssl- parameters.dat.tmp, it is hard coded to be in PKG_STATEDIR: ./src/master/master-settings.c: #define SSL_PARAMETERS_PERM_PATH PKG_STATEDIR"/"SSL_PARAMETERS_FILENAME This can lead to