Ubuntu 10.04
Sponsored Link

WebMail - RoundCube
2010/08/10
  Install RoundCube to build web-based mail transfer system like yahoo mail or hotmail. SMTP/IMAP server is needed to run in your LAN.
And also MySQL Server is required. (or SQLite, PostgreSQL)

This example uses servers below for configuration of SquirrelMail.

www05.srv.world
- RoundCube Server

mail05.srv.world
- SMTP/IMAP Server


[1] Install RoundCube
root@www05:~#
aptitude -y install roundcube roundcube-mysql


# answer "Yes" to configure database settings now



# select database you use. This example selects "MySQL"



# input MySQL's root password



# input password for RoundCube DB



# verify



root@www05:~#
vi /etc/roundcube/main.inc.php


# line 66: specify IMAP server (SSL)

$rcmail_config['default_host'] = '
ssl://mail05.srv.world
';

# line 69: specify IMAP port (SSL)

$rcmail_config['default_port'] =
993
;

# line 87: specify domain name

$rcmail_config['mail_domain'] = '
srv.world
';

# line 102: specify SMTP server (SSL)

$rcmail_config['smtp_server'] = '
ssl://mail05.srv.world
';

# line 105: specify SMTP port (SSL)

$rcmail_config['smtp_port'] =
465
;

# line 109: change ( use the same user for SMTP auth and IMAP auth )

$rcmail_config['smtp_user'] = '
%u
';

# line 113: change ( use the same password for SMTP auth and IMAP auth )

$rcmail_config['smtp_pass'] = '
%p
';

# line 123: specify SMTP HELO host

$rcmail_config['smtp_helo_host'] = '
mail05.srv.world
';

# line 168: change to your language

$rcmail_config['language'] = '
ja_JP
';

# line 180: change UserAgent

$rcmail_config['useragent'] = '
Server World Webmail
';

# line 183: change title

$rcmail_config['product_name'] = '
Server World Webmail
';

# line 218: change default charaset

$rcmail_config['default_charset'] = '
iso-2022-jp
';

root@www05:~#
vi /etc/roundcube/apache.conf


# line 4: uncomment

Alias /roundcube /var/lib/roundcube

root@www05:~#
/etc/init.d/apache2 restart

  * Restarting web server apache2
  ... waiting ...done.
[2] Access to 'http://(your server's name or IP address/)/roundcube/', then follwing sacreen is shown, then authenticate your user name and password to login.
 
[3] Just logined
 
Matched Content
 
Tweet