====== Roundcube ======
IMAP을 지원하는 웹메일 클라이언트 프로그램이다.
====== 설치 전 확인 ======
**hosts 설정**
127.0.0.1 localhost
127.0.1.1 Servername
내용 확인
**Roundcube를 위한 데이터베이스 생성**
$ mysql -u root -p // mysql 콘솔 실행
그 후 다음 명령 실행
CREATE DATABASE roundcubemail;
GRANT ALL PRIVILEGES ON roundcubemail.* TO username@localhost IDENTIFIED BY 'password';
username@localhost 부분을 자신의 주소로 (ex:info@obg.com), password를 자신의 암호로 변경하고 명령을 실행한다. roundcube 공식홈페이지의 database configuration((http://trac.roundcube.net/wiki/Howto_Install)) 참고.
====== 설치 ======
Roundcube 다운 후 압축 풀고 /usr/share/roundcube에 복사
logs, temp 폴더에 707 권한 설정
**/usr/share/roundcube/installer/index.php 수정**
ini_set('error_reporting', E_ALL&~E_NOTICE); // 이 부분을
ini_set('error_reporting', E_ALL&~(E_NOTICE|E_STRICT)); // 이렇게
그후 [round URL]/installer 페이지로 들어가 설치 및 설정 시작
====== 설정 관련 ======
* 설치 후 username_domain 항목을 빈칸으로 해야 제대로 접속!!
* default_host를 obg.pe.kr 로 설정
* imap_auth_type을 PLAIN으로 설정
* smtp_server를 obg.pe.kr 로 설정
* 설정 완료 후 간단히 테스트
* config.inc.php 파일을 다운로드 받고 기호 확인 (마지막에 ?> 기호가 추가 안되어 있을 수 있다)
* {Roundcube 폴더}/config에 위 파일 복사
* config 폴더 권한 707로 변경
아래 사항은 굳이 하지 않아도 되는 것 같다.
* chmod 0600 /var/mail/* 실행 (http://wiki2.dovecot.org/Errors/ChgrpNoPerm)
====== 이메일 클라이언트 설정 ======
다음은 내 홈페이지에 대한 예.
**받는 메일 서버**
^ 호스트 이름 | mail.obg.co.kr |
^ 사용자 이름 | vfinger |
^ SSL 사용 | 사용 안함 |
^ 인증 | 암호 |
^ 서버 포트 | 143 |
**보내는 메일 서버**
^ 호스트 이름 | mail.obg.co.kr |
^ 사용자 이름 | vfinger |
^ SSL 사용 | 사용 안함 |
^ 인증 | 암호 |
^ 서버 포트 | 25 |
큰 어려움은 없을 것이다.
====== 참고 ======
* http://jo.centis1504.net/?p=54
* http://trac.roundcube.net/wiki/Howto_Install
* http://wiki.qnap.com/wiki/RoundCube_Configuration
* http://forums.zpanelcp.com/archive/index.php/t-5667.html - SMTP 서버 연결 에러 시 문제 해결