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
Line 3: Line 3:
 
[[category:software]]
 
[[category:software]]
 
==About==
 
==About==
[[Roundcube]] is a [[webmail client]] that runs under the [[LAMP stack]].
+
[[Roundcube]] (RC) 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:
 
When installed via {{l/cmd|apt}}, this is where Roundcube's files end up:
Line 10: Line 10:
 
! path !! description
 
! path !! description
 
|-
 
|-
| <code>/etc/roundcube</code>
+
| valign=top | <code>/etc/roundcube</code>
| global configuration stuff
+
| global configuration stuff:
 +
* <code>defaults.inc.php</code>: must be present; should not be edited
 +
* <code>config.inc.php</code>: must be present, and should be edited to contain local settings
 +
* <code>main.inc.php</code>:
 +
** old name for <code>config.inc.php</code>
 +
** RC will load this if <code>config.inc.php</code> is not found
 +
** should not be present in new installations
 +
* <code>debian-db.php</code>: database credentials for RC installs in [[Debian]]-based systems
 
|-
 
|-
 
| <code>/usr/share/roundcube</code>
 
| <code>/usr/share/roundcube</code>

Revision as of 14:04, 17 February 2025

About

Roundcube (RC) 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:
  • defaults.inc.php: must be present; should not be edited
  • config.inc.php: must be present, and should be edited to contain local settings
  • main.inc.php:
    • old name for config.inc.php
    • RC will load this if config.inc.php is not found
    • should not be present in new installations
  • debian-db.php: database credentials for RC installs in Debian-based systems
/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