[Dovecot] SSL_PARAMETERS_PERM_PATH

Timo Sirainen tss at iki.fi
Mon Jul 13 19:19:43 EEST 2009


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_PARAMETERS_PERM_PATH PKG_STATEDIR"/"SSL_PARAMETERS_FILENAME

Right.

> This can lead to problems when you're running multiple instances on
> one machine. 

No, it doesn't really matter if one instance overwrites a file that was
just generated by another one. The file just needs to be updated every
once in a while.

> 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20090713/0b10ee07/attachment.bin 


More information about the dovecot mailing list