1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<!-- metadata -->
<meta name="generator" content="Offline" />
<meta name="version" content="Offline 0.1" />
<!-- style sheet links -->
<link rel="stylesheet" media="all" type="text/css" href="../../../../css/all.css" />
<link rel="stylesheet" media="screen" type="text/css" href="../../../../css/screen.css" />
<link rel="stylesheet" media="print" type="text/css" href="../../../../css/print.css" />
</head>
<body>
<div class="dokuwiki export">
<h1><a name="roundcube" id="roundcube">RoundCube</a></h1>
<div class="level1">
</div>
<!-- SECTION "RoundCube" [1-25] -->
<h2><a name="presentation" id="presentation">Presentation</a></h2>
<div class="level2">
<p>
<a href="http://www.roundcube.net" class="urlextern" title="http://www.roundcube.net" rel="nofollow">RoundCube</a> webmail is a browser-based multilingual <acronym title="Internet Message Access Protocol">IMAP</acronym> client with an application-like user interface. It provides full functionality you expect from an email client, including <acronym title="Multipurpose Internet Mail Extension">MIME</acronym> support, address book, folder manipulation, message searching and spell checking.
</p>
</div>
<!-- SECTION "Presentation" [26-346] -->
<h2><a name="configuration" id="configuration">Configuration</a></h2>
<div class="level2">
</div>
<!-- SECTION "Configuration" [347-373] -->
<h3><a name="lemonldapng" id="lemonldapng">LemonLDAP::NG</a></h3>
<div class="level3">
<ul>
<li class="level1"><div class="li"> Add a new virtual host webmail.domain.tld</div>
</li>
<li class="level1"><div class="li"> Add a new rule:</div>
</li>
</ul>
<pre class="code">
"^/\?_task\=logout" -> "logout_app https://auth.domain.tld"
</pre>
<ul>
<li class="level1"><div class="li"> in <acronym title="Hyper Text Transfer Protocol">HTTP</acronym> headers, you need Auth-User ($mail) and Auth-Pw ($_password).</div>
</li>
</ul>
<p>
<p><div class="noteclassic">To be able to forward password to RoundCube, see <a href="../../../documentation/1.3/passwordstore.html" class="wikilink1" title="documentation:1.3:passwordstore">how to store password in session</a>
</div></p>
</p>
<ul>
<li class="level1"><div class="li"> In Apache configuration, add the PerlHeaderParserHandler My::Package on the webmail.domain.tls vhost</div>
</li>
</ul>
</div>
<!-- SECTION "LemonLDAP::NG" [374-834] -->
<h3><a name="roundcube1" id="roundcube1">RoundCube</a></h3>
<div class="level3">
<ul>
<li class="level1"><div class="li"> install http_authentication plugin</div>
</li>
<li class="level1"><div class="li"> Patch it to replace <acronym title="Hypertext Preprocessor">PHP</acronym>_AUTH_* by <acronym title="Hyper Text Transfer Protocol">HTTP</acronym>_AUTH_*</div>
</li>
<li class="level1"><div class="li"> enable http_authentication plugin in main.inc.php :</div>
</li>
</ul>
<pre class="code file php"><span class="re0">$rcmail_config</span><span class="br0">[</span><span class="st_h">'plugins'</span><span class="br0">]</span> <span class="sy0">=</span> <a href="http://www.php.net/array"><span class="kw3">array</span></a><span class="br0">(</span><span class="st_h">'http_authentication'</span><span class="br0">)</span><span class="sy0">;</span></pre>
</div>
<!-- SECTION "RoundCube" [835-] --></div><!-- closes <div class="dokuwiki export">-->
|