메일 서버 (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
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 1030 | 18년 전 | 1792 | ||
| 1029 | 18년 전 | 2227 | ||
| 1028 | 18년 전 | 2634 | ||
| 1027 | 18년 전 | 1797 | ||
| 1026 | 18년 전 | 1536 | ||
| 1025 | 18년 전 | 1545 | ||
| 1024 | 18년 전 | 1470 | ||
| 1023 | 18년 전 | 3231 | ||
| 1022 | 18년 전 | 2919 | ||
| 1021 | 18년 전 | 1680 | ||
| 1020 | 18년 전 | 3420 | ||
| 1019 | 18년 전 | 1846 | ||
| 1018 | 18년 전 | 1498 | ||
| 1017 | 18년 전 | 1963 | ||
| 1016 | 18년 전 | 2103 | ||
| 1015 | 18년 전 | 1642 | ||
| 1014 | 18년 전 | 2352 | ||
| 1013 | 18년 전 | 2007 | ||
| 1012 | 18년 전 | 1632 | ||
| 1011 | 18년 전 | 1788 | ||
| 1010 | 18년 전 | 2044 | ||
| 1009 | 18년 전 | 1809 | ||
| 1008 | 18년 전 | 1625 | ||
| 1007 | 18년 전 | 1670 | ||
| 1006 | 18년 전 | 3140 | ||
| 1005 | 18년 전 | 2006 | ||
| 1004 | 18년 전 | 1876 | ||
| 1003 | 18년 전 | 4372 | ||
| 1002 | 18년 전 | 4998 | ||
| 1001 | 18년 전 | 3168 | ||
| 1000 | 18년 전 | 2917 | ||
| 999 | 19년 전 | 3506 | ||
| 998 | 19년 전 | 2055 | ||
| 997 | 19년 전 | 2417 | ||
| 996 | 19년 전 | 2707 | ||
| 995 | 19년 전 | 2764 | ||
| 994 | 19년 전 | 2354 | ||
| 993 | 19년 전 | 1621 | ||
| 992 | 19년 전 | 3384 | ||
| 991 | 19년 전 | 1998 | ||
| 990 | 19년 전 | 2393 | ||
| 989 | 19년 전 | 2464 | ||
| 988 | 19년 전 | 2892 | ||
| 987 | 19년 전 | 5226 | ||
| 986 |
|
19년 전 | 2500 | |
| 985 |
|
19년 전 | 3351 | |
| 984 | 19년 전 | 4280 | ||
| 983 |
느낌좋은날
|
19년 전 | 2510 | |
| 982 | 19년 전 | 2475 | ||
| 981 | 19년 전 | 4044 | ||
| 980 | 19년 전 | 2753 | ||
| 979 |
Sinpre
|
19년 전 | 3003 | |
| 978 | 19년 전 | 2212 | ||
| 977 | 19년 전 | 2225 | ||
| 976 | 19년 전 | 1995 | ||
| 975 | 19년 전 | 3276 | ||
| 974 | 19년 전 | 2112 | ||
| 973 |
|
19년 전 | 2797 | |
| 972 |
|
19년 전 | 1750 | |
| 971 | 19년 전 | 5324 | ||
| 970 | 19년 전 | 3581 | ||
| 969 | 19년 전 | 4329 | ||
| 968 | 19년 전 | 3071 | ||
| 967 | 19년 전 | 2530 | ||
| 966 | 19년 전 | 3932 | ||
| 965 | 19년 전 | 2665 | ||
| 964 | 19년 전 | 3002 | ||
| 963 | 19년 전 | 2972 | ||
| 962 | 19년 전 | 4189 | ||
| 961 | 19년 전 | 3133 | ||
| 960 | 19년 전 | 3030 | ||
| 959 | 19년 전 | 3686 | ||
| 958 | 19년 전 | 2980 | ||
| 957 | 19년 전 | 2195 | ||
| 956 | 19년 전 | 2227 | ||
| 955 | 19년 전 | 2182 | ||
| 954 | 19년 전 | 2772 | ||
| 953 | 19년 전 | 2484 | ||
| 952 | 19년 전 | 3355 | ||
| 951 | 19년 전 | 3214 | ||
| 950 | 19년 전 | 1829 | ||
| 949 | 19년 전 | 2741 | ||
| 948 | 19년 전 | 7830 | ||
| 947 |
|
19년 전 | 2504 | |
| 946 |
DeepnBlue
|
19년 전 | 3116 | |
| 945 |
pearly
|
19년 전 | 2890 | |
| 944 | 19년 전 | 3031 | ||
| 943 |
|
19년 전 | 2237 | |
| 942 | 19년 전 | 2455 | ||
| 941 |
|
19년 전 | 4080 | |
| 940 | 19년 전 | 2235 | ||
| 939 |
|
19년 전 | 4222 | |
| 938 |
|
19년 전 | 2387 | |
| 937 | 19년 전 | 2087 | ||
| 936 |
|
19년 전 | 2332 | |
| 935 | 19년 전 | 1880 | ||
| 934 |
|
19년 전 | 2413 | |
| 933 | 19년 전 | 2207 | ||
| 932 |
|
19년 전 | 3078 | |
| 931 | 19년 전 | 1867 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기