[imp] imp link_attach_size_hard doesn't work

Jan Schneider jan at horde.org
Wed Mar 17 20:35:47 UTC 2021


Zitat von Benedetto Vassallo <benedetto.vassallo at unipa.it>:

> Hi all
> 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  
> "/var/www/horde5/imp/lib/Compose.php"]
>
> Is there something wrong on my configuration or is an imp bug?

Sounds like a bug.

-- 
Jan Schneider
The Horde Project
https://www.horde.org/



More information about the imp mailing list