Difference between revisions of "Roundcube"

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
Jump to navigation Jump to search
(moved old notes to /archive; official site link)
Line 1: Line 1:
<hide>
+
{{#set:page type|article}}
[[page type::article]]
+
{{#set:thing type|webmail client}}
[[thing type::webmail client]]
 
 
[[category:software]]
 
[[category:software]]
</hide>
 
 
==About==
 
==About==
[[Roundcube]] is a [[webmail client]] using the [[LAMP stack]].{{seed}}
+
[[Roundcube]] is a [[webmail client]] that runs under the [[LAMP stack]].
 
===Files===
 
===Files===
{|
+
When installed via {{l/cmd|apt}}, this is where Roundcube's files end up:
 +
{| class="wikitable sortable"
 
|-
 
|-
 
! path !! description
 
! path !! description
 
|-
 
|-
| /etc/roundcube
+
| <code>/etc/roundcube</code>
 
| global configuration stuff
 
| global configuration stuff
 
|-
 
|-
| /usr/share/roundcube
+
| <code>/usr/share/roundcube</code>
 
| application code
 
| application code
 
|-
 
|-
| /var/lib/roundcube
+
| <code>/var/lib/roundcube</code>
 
| installation image -- mostly links to pieces of the other two
 
| installation image -- mostly links to pieces of the other two
 
|}
 
|}
 +
==Tech Notes==
 +
The MariaDB/MySQL password must not contain the <code>&amp;</code> character, because the DSN parser treats it as syntactically significant. There does not seem to be any way of escaping it, either. The critical piece of code is in <code>/usr/share/roundcube/program/lib/Roundcube/rcube_db.php</code>, line 1336:
 +
<syntaxhighlight lang=php>
 +
if (strpos($dsn, '&') !== false) {
 +
    $opts = explode('&', $dsn);
 +
}
 +
</syntaxhighlight>
 
==Pages==
 
==Pages==
 
* [[/archive]]: obsolete stuff
 
* [[/archive]]: obsolete stuff

Revision as of 02:48, 17 February 2025

About

Roundcube is a webmail client that runs under the LAMP stack.

Files

When installed via apt, this is where Roundcube's files end up:

path description
/etc/roundcube global configuration stuff
/usr/share/roundcube application code
/var/lib/roundcube installation image -- mostly links to pieces of the other two

Tech Notes

The MariaDB/MySQL password must not contain the & character, because the DSN parser treats it as syntactically significant. There does not seem to be any way of escaping it, either. The critical piece of code is in /usr/share/roundcube/program/lib/Roundcube/rcube_db.php, line 1336:

if (strpos($dsn, '&') !== false) {
    $opts = explode('&', $dsn);
}

Pages

Links

Reference