Debian 6.0
Sponsored Link

Web Mail - RoundCube
2011/03/12
  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.

www.srv.world
- RoundCube Server

mail.srv.world
- SMTP/IMAP Server


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


# Answer 'Yes' to configure database settings



# select which database you use ( this example selects 'MySQL' )



# Input root password for MySQL



# Set new password for RoundCube DB



# confirm



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


# line 66: specify IMAP server (SSL)

$rcmail_config['default_host'] = '
ssl://mail.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://mail.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'] = '
mail.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 for your language

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

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


# line 4: uncomment

Alias /roundcube /var/lib/roundcube

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

Restarting web server: apache2 ... waiting .
[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