[imp] Problem with e-mail link as attachment

Ttest ttest at comune.napoli.it
Thu Jan 30 15:49:50 UTC 2020


Hi Simon, Hi all,
this is the file conf.php but I try to send an e-mail with link attach 
but nothing!
I try to modify value 'compose' , size limit, attach_size but same results!
Where is the problem? Maybe in php.ini?
Thanking you in advance.
Pasquale.


/* CONFIG START. DO NOT CHANGE ANYTHING IN OR AFTER THIS LINE. */
// $Id: 48bf0b4cc99e7941b4432a29e70e145b8d654cc7 $
$conf['user']['allow_view_source'] = false;
$conf['server']['server_list'] = 'none';
$conf['compose']['use_vfs'] = true;
$conf['compose']['link_attachments_notify'] = true;
$conf['compose']['link_attach_threshold'] = 5242880;
$conf['compose']['link_attach_size_limit'] = 0;
$conf['compose']['link_attach_size_hard'] = 0;
$conf['compose']['link_attachments'] = true;
$conf['compose']['attach_size_limit'] = 60000;
$conf['compose']['attach_count_limit'] = 10;
$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. */
~


Il 30/01/2020 01:22, Simon Wilson ha scritto:
>> Thank you.
>> I changed owner and permission on folder horde and now is all ok!
>> This is my configuration file but "attachment as link" not appeared 
>> on the page when i select "attachments".
>> This is a mystake!
>>
> {snip}
>> $conf['compose']['link_attachments_notify'] =false;true;
> {snip}
>
> Now this line is broken.
>
> You should use the Configuration GUI interface to edit options, not 
> directly editing the conf file - that will save you making 
> easily-avoidable mistakes.
>
>>
>>
>>
>> Il 29/01/2020 11:41, Arjen de Korte ha scritto:
>>> Citeren Ttest <ttest at comune.napoli.it>:
>>>
>>>> Thank for your immediately reply.
>>>> I change from "no" to "yes" and 'use_vfs' from false to true.
>>>> When I do this from the page of administration tool and click on 
>>>> "generate mail configuration" I have this error:
>>>> 1)Could not save the backup configuration file 
>>>> /var/www/html/horde/imp/config/conf.bak.php.
>>>
>>> Whichever user your PHP is running as needs write access to the 
>>> conf.php and conf.bak.php files. Changes the file permissions 
>>> accordingly.
>>>
>>>> 2) Could not save the configuration file 
>>>> /var/www/html/horde/imp/config/conf.php. You can either use one of 
>>>> the options to save the code back on Configuration or copy manually 
>>>> the code below to /var/www/html/horde/imp/config/conf.php.
>>>>
>>>> Than I modify the file on the server, restart apache but if I 
>>>> compose a new e-mail I can't find the option to send attachments as 
>>>> a link?
>>>>
>>>> Why?
>>>> Please can help me to solve this problems?
>>>>
>>>> This is the configuration file.
>>>> Regards.
>>>> Pasquale.
>>>>
>>>>
>>>> <?php
>>>> /* CONFIG START. DO NOT CHANGE ANYTHING IN OR AFTER THIS LINE. */
>>>> // $Id: 48bf0b4cc99e7941b4432a29e70e145b8d654cc7 $
>>>> $conf['user']['allow_view_source'] = false;
>>>> $conf['server']['server_list'] = 'none';
>>>> $conf['compose']['use_vfs'] =false;true;
>>>
>>> The above line is broken.
>>>
>>>> $conf['compose']['link_attachments_notify'] = true; 
>>>> $conf['compose']['link_attach_threshold'] = 5242880; 
>>>> $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'] = 0;
>>>> $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();
>>>> $conf['tasklist']['use_tasklist'] = false;
>>>> $conf['notepad']['use_notepad'] = false;
>>>> /* CONFIG END. DO NOT CHANGE ANYTHING IN OR BEFORE THIS LINE. */
>>>>
>>>>
>>>> Il 29/01/2020 10:06, Arjen de Korte ha scritto:
>>>>>
>>>>> You probably need to change $conf[compose][link_attachments] from 
>>>>> 'no' to 'yes'. This can be found in the administration panel for 
>>>>> IMP (admin/config/config.php?app=imp).
>>>
>>>
>>>
>>
>> -- 
>> imp mailing list
>> Frequently Asked Questions: http://wiki.horde.org/FAQ
>> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
>
>
> ----- End message from Ttest <ttest at comune.napoli.it> -----
>
>
>



More information about the imp mailing list