Opened 5 years ago
Closed 4 years ago
#1485231 closed Feature Patches (fixed)
optional temporary storage of outgoing attachments in database
| Reported by: | ziba | Owned by: | |
|---|---|---|---|
| Priority: | 5 | Milestone: | 0.3-beta |
| Component: | Core functionality | Version: | git-master |
| Severity: | normal | Keywords: | database attachments load balancing |
| Cc: |
Description
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.
Attachments (4)
Change History (6)
Changed 5 years ago by ziba
Changed 5 years ago by ziba
Changed 5 years ago by Technetux
comment:1 Changed 5 years ago by ziba
My friend Technetux's patch fixes a problem with a poorly named temporary variable.
comment:2 Changed 4 years ago by alec
- Component changed from Client Scripts to Core functionality
- Milestone changed from later to 0.3-beta
- Resolution set to fixed
- Status changed from new to closed
Implemented as plugin? Closing.

Updated patch to work with svn r1814