[imp] Problem with Linking attachments

T Test ttest at comune.napoli.it
Mon Mar 2 14:02:03 UTC 2020


Good Mornig,
Thank for your help:
I change the permission on folder "allegati" and this is the ls -latrh 
results:

[root at newebmail allegati]# ls -latrh /var/www/html/horde/allegati/
totale 4,0K
drwxr-xr-x.  2 apache apache    6  9 dic 11.20 .
drwxr-xr-x. 26 apache apache 4,0K 29 gen 12.21 ..
[root at newebmail allegati]#

This is the my configuration file (imp file):
<?php
/* CONFIG START. DO NOT CHANGE ANYTHING IN OR AFTER THIS LINE. */
// $Id: 48bf0b4cc99e7941b4432a29e70e145b8d654cc7 $
$conf['user']['allow_view_source'] = true;
$conf['server']['server_list'] = 'none';
$conf['compose']['use_vfs'] = true;
$conf['compose']['link_attachments_notify'] = true;
$conf['compose']['link_attach_threshold'] = 2048;
$conf['compose']['link_attach_size_limit'] = 1024000;
$conf['compose']['link_attach_size_hard'] = 2048;
$conf['compose']['link_attachments'] = true;
$conf['compose']['attach_size_limit'] = 1024000;
$conf['compose']['attach_count_limit'] = 5;
$conf['compose']['reply_limit'] = 200000;
$conf['compose']['ac_threshold'] = 3;
$conf['compose']['htmlsig_img_size'] = 1024000;
$conf['pgp']['keylength'] = 0;
$conf['maillog']['driver'] = 'history';
$conf['sentmail']['driver'] = 'Null';
$conf['contactsimage']['backends'] = 
array('IMP_Contacts_Avatar_Addressbook');
$conf['tasklist']['use_tasklist'] = true;
$conf['notepad']['use_notepad'] = true;
/* CONFIG END. DO NOT CHANGE ANYTHING IN OR BEFORE THIS LINE. */
~
This is my config.php file:
<?php
/* CONFIG START. DO NOT CHANGE ANYTHING IN OR AFTER THIS LINE. */
// $Id: 08fc885cd91fbae2d752e274b554c5f1645129c8 $
$conf['vhosts'] = false;
$conf['debug_level'] = E_ALL & ~E_NOTICE;
$conf['max_exec_time'] = 0;
$conf['compress_pages'] = true;
$conf['secret_key'] = 'yRSHtILZUj1VQVCKxp9Wfc9';
$conf['umask'] = 077;
$conf['testdisable'] = true;
$conf['use_ssl'] = 2;
$conf['server']['name'] = $_SERVER['SERVER_NAME'];
$conf['urls']['token_lifetime'] = 30;
$conf['urls']['hmac_lifetime'] = 30;
$conf['urls']['pretty'] = false;
$conf['safe_ips'] = array();
$conf['session']['name'] = 'Horde';
$conf['session']['use_only_cookies'] = true;
$conf['session']['timeout'] = 0;
$conf['session']['cache_limiter'] = 'nocache';
$conf['session']['max_time'] = 72000;
$conf['cookie']['domain'] = $_SERVER['SERVER_NAME'];
$conf['cookie']['path'] = '/';
$conf['sql']['username'] = 'horde_user';
$conf['sql']['password'] = 'Horde_admin2020!';
$conf['sql']['socket'] = '/var/lib/mysql/mysql.sock';
$conf['sql']['protocol'] = 'unix';
$conf['sql']['database'] = 'horde_db';
$conf['sql']['charset'] = 'utf-8';
$conf['sql']['ssl'] = false;
$conf['sql']['read']['username'] = 'horde_user';
$conf['sql']['read']['password'] = 'Horde_admin2020!';
$conf['sql']['read']['socket'] = '/var/lib/mysql/mysql.sock';
$conf['sql']['read']['protocol'] = 'unix';
$conf['sql']['read']['database'] = 'horde_db';
$conf['sql']['read']['charset'] = 'utf-8';
$conf['sql']['read']['ssl'] = false;
$conf['sql']['read']['logqueries'] = false;
$conf['sql']['splitread'] = true;
$conf['sql']['logqueries'] = false;
$conf['sql']['phptype'] = 'mysql';
$conf['nosql']['phptype'] = false;
$conf['ldap']['useldap'] = false;
"config.php" 134L, 5443C

If I try to send an e-mail with attach I have this error:


      Unable to read the vfsroot directory.

In addition, I not understand If the user can choice if send attach 
normally or as link attachment.

In the window of "compose e-mail" I did not see this option.

On earlier version, the user have this option.

Maybe there isn't or if the size of attachments is over quota the system 
send attachment as link?

Sorry for my English, I hope you understand me and I appreciate if you 
explain me as simply as possible.

Regards.

Pasquale.






Il 02/03/2020 14:19, Michael J Rubinsky ha scritto:
>
> Quoting T Test <ttest at comune.napoli.it>:
>
>> Good Mornig,
>> Thank for your reply.
>
> You're welcome, but please keep the conversation on the mailing list.
>
>> Yes, I have vfs configured.
>> *
>> *
>> *This is Virtual File Storage Settings (in configuration*
>> *panel):*
>> *
>> *
>>
>> ** $conf[vfs][type] : files on the local system*
>> *
>> *
>>
>> ** $conf[vfs][type]: /var/www/html/horde/allegati*
>
> If this isn't a copy/paste error, this isn't correct. It should be 
> $conf['vfs']['params']['vfsroot']
>
>
>> *
>> *
>> *Any suggestion?*
>
> If it really is configured correctly, your web server probably doesn't 
> have enough access rights to read and write from that location.
>
>
>> *Note: If I compose a new e-mail, I did not show the windows that 
>> able me to send an attach as link but only normally.*
>
> You shouldn't. If you select linked attachments when configuring 
> Horde, that's what it will use.
>
>
>> *
>> *
>> **
>>
>> Il 01/03/2020 20:59, Michael J Rubinsky ha scritto:
>>>
>>> Quoting T Test <ttest at comune.napoli.it>:
>>>
>>>> Hi,
>>>>
>>>> I install a new version of Horde Groupware, ver. 5.2.22 with IMP 
>>>> 6.2.24.
>>>>
>>>> I have a big problem: Linking attachments not working!!
>>>>
>>>> On a old version of Horde I have Horde 3.3.12 with IMP ver. 4.3.10.
>>>>
>>>> In this version I can send an e-mail with linking attachmente 
>>>> without problem.
>>>>
>>>> On a new version, there isn't a link to send an online attachments.
>>>>
>>>> The page that I show on a new version is this:
>>>>
>>>>
>>>> Can we help me?
>>>
>>> Works fine locally. Do you have a VFS configured?
>>>
>>>>
>>>> This is the configuration file of imp:
>>>>
>>>> <?php
>>>> /* CONFIG START. DO NOT CHANGE ANYTHING IN OR AFTER THIS LINE. */
>>>> // $Id: 48bf0b4cc99e7941b4432a29e70e145b8d654cc7 $
>>>> $conf['user']['allow_view_source'] = true;
>>>> $conf['server']['server_list'] = 'none';
>>>> $conf['compose']['use_vfs'] = true;
>>>> $conf['compose']['link_attachments_notify'] = true;
>>>> $conf['compose']['link_attach_threshold'] = 0;
>>>> $conf['compose']['link_attach_size_limit'] = 0;
>>>> $conf['compose']['link_attach_size_hard'] = 0;
>>>> $conf['compose']['link_attachments'] = true;
>>>> $conf['compose']['attach_size_limit'] = 0;
>>>> $conf['compose']['attach_count_limit'] = 5;
>>>> $conf['compose']['reply_limit'] = 200000;
>>>> $conf['compose']['ac_threshold'] = 3;
>>>> $conf['compose']['htmlsig_img_size'] = 30000;
>>>> $conf['pgp']['keylength'] = 0;
>>>> $conf['maillog']['driver'] = 'history';
>>>> $conf['sentmail']['driver'] = 'Null';
>>>> $conf['contactsimage']['backends'] = 
>>>> array('IMP_Contacts_Avatar_Addressbook');
>>>> $conf['tasklist']['use_tasklist'] = true;
>>>> $conf['notepad']['use_notepad'] = true;
>>>> /* CONFIG END. DO NOT CHANGE ANYTHING IN OR BEFORE THIS LINE. */
>>>> ~
>>>> I'm disperate!!!
>>>>
>>>> Thank you.
>>>>
>>>> Pasquale (from Italy).
>>>>
>>>>
>>>>
>>>> -- 
>>>> imp mailing list
>>>> Frequently Asked Questions: http://wiki.horde.org/FAQ
>>>> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
>>>
>>>
>>>
>>>
>
>
>



More information about the imp mailing list