Mainos / Advertisement:

Ero sivun ”Roundcube” versioiden välillä

Kohteesta Taisto
Siirry navigaatioon Siirry hakuun
Rivi 7: Rivi 7:
  
 
<!--T:3-->
 
<!--T:3-->
Lataa asennuspaketti http://roundcube.net/ tai käytä pakettihallintaohjelmaa:
+
Lataa asennuspaketti http://roundcube.net/. :
 +
 
 +
  wget http://softlayer-ams.dl.sourceforge.net/project/roundcubemail/roundcubemail/1.0.5/roundcubemail-1.0.5.tar.gz
  
  <!--T:4-->
 
aptitude install roundcube
 
  
 
== Konfigurointi == <!--T:5-->
 
== Konfigurointi == <!--T:5-->
  
<!--T:6-->
+
Siirrä Rouncube haluamallesi sijaintiin palvelimellasi
Roundcuben asennushakemisto on aptitudella asentaessa
 
 
 
  <!--T:7-->
 
/etc/roundcube
 
 
 
<!--T:8-->
 
Avaa konfigurointi tiedosto main.inc.php (config/config.inc.php jos ei asennettu aptitudella)
 
 
 
  nano /etc/roundcube/main.inc.php
 
 
 
<!--T:9-->
 
Tietokantasi (esim. MySQL) osoite (Debianissa aptituden asentaessa löytyy /etc/roundcube/debian-db.php):
 
  $rcmail_config['db_dsnw'] = 'mysql://username:password@localhost/roundcube';
 
 
 
<!--T:10-->
 
Oletus isäntä (palvelin), jos jätät tyhjäksi, niin sinun tulee jokaisessa kirjautumisessa valita palvelin, johon yhdistetään
 
  $rcmail_config['default_host'] = 'localhost';
 
 
 
<!--T:11-->
 
SMPT palvelimen osoite (ssl suojattu: ssl://localhost)
 
  $rcmail_config['smtp_server'] = 'localhost';
 
 
 
 
 
 
 
<!--T:12-->
 
SMTP palvelimen portti:
 
  $rcmail_config['smtp_port'] = 465;
 
 
 
<!--T:13-->
 
Sivuston tuki osoite, vapaaehtoinen
 
  $rcmail_config['support_url'] = '[web_address]';
 
 
 
<!--T:14-->
 
Logo, vapaaehtoinen
 
  $rcmail_config['skin_logo'] = "[logo_web_address]";
 
 
 
<!--T:15-->
 
Tarkistetaan IP-osoite
 
  $rcmail_config['ip_check'] = true;
 
 
 
 
 
  <!--T:16-->
 
$rcmail_config['des_key'] = 'XXXXX';
 
 
 
<!--T:17-->
 
Sähköpostipalvelun nimi
 
$rcmail_config['product_name'] = 'Roundcube - Webmail';
 
 
 
<!--T:18-->
 
Lisäosat
 
  $rcmail_config['plugins'] = array(
 
    'archive',
 
  );
 
 
 
<!--T:19-->
 
Oletuskieli Webmailissa
 
  $rcmail_config['language'] = 'fi-FI';
 
 
 
  <!--T:20-->
 
$rcmail_config['preview_pane'] = false;
 
 
 
<!--T:21-->
 
Identtiteettien oikeus muokkausoikeus
 
  $rcmail_config['identities_level'] = 3;
 
  
<!--T:22-->
 
Sähköpostitoimialue, ei oletuksena ole määritetty:
 
  $rcmail_config['mail_domain'] = 'domain.com';
 
  
<!--T:23-->
+
  <?php
Oletusmerkistökoodaus:
+
  $rcmail_config['default_charset'] = 'UTF-8';
+
/* 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:su0j4ttu@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();
 +
 
</translate>
 
</translate>

Versio 8. helmikuuta 2015 kello 14.44

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


Konfigurointi

Siirrä Rouncube haluamallesi sijaintiin palvelimellasi


 <?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:su0j4ttu@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: