Mainos / Advertisement:

Ero sivun ”Roundcube” versioiden välillä

Kohteesta Taisto
Siirry navigaatioon Siirry hakuun
Rivi 10: Rivi 10:
  
 
   wget http://softlayer-ams.dl.sourceforge.net/project/roundcubemail/roundcubemail/1.0.5/roundcubemail-1.0.5.tar.gz
 
   wget http://softlayer-ams.dl.sourceforge.net/project/roundcubemail/roundcubemail/1.0.5/roundcubemail-1.0.5.tar.gz
 +
 +
Pura tar paketti
 +
 +
  tar -xjf roundcubemail-1.0.5.tar.gz
  
 
Voit asentaa myös aptituden avulla (ei suositella).
 
Voit asentaa myös aptituden avulla (ei suositella).

Versio 8. helmikuuta 2015 kello 14.50

Muut kielet:
English • ‎suomi

Rouncube on suosittu webmail ohjelmisto. Roudcube tarvitsee SMTP palvelimen (esimerkiksi Postfix), IMAP (esimerkiksi Dovecot) ja tietokannan (esimerkiksi Mysql).

Asennus

Lataa asennuspaketti http://roundcube.net/. :

 wget http://softlayer-ams.dl.sourceforge.net/project/roundcubemail/roundcubemail/1.0.5/roundcubemail-1.0.5.tar.gz

Pura tar paketti

 tar -xjf roundcubemail-1.0.5.tar.gz

Voit asentaa myös aptituden avulla (ei suositella).

 aptitude install roundcube

Konfigurointihakemisto on tällöin

 /etc/roundcube

Konfigurointi

Siirrä Rouncube haluamallesi sijaintiin palvelimellasi

 mv ~/roundcube /var/www

Luo tiedosto ~/roundcube/config/config.inc.php ja kopioi alla oleva sisältö tiedostoon. Voit myös käyttää asennusohjelmaa johon pääsee http://server_ip/rouncube/installer

 <?php

/* Local configuration for Roundcube Webmail */

// ----------------------------------
// SQL DATABASE
// ----------------------------------
// Database connection string (DSN) for read+write operations
// Format (compatible with PEAR MDB2): db_provider://user:password@host/database
// Currently supported db_providers: mysql, pgsql, sqlite, mssql or sqlsrv
// For examples see http://pear.php.net/manual/en/package.database.mdb2.intro-dsn.php
// NOTE: for SQLite use absolute path: 'sqlite:////full/path/to/sqlite.db?mode=0646'
$config['db_dsnw'] = 'mysql://roundcube:password@localhost/roundcube';

// ----------------------------------
// IMAP
// ----------------------------------
// The mail host chosen to perform the log-in.
// Leave blank to show a textbox at login, give a list of hosts
// to display a pulldown menu or set one host as string.
// To use SSL/TLS connection, enter hostname with prefix ssl:// or tls://
// Supported replacement variables:
// %n - hostname ($_SERVER['SERVER_NAME'])
// %t - hostname without the first part
// %d - domain (http hostname $_SERVER['HTTP_HOST'] without the first part)
// %s - domain name after the '@' from e-mail address provided at login screen
// For example %n = mail.domain.tld, %t = domain.tld
// WARNING: After hostname change update of mail_host column in users table is
//          required to match old user data records with the new host.
$config['default_host'] = 'localhost';

// ----------------------------------
// SMTP
// ----------------------------------
// SMTP server host (for sending mails).
// To use SSL/TLS connection, enter hostname with prefix ssl:// or tls://
// If left blank, the PHP mail() function is used
// Supported replacement variables:
// %h - user's IMAP hostname
// %n - hostname ($_SERVER['SERVER_NAME'])
// %t - hostname without the first part
// %d - domain (http hostname $_SERVER['HTTP_HOST'] without the first part)
// %z - IMAP domain (IMAP hostname without the first part)
// For example %n = mail.domain.tld, %t = domain.tld
$config['smtp_server'] = 'localhost';

// provide an URL where a user can get support for this Roundcube installation
// PLEASE DO NOT LINK TO THE ROUNDCUBE.NET WEBSITE HERE!
$config['support_url'] = ;

// this key is used to encrypt the users imap password which is stored
// in the session record (and the client cookie if remember password is enabled).
// please provide a string of exactly 24 chars.
$config['des_key'] = 'H=Mgd81+3Hn+VeKnU?h*bNX!';

// PLUGINS
// ----------------------------------
// List of active plugins (in plugins/ directory)
$config['plugins'] = array();

Mainos / Advertisement: