메일 서버 (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
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 930 | 19년 전 | 3545 | ||
| 929 |
|
19년 전 | 2705 | |
| 928 |
|
19년 전 | 3455 | |
| 927 |
|
19년 전 | 3443 | |
| 926 |
|
19년 전 | 3148 | |
| 925 | 19년 전 | 5434 | ||
| 924 |
|
19년 전 | 2169 | |
| 923 |
|
19년 전 | 2222 | |
| 922 |
|
19년 전 | 2315 | |
| 921 |
|
19년 전 | 3410 | |
| 920 | 19년 전 | 3708 | ||
| 919 |
|
19년 전 | 3746 | |
| 918 |
|
19년 전 | 2366 | |
| 917 |
|
19년 전 | 2400 | |
| 916 |
|
19년 전 | 2706 | |
| 915 | 19년 전 | 3050 | ||
| 914 | 19년 전 | 2461 | ||
| 913 | 19년 전 | 2627 | ||
| 912 | 19년 전 | 2461 | ||
| 911 | 19년 전 | 2216 | ||
| 910 | 19년 전 | 3247 | ||
| 909 | 19년 전 | 3307 | ||
| 908 | 19년 전 | 3041 | ||
| 907 |
|
19년 전 | 4875 | |
| 906 |
|
19년 전 | 2717 | |
| 905 |
|
19년 전 | 3318 | |
| 904 |
|
19년 전 | 3152 | |
| 903 |
|
19년 전 | 1997 | |
| 902 |
|
19년 전 | 3145 | |
| 901 |
|
19년 전 | 1878 | |
| 900 |
|
19년 전 | 2338 | |
| 899 |
|
19년 전 | 2404 | |
| 898 |
|
19년 전 | 3986 | |
| 897 |
|
19년 전 | 3188 | |
| 896 |
|
19년 전 | 3104 | |
| 895 |
|
19년 전 | 2542 | |
| 894 |
|
19년 전 | 2017 | |
| 893 |
|
19년 전 | 1650 | |
| 892 |
|
19년 전 | 2416 | |
| 891 |
|
19년 전 | 2330 | |
| 890 |
|
19년 전 | 1815 | |
| 889 |
|
19년 전 | 1812 | |
| 888 |
|
19년 전 | 2612 | |
| 887 |
|
19년 전 | 2582 | |
| 886 |
|
19년 전 | 1875 | |
| 885 |
|
19년 전 | 2114 | |
| 884 |
|
19년 전 | 3306 | |
| 883 |
|
19년 전 | 1953 | |
| 882 |
|
19년 전 | 2502 | |
| 881 |
|
19년 전 | 2582 | |
| 880 |
|
19년 전 | 2664 | |
| 879 |
|
19년 전 | 2939 | |
| 878 |
|
19년 전 | 2559 | |
| 877 |
|
19년 전 | 2984 | |
| 876 |
|
19년 전 | 2762 | |
| 875 |
|
19년 전 | 3523 | |
| 874 | 19년 전 | 1872 | ||
| 873 | 19년 전 | 2736 | ||
| 872 |
|
19년 전 | 2376 | |
| 871 |
|
19년 전 | 2019 | |
| 870 |
|
19년 전 | 2427 | |
| 869 |
|
19년 전 | 1873 | |
| 868 |
|
19년 전 | 5440 | |
| 867 |
|
19년 전 | 2265 | |
| 866 |
|
19년 전 | 4262 | |
| 865 |
|
19년 전 | 2303 | |
| 864 | 19년 전 | 1852 | ||
| 863 | 19년 전 | 2607 | ||
| 862 | 19년 전 | 2334 | ||
| 861 | 19년 전 | 2535 | ||
| 860 | 19년 전 | 2162 | ||
| 859 | 19년 전 | 3928 | ||
| 858 | 19년 전 | 3420 | ||
| 857 | 19년 전 | 2199 | ||
| 856 |
Power
|
19년 전 | 2107 | |
| 855 | 19년 전 | 1972 | ||
| 854 | 19년 전 | 2005 | ||
| 853 |
pearly
|
19년 전 | 4389 | |
| 852 |
pearly
|
19년 전 | 3358 | |
| 851 | 19년 전 | 2778 | ||
| 850 |
pearly
|
19년 전 | 3355 | |
| 849 |
pearly
|
19년 전 | 3014 | |
| 848 |
pearly
|
19년 전 | 2844 | |
| 847 | 19년 전 | 2368 | ||
| 846 |
|
19년 전 | 2176 | |
| 845 |
pearly
|
19년 전 | 2494 | |
| 844 | 19년 전 | 3105 | ||
| 843 | 19년 전 | 2134 | ||
| 842 |
pearly
|
19년 전 | 3124 | |
| 841 |
pearly
|
19년 전 | 3248 | |
| 840 | 19년 전 | 2929 | ||
| 839 |
|
19년 전 | 1942 | |
| 838 |
|
19년 전 | 1707 | |
| 837 |
|
19년 전 | 2330 | |
| 836 |
|
19년 전 | 2272 | |
| 835 |
|
19년 전 | 1649 | |
| 834 |
|
19년 전 | 1667 | |
| 833 |
|
19년 전 | 1574 | |
| 832 |
|
19년 전 | 2068 | |
| 831 |
|
19년 전 | 1616 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기