local6.debug /var/adm/imapd.log auth.debug /var/adm/auth.log
configdirectory: /var/imap partition-default: /var/spool/imap admins: cyrus root srvtab: /var/imap/srvtab allowanonymouslogin: no sasl_passwd_check: shadow
À̵é ÀÛ¾÷Àº imap ¿¡¼ »ç¿ëÇÒ µð·ºÅ丮µéÀ» ¼³Á¤Çϱâ À§ÇÑ °ÍÀÔ´Ï´Ù.
mkdir /var/adm
touch /var/adm/imapd.log /var/adm/auth.log
mkdir /var/imap /var/spool/imap /var/imap/srvtab
chown cyrus /var/imap /var/spool/imap /var/imap/srvtab
chgrp mail /var/imap /var/spool/imap /var/imap/srvtab
chmod 750 /var/imap /var/spool/imap /var/imap/srvtab
su cyrus
ÀÌÁ¦ cyrus ¶ó´Â À¯Àú »óÅ°¡ µÇ¾úÀ» °ÍÀÔ´Ï´Ù. ÀÌ´Â ÆÄÀÏÀÇ ¼ÒÀ¯±Ç ¹®Á¦ ¶§¹®¿¡ ÇÊ¿äÇÑ °úÁ¤ÀÔ´Ï´Ù. °è¼Ó ÀÛ¾÷À» ÁøÇàÇÕ´Ï´Ù:
tools/mkimap
cd /var/imap
chattr +S . user quota user/* quota/*
chattr +S /var/spool/imap
exit
ÀÌÁ¦ ´Ù½Ã root ·Î µ¹¾Æ¿Ô½À´Ï´Ù. ¸¶Áö¸·À¸·Î ´ÙÀ½ ¸í·ÉÀ» ½ÇÇàÇÕ´Ï´Ù.
chattr +S /var/spool/mqueue
pop3 110/tcp imap 143/tcp imsp 406/tcp kpop 1109/tcp sieve 2000/tcp
imap stream tcp nowait cyrus /usr/cyrus/bin/imapd imapd pop3 stream tcp nowait cyrus /usr/cyrus/bin/imapd pop3d
MAILER(local) MAILER(cyrus) define(`confLOCAL_MAILER',`cyrus') LOCAL_RULE_0 R$=N $: $#local $: $1 R$=N < @ $=w . > $: $#local $: $1 Rbb + $+ < @ $=w . > $#cyrusbb $: $1µ¥ÀÌÅ͸¦ ±¸ºÐÇϱâ À§Çؼ´Â ÅÇÀ» »ç¿ëÇÕ´Ï´Ù(¿¹¸¦ µé¾î R$=N ¿Í $: $#local $: $1 »çÀÌ¿¡´Â ¼¼ °³ÀÇ ÅÇÀÌ µé¾î°©´Ï´Ù). ±×¸®°í´Â ´ÙÀ½°ú °°ÀÌ ½ÇÇàÇϼ¼¿ä:
m4 sendmail.mc > sendmail.cf
Postfix´Â sendmail °ú °°Àº ¸ÞÀÏ Àü¼Û ÇÁ·Î±×·¥ÀÔ´Ï´Ù. ´ëºÎºÐÀÇ ¸®´ª½º ¸Ó½Å¿¡´Â sendmailÀÌ ±âº»À¸·Î ¼³Ä¡µÇ¾î ÀÖ½À´Ï´Ù. ¸¸¾à ¿©·¯ºÐÀÌ postfix ¸¦ »ç¿ëÇϽŴٸé À§ÀÇ ¼³Á¤ ´Ü°è °¡¿îµ¥ ¼¼¹ø° ´Ü°è¸¦ ¹«½ÃÇÏ°í ´ÙÀ½ ³»¿ëÀ» /etc/postfix/master.cf¿¡ Ãß°¡ÇϽñ⠹ٶø´Ï´Ù.
cyrus unix - n n - - pipe flags=R user=cyrus argv=/usr/sbin/cyrdeliver -e -m ${extension} ${user}
¶ÇÇÑ ´ÙÀ½ ³»¿ëÀ» /etc/postfix/main.cf¿¡µµ Ãß°¡ÇÕ´Ï´Ù.
local_transport = cyrus