[imp] Fwd: Multiple IMAP servers / select server by hook

2013-09-05 Thread Michael Dawart
Dear Jan,

thank you for this hint. But in this imp hook file there is even a
remark that I won't be able to change the server (key) within this
hook:

[..]
The following credentials will exist in $credentials, but changing
these values has no effect on authentication: imp_server_key:(string;
'authenticate' only) The backend server key selected on the login
page.
[..]

So any idea on how to solve the problem to select the IMAP server
based on the user login?

Yours, Michael


2013/9/4 Jan Schneider :
>
> Zitat von Michael Dawart :
>
>> Dear Jan,
>>
>> this is the same I looked up. But I did not find any possibility there
>> to change the server (key) to be used for IMAP auth / login.
>> Do you have any hint for me?
>>
>> Yours, Michael
>>
>>
>> 2013/9/4 Jan Schneider :
>>>
>>>
>>> Zitat von Michael Dawart :
>>>
 Dear Jan,

 Which hooks.php.dist are you referring to?
 https://github.com/horde/horde/blob/master/horde/config/hooks.php.dist

 Maybe you got me wrong. I do not want to find out which server the
 user choose but to automatically choose the server by the username.
 Thats why I thought the example from the wiki
 http://wiki.horde.org/ImapSelect could be a basis.

 Yours, Michael


 2013/9/4 Jan Schneider :
>
>
>
> Zitat von Michael Dawart :
>
>
>> Dear List,
>>
>> I found some posts regarding the dynamic selection of IMAP server in
>> the imp mailing archives. It is a little confusing for me. Somebody
>> wrote that there is an example in the hooks on how to dynamically
>> change the imap server on login.
>>
>> In the hooks.php.dist I found the description of the preauthenticate
>> and applied it to the example from the wiki
>> http://wiki.horde.org/ImapSelect
>>
>> But it seems as the new version does not use  $_SESSION['imp'][$key]
>> variable to store the server name etc. For me it looks as you have to
>> use a kind of IMAP Server object.
>> Unfortunately I did not found anything on how to set / modify server
>> name instead, can you give me a hint?
>>
>> I'm using this versions:
>> Horde Horde (horde) 5.1.2
>> Webmail Webmail (imp) 6.1.3
>>
>> Thank you very much,
>>
>> Yours, Michael
>
>
>
>
> The hooks.php.dist examples shows how to return the server key. There
> isn't
> even any mentioning of $_SESSION.
> --
> Jan Schneider
> The Horde Project
> http://www.horde.org/
>
> --
> imp mailing list
> Frequently Asked Questions: http://wiki.horde.org/FAQ
> To unsubscribe, mail: imp-unsubscr...@lists.horde.org
>>>
>>>
>>>
>>> https://github.com/horde/horde/blob/master/imp/config/hooks.php.dist
>>>
>>> --
>>> Jan Schneider
>>> The Horde Project
>>> http://www.horde.org/
>
>
> It's not
>
> --
> Jan Schneider
> The Horde Project
> http://www.horde.org/
-- 
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org


[imp] Logout after attaching a file.

2013-09-05 Thread ANANT S ATHAVALE

 Dear List,

I have the following settings for the attachments.

$conf['compose']['link_attachments'] = false;
$conf['compose']['attach_size_limit'] = 10485760;
$conf['compose']['attach_count_limit'] = 0;

ie. attach_size_limit is 10 MB.

and in php.ini, I have the following settings.

post_max_size = 30M
upload_max_filesize = 30M

When I am trying to attach a file, 26 MB, it is able to attach (which
should not have happened) as the compose attach size limit is 10 MB only. 
This is 1st issue.

2nd one is, when I try to attach a file greater than 30 MB (php.ini
setting), the session gets logged out and I get login screen in console
window.

This is observed in HGWE 5.1.2.

Is anybody facing this problem. 
--
  Regards
   Anant
--
Confidentiality Notice: This e-mail message, including any attachments, is for
the sole use of the intended recipient(s) and may contain confidential and
privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the original
message.
--

--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org

Re: [imp] Attachment size limit.

2013-09-05 Thread ANANT S ATHAVALE

 - Message from Jan Schneider  -
   Date: Mon, 02 Sep 2013 15:04:40 +0200
   From: Jan Schneider 
Subject: Re: [imp] Attachment size limit.
     To: imp@lists.horde.org


Zitat von ANANT S ATHAVALE :


Dear List,

I used to see the maximum attachment size limit in Basic View of
Compose. 
Now, I am using dynamic view, and I don't see that limit while attaching
files.  Is this by design or there is some option to enable it.


Read UPGRADING.
--
Jan Schneider
The Horde Project
http://www.horde.org/

--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQTo unsubscribe,
mail: imp-unsubscr...@lists.horde.org


- End message from Jan Schneider  -

Dear Jan,

I went through UPGRADING.  It is not clear from it about
attachment_size_limit.  There is something new about
link_attach_size_limit, which anyway, I have disabled.

Just to clarify, is attachment_size_limit not being shown to users, is it
intentional?  It was there in Basic view, at least in Horde 4. 
--
  Regards
   Anant
--
Confidentiality Notice: This e-mail message, including any attachments, is for
the sole use of the intended recipient(s) and may contain confidential and
privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the original
message.
--

--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org

Re: [imp] Invalid address book : localsql

2013-09-05 Thread Francine Bolduc
Michael J Rubinsky  horde.org> writes:
> 
> and if you want to provide a sensible default for this to work out  
> of the box, with shared address books, read the comments in  
> imp/config/prefs.php.
> 

Thanks Mike. I added the "prefs_init" function in hooks.local.php of IMP and
I added this in prefs.local.php of IMP :

$_prefs['search_sources']['hook'] = true;
$_prefs['search_fields']['hook'] = true;
$_prefs['add_source']['hook'] = true;

And everything works well. 

-- 
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org


Re: [imp] Fwd: Multiple IMAP servers / select server by hook

2013-09-05 Thread Michael M Slusarz

Quoting Michael Dawart :


Dear Jan,

thank you for this hint. But in this imp hook file there is even a
remark that I won't be able to change the server (key) within this
hook:

[..]
The following credentials will exist in $credentials, but changing
these values has no effect on authentication: imp_server_key:(string;
'authenticate' only) The backend server key selected on the login
page.
[..]

So any idea on how to solve the problem to select the IMAP server
based on the user login?


'server', not 'imp_server_key'.

michael

___
Michael Slusarz [slus...@horde.org]

--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org


Re: [imp] Fwd: Multiple IMAP servers / select server by hook

2013-09-05 Thread Michael Dawart
Finally it worked for me with the modified Load-balance-Example in this file.

Thank you very much for your help!

2013/9/5 Michael M Slusarz :
> Quoting Michael Dawart :
>
>> Dear Jan,
>>
>> thank you for this hint. But in this imp hook file there is even a
>> remark that I won't be able to change the server (key) within this
>> hook:
>>
>> [..]
>> The following credentials will exist in $credentials, but changing
>> these values has no effect on authentication: imp_server_key:(string;
>> 'authenticate' only) The backend server key selected on the login
>> page.
>> [..]
>>
>> So any idea on how to solve the problem to select the IMAP server
>> based on the user login?
>
>
> 'server', not 'imp_server_key'.
>
> michael
>
> ___
> Michael Slusarz [slus...@horde.org]
>
>
> --
> imp mailing list
> Frequently Asked Questions: http://wiki.horde.org/FAQ
> To unsubscribe, mail: imp-unsubscr...@lists.horde.org
-- 
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org