메일 서버 (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
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 1730 | 17년 전 | 1179 | ||
| 1729 | 17년 전 | 1596 | ||
| 1728 | 17년 전 | 1668 | ||
| 1727 | 17년 전 | 1811 | ||
| 1726 | 17년 전 | 2948 | ||
| 1725 | 17년 전 | 2084 | ||
| 1724 |
|
17년 전 | 1766 | |
| 1723 |
끝없는사랑
|
17년 전 | 2103 | |
| 1722 |
끝없는사랑
|
17년 전 | 1807 | |
| 1721 | 17년 전 | 3340 | ||
| 1720 | 17년 전 | 1523 | ||
| 1719 | 17년 전 | 1645 | ||
| 1718 |
사랑합니다
|
17년 전 | 1362 | |
| 1717 | 17년 전 | 2178 | ||
| 1716 | 17년 전 | 3132 | ||
| 1715 |
|
17년 전 | 2270 | |
| 1714 |
|
17년 전 | 1726 | |
| 1713 | 17년 전 | 2975 | ||
| 1712 | 17년 전 | 4419 | ||
| 1711 | 17년 전 | 1735 | ||
| 1710 | 17년 전 | 3235 | ||
| 1709 |
jeans
|
17년 전 | 1562 | |
| 1708 |
|
17년 전 | 3473 | |
| 1707 | 17년 전 | 5835 | ||
| 1706 |
|
17년 전 | 1415 | |
| 1705 |
|
17년 전 | 2153 | |
| 1704 | 17년 전 | 1787 | ||
| 1703 |
심심맨닷컴
|
17년 전 | 1532 | |
| 1702 | 17년 전 | 2413 | ||
| 1701 |
|
17년 전 | 2616 | |
| 1700 | 17년 전 | 1592 | ||
| 1699 | 17년 전 | 2681 | ||
| 1698 |
RedRiverFisher
|
17년 전 | 3163 | |
| 1697 |
심심맨닷컴
|
17년 전 | 1517 | |
| 1696 |
eclub
|
17년 전 | 1932 | |
| 1695 | 17년 전 | 3839 | ||
| 1694 |
깜장고무신
|
17년 전 | 4474 | |
| 1693 |
stuartkim
|
17년 전 | 1869 | |
| 1692 |
stuartkim
|
17년 전 | 1721 | |
| 1691 |
|
17년 전 | 2660 | |
| 1690 | 17년 전 | 1841 | ||
| 1689 | 17년 전 | 3927 | ||
| 1688 | 17년 전 | 1636 | ||
| 1687 | 16년 전 | 1921 | ||
| 1686 |
|
17년 전 | 2254 | |
| 1685 | 17년 전 | 2103 | ||
| 1684 |
|
17년 전 | 3564 | |
| 1683 |
leeLook
|
17년 전 | 1582 | |
| 1682 | 17년 전 | 2651 | ||
| 1681 | 17년 전 | 1636 | ||
| 1680 | 17년 전 | 1901 | ||
| 1679 | 17년 전 | 7417 | ||
| 1678 | 17년 전 | 1993 | ||
| 1677 | 17년 전 | 4084 | ||
| 1676 | 17년 전 | 2414 | ||
| 1675 | 17년 전 | 2423 | ||
| 1674 | 17년 전 | 2144 | ||
| 1673 | 17년 전 | 2195 | ||
| 1672 | 17년 전 | 2617 | ||
| 1671 | 17년 전 | 3211 | ||
| 1670 | 17년 전 | 5321 | ||
| 1669 |
플래시007
|
17년 전 | 2771 | |
| 1668 |
|
17년 전 | 2692 | |
| 1667 | 17년 전 | 2543 | ||
| 1666 |
|
17년 전 | 1790 | |
| 1665 | 17년 전 | 2197 | ||
| 1664 | 17년 전 | 5301 | ||
| 1663 |
|
17년 전 | 3013 | |
| 1662 |
|
17년 전 | 2578 | |
| 1661 |
|
17년 전 | 3249 | |
| 1660 |
|
17년 전 | 2466 | |
| 1659 |
|
17년 전 | 2826 | |
| 1658 | 17년 전 | 5868 | ||
| 1657 | 17년 전 | 2624 | ||
| 1656 |
Piece
|
17년 전 | 2017 | |
| 1655 |
|
17년 전 | 2646 | |
| 1654 | 17년 전 | 1474 | ||
| 1653 | 17년 전 | 9793 | ||
| 1652 | 17년 전 | 4451 | ||
| 1651 | 17년 전 | 3281 | ||
| 1650 | 17년 전 | 1808 | ||
| 1649 | 17년 전 | 3599 | ||
| 1648 | 17년 전 | 2281 | ||
| 1647 | 17년 전 | 3726 | ||
| 1646 | 17년 전 | 5179 | ||
| 1645 | 17년 전 | 3828 | ||
| 1644 | 17년 전 | 2668 | ||
| 1643 | 17년 전 | 2932 | ||
| 1642 | 17년 전 | 2442 | ||
| 1641 | 17년 전 | 2781 | ||
| 1640 |
porgy
|
17년 전 | 1897 | |
| 1639 | 17년 전 | 3436 | ||
| 1638 |
컴퓨터기술자
|
17년 전 | 2134 | |
| 1637 |
|
17년 전 | 2257 | |
| 1636 | 17년 전 | 2072 | ||
| 1635 | 17년 전 | 3043 | ||
| 1634 |
귀여운현호
|
17년 전 | 1994 | |
| 1633 |
태양의서쪽
|
17년 전 | 2665 | |
| 1632 | 17년 전 | 3863 | ||
| 1631 | 17년 전 | 4563 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기