optional temporary storage of outgoing attachments in database
|Reported by:||ziba||Owned by:|
|Severity:||normal||Keywords:||database attachments load balancing|
Load balancing techniques such as round robin dns require that all machines running roundcube can access all of a user's data. Currently, when a user uploads an attachment, it is put on local disk temporarily. This would make it inaccessible if the load balancer had the user send the mail from a different server then the one to which they uploaded the attachment.
This patch introduces a new configuration option:
$rcmail_configattachment_storage? = 'database';
When set to database attachments will go into the cache table in the database and never be stored on local disk.
Any other configuration setting will fall back to using disk storage.