Unix/Solaris10

Squirrel Mail 설치 #2: cyrus IMAP 설정

ForceCore 2007. 1. 18. 05:41

# make install이 끝났으면,

 

http://cyrusimap.web.cmu.edu/imapd/install-configure.html

매뉴얼을 참고하라. 아래부터는 매뉴얼 중 필자가 한 것만 추린 것이다.

 

cyrus라는 사용자와 그룹을 만든다.

 

필자의

/etc/imapd.conf

 

-----------------------------------------

configdirectory: /var/imap
partition-default: /var/spool/imap
admins: postmaster
sasl_pwcheck_method: saslauthd

-----------------------------------------

 

이걸 쓰려면 saslauthd를 실행해야 하는데 이는 postfix 릴레이 설정을 하면서 한 바 있다.

이 블로그의 Solaris란의 postfix관련 글을 읽어보길 바란다....;;

 

cd /var
mkdir imap
chown cyrus imap
chgrp mail imap
chmod 750 imap

 

을 하여 imap용 디렉토리를 생성한다.

 

# su cyrus
$ tools/mkimap  (소스를 컴파일 한 디렉토리에서 하면 됨.)
$ exit

 

/etc/services에 없으면 추가:

imap      143/tcp

 

역시 소스를 컴파일 한 디렉토리에서

# cp master/conf/small.conf /etc/cyrus.conf

cyrus.conf를 선택하는 방법 역시 공식 매뉴얼 참고 -ㅠ-;;

small외 normal 등이 있다.


# /usr/cyrus/bin/master &

로 데몬 시작. init스크립트는 나중에...a