[webmail] roundcube mail server installation guide
roundcubemail installation guide.
웹메일 클라이언트 서버중에 쓸만한거 없나 검색중 괜찮은 클라이언트 서버를 발견하여 소개합니다.
URL : http://roundcube.net/
설치 환경
OS : CentOS release 6.5
PHP : php-5.5.8
MySQL : mysql-5.6.15
역시 매번 그러하듯 설치 과정엔 정석이 없습니다. ( 무엇을 설치하든간에 삽질은 끝이 없습니다..;; )
그리하여 기본적인 셋팅 부분에 대해서 설명하려 합니다.
Step 1. 소스 다운로드
roundcubemail-0.9.5.tar.gz 파일을 다운로드 후 document_root에 압축을 풀어 줍니다.
Step 2. Install
파일내에 INSTALL 이라는 파일을 열어 필요한 내용에 대한 설치를 해주어야 합니다.
INSTALL
* PHP Version 5.2.1 or greater including
- PCRE, DOM, JSON, XML, Session, Sockets (required)
- PHP Data Objects (PDO) with driver for either MySQL, PostgreSQL or SQLite (required)
Note: MySQL database driver requires PHP 5.3 or newer.
- Libiconv, Zip (recommended)
- Fileinfo, Mcrypt, mbstring (optional)
* PEAR packages distributed with Roundcube or external:
- Mail_Mime 1.8.1 or newer
- Mail_mimeDecode 1.5.5 or newer
- Net_SMTP (latest from https://github.com/pear/Net_SMTP/)
- Net_IDNA2 0.1.1 or newer
- Auth_SASL 1.0.6 or newer
* php.ini options (see .htaccess file):
- error_reporting E_ALL & ~E_NOTICE (or lower)
- memory_limit > 16MB (increase as suitable to support large attachments)
- file_uploads enabled (for attachment upload features)
- session.auto_start disabled
- zend.ze1_compatibility_mode disabled
- suhosin.session.encrypt disabled
- mbstring.func_overload disabled
- magic_quotes_runtime disabled
- magic_quotes_sybase disabled
$ sudo ./pear install Mail_Mime
$ sudo /usr/local/php/bin/pear install Mail_mimeDecode
$ sudo /usr/local/php/bin/pear install Net_SMTP
$ sudo /usr/local/php/bin/pear install Net_IDNA2
$ sudo /usr/local/php/bin/pear install Auth_SASL
DB 계정 및 Table 생성
$ mysql -uroot -p
./config/db.inc.php
$rcmail_config['db_dsnw'] = 'mysql://roundcube:1234@localhost/roundcubemail';
./config/main.inc.php
$rcmail_config['default_host'] = 'imap.rocksea.com'; # 2014.01.28 by rocksea
이젠 로그인 해서 사용하면 끝!
UI도 깔끔하니 잘 만든 듯 합니다.
한번 느껴보시길.
by rocksea.