[#15055] link_attach_size_hard doesn't work
Summary link_attach_size_hard doesn't work
Queue IMP
Queue Version 6.2.27
Type Bug
State Unconfirmed
Priority 2. Medium
Requester benedetto.vassallo (at) unipa (dot) it
Created 2021-03-19 (216 days ago)
Due 03/19/2021 (216 days ago)
Updated 2021-03-19 (216 days ago)
Patch No

2021-03-19 12:14:58 benedetto (dot) vassallo (at) unipa (dot) it Comment #1
Type ⇒ Bug
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Summary ⇒ link_attach_size_hard doesn't work
Due ⇒ 2021-03-19
Queue ⇒ IMP
Milestone ⇒
Patch ⇒ No
Reply to this comment
I have configured my imp installation (for test) witk this parameters:

$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 

Saved Queries