E D R , A S I H C RSS

FrontPage qmail

* qmail
설치전 MTA 삭제 (선택사양)
# emerge -C sendmail postfix ssmtp

qmail 과 courier-imap 설치
# emerge qmail courier-imap

개인정보입력
# vi /var/qmail/control/servercert.cnf

config 파일 빌드
# ebuild /var/db/pkg/mail-mta/qmail-1.03-r13/qmail-1.03-r13.ebuild config

root 메일을 tongseob ID 로 받기
# cd /var/qmail/alias
# echo tongseob > .qmail-root
# echo tongseob > .qmail-postmaster
# echo tongseob > .qmail-mailer-daemon

서비스등록
# rc-update add svscan default
# /etc/init.d/svscan start
# cd /service
# ln -s /var/qmail/supervise/qmail-send qmail-send

전송 테스트 (그대로입력)
# ssh tongseob@localhost
# maildirmake .maildir
# qmail-inject root << EOF
test root e-mail!
EOF
# qmail-inject postmaster << EOF
test postmaster e-mail!
EOF
# qmail-inject tongseob << EOF
test tongseob e-mail!
EOF
# mutt
(You should now have 3 e-mails in your inbox)

qmail 도메인 세팅
# cd /var/qmail/control
# hostname --fqdn
ns.kkanari.info
# cat me
kkanari.info
# cat defaultdomain
kkanari.info
# cat plusdomain
kkanari.info
# cat locals
mail.kkanari.info
# cat rcpthosts
mail.kkanari.info
kkanari.info

* Courier POP/IMAP
courer-imap 설치
# emerge net-mail/courier-imap

인증관련 세팅
# cd /etc/courier-imap
# nano authdaemonrc

smtp-auth
# cd /var/qmail/control
# vi conf-smtpd
QMAIL_SMTP_CHECKPASSWORD="/bin/checkpassword" 추가

vpopmail 세팅
(Set the authmodulelist variable to only contain "authvchkpw")

pop3/pop3s 세팅
# nano pop3d.cnf
(Edit the req_dn section)
# mkpop3dcert
# rc-update add courier-pop3d-ssl default
# /etc/init.d/courier-pop3d-ssl start

imap/imaps 세팅
# cd /etc/courier-imap
# nano imapd.cnf
(Edit the req_dn section)
# mkimapdcert
# rc-update add courier-imapd-ssl default
# /etc/init.d/courier-imapd-ssl start
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2005-01-11 17:42:30
Processing time 0.0220 sec