| Summary | link_attach_size_hard doesn't work | 
| Queue | IMP | 
| Queue Version | 6.2.27 | 
| Type | Bug | 
| State | Unconfirmed | 
| Priority | 2. Medium | 
| Owners | |
| Requester | benedetto.vassallo (at) unipa (dot) it | 
| Created | 03/19/2021 (1683 days ago) | 
| Due | 03/19/2021 (1683 days ago) | 
| Updated | 02/09/2022 (1356 days ago) | 
| Assigned | |
| Resolved | |
| Github Issue Link | |
| Github Pull Request | |
| Milestone | |
| Patch | No | 
Thanks
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ link_attach_size_hard doesn't work
Due ⇒ 03/19/2021
Queue ⇒ IMP
Milestone ⇒
Patch ⇒ No
$conf['compose']['use_vfs'] = true;
$conf['compose']['link_attachments'] = true;
$conf['compose']['link_attachments_notify'] = false;
$conf['compose']['link_attach_threshold'] = 4096;
$conf['compose']['link_attach_size_limit'] = 0;
$conf['compose']['link_attach_size_hard'] = 81920;
$conf['compose']['attach_size_limit'] = 0;
$conf['compose']['attach_count_limit'] = 0;
in order to get all attachment linked if the sum of them is bigger than 80K.
If I send an e-mail with an attachment smaller than 4K it is send ad
normal attachment.
But if I send an e-mail whit an attachment bigger than 80K or with 2
attachments (1 smaller than 4K and 1 bigger than 80K) I get an "error
when communicating with the server" red rectangle and in the log I
get this error:
2021-03-08T10:26:09+00:00 EMERG: HORDE [imp] Call to a member function
setRaw() on null [pid 12209 on line 2929 of
"/var/www/horde5/imp/lib/Compose.php"]