6.0.0-beta1
7/11/25

[#14001] Linked attachments don't work as expected
Summary Linked attachments don't work as expected
Queue IMP
Queue Version 6.2.8
Type Bug
State Duplicate
Priority 1. Low
Owners
Requester benedetto.vassallo (at) unipa (dot) it
Created 06/01/2015 (3693 days ago)
Due
Updated 06/02/2015 (3692 days ago)
Assigned
Resolved 06/02/2015 (3692 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
06/02/2015 12:00:31 AM Michael Rubinsky Comment #2
State ⇒ Duplicate
Priority ⇒ 1. Low
Reply to this comment
Sounds like a duplicate of Bug: 13968
06/01/2015 08:14:52 AM benedetto (dot) vassallo (at) unipa (dot) it Comment #1
State ⇒ Unconfirmed
Priority ⇒ 3. High
Type ⇒ Bug
Summary ⇒ Linked attachments don't work as expected
Queue ⇒ IMP
Milestone ⇒
Patch ⇒ No
Reply to this comment
When I try to send a single attached file bigger than 5 MB, it works as
expected.
When I try to send, say 3 files of 2 MB each, the response is "Error when
communicating with the server" and the mail is not sent.

In my log I see the following message:

2015-02-27T11:17:06+01:00 EMERG: HORDE [imp] Call to a member function
setRaw() on a non-object [pid 29524 on line 2909 of
"/var/www/horde5/imp/lib/Compose.php"]
2015-02-27T11:17:06+01:00 DEBUG: HORDE 1.
Horde_ErrorHandler::catchFatalError()

If I click again the "Send" button, I got an error
like "unable to create vfs file .horde/imp/compose/xxxxxxx".
In fact the file is created in the vfs storage.
My vfs storage type is file, and the base directory is owned by
apache:apache and have 750 permissions.
My Linux distro is CentOS Linux release 7.1.1503 (Core)
My apache version is httpd-2.4.6-31.el7.centos.x86_64
My php version is 5.5.25

My imp configuration is:
$conf['compose']['use_vfs'] = true;
$conf['compose']['link_attachments_notify'] = false;
$conf['compose']['link_attach_threshold'] = 5242880;
$conf['compose']['link_attach_size_hard'] = 5242880;
$conf['compose']['link_attach_size_limit'] = 104857600;
$conf['compose']['link_attachments'] = true;
$conf['compose']['attach_size_limit'] = 0;
$conf['compose']['attach_count_limit'] = 0;

Saved Queries