>>> Matus UHLAR - fantomas wrote:
>>>> Is there a possibility to add imap server that will be visible only when
>>>> accessed using https?

>> 2010/5/14 Martin Fraser <[email protected]>
>>>>  IMAP isn't accessed through HTTPS at all.

of course. I wouldn't ask in IMP forum how to access IMAP :)

> Zitat von Arminas Grigalius <[email protected]>:
>> Maybe Matus wants to enable some IMAP server(s) only if user access horde
>> system through HTTPS mode.

precisely. I just forgot that I need speecify in details so the people know
I'm not another incapable admin... :)

On 14.05.10 13:38, Jan Schneider wrote:
> There is no need to hack any login script. Just enable/disable servers  
> in imp/config/servers.php based on $_SERVER['HTTPS'].

Great, I solved it by enclosing second server to following if section:

if (array_key_exists('HTTPS',$_SERVER)) {

$servers['imap2'] = array(
...
);

}

now I only need localized version of motd.php ("switch to secure mode").

-- 
Matus UHLAR - fantomas, [email protected] ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
"Two words: Windows survives." - Craig Mundie, Microsoft senior strategist
"So does syphillis. Good thing we have penicillin." - Matthew Alton
-- 
IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]

Reply via email to