메일 서버 (SMTP, POP3) 설정
CentOS 4.4 Server 에서 sendmail, dovecot 을 이용해서 메일 서버 설정을 해봤습니다.
물론 DNS 에 메일서버(MX) 설정은 되어 있어야겠죠? ^^
1. Sendmail, Dovecot 설치
yum install sendmail sendmail-cf dovecot
2. Sendmail 설정
/etc/mail/sendmail.mc 수정
로컬 이외 relay 허용 - 아래 부분 주석 처리 (dnl 추가)
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
=>dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
stmp 인증 - 아래 부분 주석 제거 (dnl 삭제)
dnl TRUST_AUTH_MECH(`EXTERNAL DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
dnl define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
=> TRUST_AUTH_MECH(`EXTERNAL DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
sendmail.mc 적용
m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
최종수신지 도메인 설정 ( /etc/mail/local-host-names )
rinapc.com RELAY
스팸 방지, 가상 메일
Spam 방지 ( /etc/mail/access )
rinapc.com RELAY
makemap hash /etc/mail/virtualusertable.db < /etc/mail/access <- access 적용 access.db 파일 생성
또는 /etc/mail 디렉토리에서 간단히 make
가상 메일 ( /etc/mail/virtualusertable )
webmaster@rinapc.com root
webmaster@rinapc.com으로 오는 메일은 root 라는 실제계정이 받게 함
makemap hash /etc/mail/virtualusertable.db < /etc/mail/virtualusertable
또는 /etc/mail 디렉토리에서 간단히 make
3. Dovecot 설정
/etc/dovecot.conf
protocols = pop3 <- imap 제외 pop3 만 사용
pop3_listen = * <- ipv6 사용 안 하고 ipv4 만 사용
4. Daemon 시작
/etc/init.d/sendmail start
/etc/init.d/saslauthd start <- smtp 인증을 위해 필요
/etc/init.d/dovecot start
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 7630 | 10년 전 | 679 | ||
| 7629 |
|
10년 전 | 2439 | |
| 7628 | 10년 전 | 816 | ||
| 7627 |
|
10년 전 | 1053 | |
| 7626 |
|
10년 전 | 1806 | |
| 7625 | 10년 전 | 742 | ||
| 7624 | 10년 전 | 751 | ||
| 7623 |
|
10년 전 | 3140 | |
| 7622 | 10년 전 | 754 | ||
| 7621 |
leeleeleelee
|
10년 전 | 609 | |
| 7620 | 10년 전 | 556 | ||
| 7619 | 10년 전 | 524 | ||
| 7618 | 10년 전 | 1060 | ||
| 7617 | 10년 전 | 742 | ||
| 7616 | 10년 전 | 680 | ||
| 7615 | 10년 전 | 745 | ||
| 7614 | 10년 전 | 1286 | ||
| 7613 |
|
10년 전 | 2102 | |
| 7612 | 10년 전 | 1184 | ||
| 7611 | 10년 전 | 1447 | ||
| 7610 |
|
10년 전 | 1925 | |
| 7609 |
|
10년 전 | 1381 | |
| 7608 |
mwdkim
|
10년 전 | 1154 | |
| 7607 |
|
10년 전 | 1084 | |
| 7606 |
mwdkim
|
10년 전 | 3960 | |
| 7605 | 10년 전 | 708 | ||
| 7604 | 10년 전 | 1045 | ||
| 7603 | 10년 전 | 1665 | ||
| 7602 |
|
10년 전 | 1097 | |
| 7601 |
AniNest
|
10년 전 | 2813 | |
| 7600 |
port443
|
10년 전 | 1056 | |
| 7599 | 10년 전 | 964 | ||
| 7598 | 10년 전 | 1042 | ||
| 7597 | 10년 전 | 4590 | ||
| 7596 |
SeungYeon
|
10년 전 | 912 | |
| 7595 |
untitled
|
10년 전 | 2460 | |
| 7594 |
프로그래머7
|
10년 전 | 1750 | |
| 7593 |
untitled
|
10년 전 | 2393 | |
| 7592 |
untitled
|
10년 전 | 1958 | |
| 7591 |
untitled
|
10년 전 | 2695 | |
| 7590 |
아리마2001
|
10년 전 | 874 | |
| 7589 | 10년 전 | 1125 | ||
| 7588 |
|
10년 전 | 2940 | |
| 7587 | 10년 전 | 1323 | ||
| 7586 | 10년 전 | 687 | ||
| 7585 | 10년 전 | 1724 | ||
| 7584 | 10년 전 | 1425 | ||
| 7583 |
leeleeleelee
|
10년 전 | 1194 | |
| 7582 |
|
10년 전 | 1154 | |
| 7581 | 10년 전 | 1383 | ||
| 7580 | 10년 전 | 1033 | ||
| 7579 |
|
10년 전 | 626 | |
| 7578 | 10년 전 | 1444 | ||
| 7577 |
|
10년 전 | 1892 | |
| 7576 | 10년 전 | 1402 | ||
| 7575 |
멋진남자임
|
10년 전 | 1483 | |
| 7574 | 10년 전 | 2147 | ||
| 7573 | 10년 전 | 3285 | ||
| 7572 | 10년 전 | 782 | ||
| 7571 |
|
10년 전 | 798 | |
| 7570 |
|
10년 전 | 1345 | |
| 7569 | 10년 전 | 1568 | ||
| 7568 |
this1mg
|
10년 전 | 1067 | |
| 7567 |
|
10년 전 | 785 | |
| 7566 | 10년 전 | 930 | ||
| 7565 |
Angel하늘
|
10년 전 | 1035 | |
| 7564 |
seoldi
|
10년 전 | 1279 | |
| 7563 |
|
10년 전 | 1418 | |
| 7562 |
멋진남자임
|
10년 전 | 2119 | |
| 7561 | 10년 전 | 741 | ||
| 7560 |
leeleeleelee
|
10년 전 | 934 | |
| 7559 | 10년 전 | 5073 | ||
| 7558 |
RinaP
|
10년 전 | 812 | |
| 7557 |
|
10년 전 | 1272 | |
| 7556 | 10년 전 | 1214 | ||
| 7555 |
hyohyojj1234
|
10년 전 | 1681 | |
| 7554 | 10년 전 | 1112 | ||
| 7553 |
senseme
|
10년 전 | 1362 | |
| 7552 |
ehdltdoit
|
10년 전 | 1458 | |
| 7551 |
|
10년 전 | 1846 | |
| 7550 |
leeleeleelee
|
10년 전 | 1618 | |
| 7549 | 10년 전 | 2448 | ||
| 7548 | 10년 전 | 1857 | ||
| 7547 |
멋진남자임
|
10년 전 | 1981 | |
| 7546 | 10년 전 | 1023 | ||
| 7545 |
ILMare1003
|
10년 전 | 1315 | |
| 7544 |
|
10년 전 | 1270 | |
| 7543 | 10년 전 | 904 | ||
| 7542 | 10년 전 | 682 | ||
| 7541 |
울라라라우
|
10년 전 | 886 | |
| 7540 | 10년 전 | 1610 | ||
| 7539 | 10년 전 | 958 | ||
| 7538 |
|
10년 전 | 1848 | |
| 7537 | 10년 전 | 3636 | ||
| 7536 |
Gaumi
|
10년 전 | 1446 | |
| 7535 |
프로그램은어려워
|
10년 전 | 1299 | |
| 7534 |
senseme
|
10년 전 | 1222 | |
| 7533 | 10년 전 | 1224 | ||
| 7532 | 10년 전 | 892 | ||
| 7531 | 10년 전 | 2081 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기