Ubuntu 11.04
Sponsored Link

WebMail - RoundCube
2011/05/04
  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 68: specify IMAP server (SSL)

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

# line 71: specify IMAP port (SSL)

$rcmail_config['default_port'] =
993
;

# line 124: specify SMTP server (SSL)

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

# line 127: specify SMTP port (SSL)

$rcmail_config['smtp_port'] =
465
;

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

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

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

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

# line 151: specify SMTP HELO host

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

# line 243: specify domain name

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

# line 261: change UserAgent

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

# line 264: change title

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

# line 341: change to your language

$rcmail_config['language'] = '
ja_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 ...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
 
 
Tweet