메일 서버 (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
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 8030 | 9년 전 | 339 | ||
| 8029 | 9년 전 | 280 | ||
| 8028 | 9년 전 | 247 | ||
| 8027 | 9년 전 | 262 | ||
| 8026 | 9년 전 | 300 | ||
| 8025 | 9년 전 | 359 | ||
| 8024 | 9년 전 | 324 | ||
| 8023 | 9년 전 | 377 | ||
| 8022 | 9년 전 | 304 | ||
| 8021 | 9년 전 | 302 | ||
| 8020 | 9년 전 | 300 | ||
| 8019 | 9년 전 | 326 | ||
| 8018 | 9년 전 | 425 | ||
| 8017 | 9년 전 | 524 | ||
| 8016 | 9년 전 | 313 | ||
| 8015 | 9년 전 | 375 | ||
| 8014 | 9년 전 | 311 | ||
| 8013 | 9년 전 | 219 | ||
| 8012 | 9년 전 | 236 | ||
| 8011 | 9년 전 | 433 | ||
| 8010 | 9년 전 | 286 | ||
| 8009 | 9년 전 | 273 | ||
| 8008 | 9년 전 | 274 | ||
| 8007 | 9년 전 | 415 | ||
| 8006 | 9년 전 | 451 | ||
| 8005 |
|
9년 전 | 950 | |
| 8004 | 9년 전 | 334 | ||
| 8003 | 9년 전 | 400 | ||
| 8002 | 9년 전 | 309 | ||
| 8001 |
|
9년 전 | 650 | |
| 8000 | 9년 전 | 397 | ||
| 7999 | 9년 전 | 361 | ||
| 7998 | 9년 전 | 412 | ||
| 7997 | 9년 전 | 297 | ||
| 7996 | 9년 전 | 526 | ||
| 7995 | 9년 전 | 430 | ||
| 7994 | 9년 전 | 272 | ||
| 7993 | 9년 전 | 355 | ||
| 7992 | 9년 전 | 493 | ||
| 7991 | 9년 전 | 231 | ||
| 7990 | 9년 전 | 255 | ||
| 7989 | 9년 전 | 288 | ||
| 7988 | 9년 전 | 712 | ||
| 7987 | 9년 전 | 405 | ||
| 7986 | 9년 전 | 397 | ||
| 7985 | 9년 전 | 485 | ||
| 7984 | 9년 전 | 417 | ||
| 7983 | 9년 전 | 637 | ||
| 7982 | 9년 전 | 500 | ||
| 7981 | 9년 전 | 446 | ||
| 7980 | 9년 전 | 471 | ||
| 7979 | 9년 전 | 445 | ||
| 7978 | 9년 전 | 423 | ||
| 7977 | 9년 전 | 358 | ||
| 7976 | 9년 전 | 828 | ||
| 7975 | 9년 전 | 350 | ||
| 7974 | 9년 전 | 376 | ||
| 7973 | 9년 전 | 581 | ||
| 7972 | 9년 전 | 369 | ||
| 7971 | 9년 전 | 434 | ||
| 7970 | 9년 전 | 283 | ||
| 7969 | 9년 전 | 529 | ||
| 7968 | 9년 전 | 366 | ||
| 7967 | 9년 전 | 348 | ||
| 7966 | 9년 전 | 348 | ||
| 7965 |
|
9년 전 | 1000 | |
| 7964 | 9년 전 | 387 | ||
| 7963 | 9년 전 | 372 | ||
| 7962 | 9년 전 | 354 | ||
| 7961 |
전갈자리남자
|
9년 전 | 495 | |
| 7960 | 9년 전 | 946 | ||
| 7959 | 9년 전 | 538 | ||
| 7958 | 9년 전 | 393 | ||
| 7957 | 9년 전 | 351 | ||
| 7956 | 9년 전 | 361 | ||
| 7955 | 9년 전 | 423 | ||
| 7954 | 9년 전 | 351 | ||
| 7953 | 9년 전 | 411 | ||
| 7952 | 9년 전 | 333 | ||
| 7951 | 9년 전 | 475 | ||
| 7950 | 9년 전 | 367 | ||
| 7949 | 9년 전 | 376 | ||
| 7948 | 9년 전 | 312 | ||
| 7947 | 9년 전 | 914 | ||
| 7946 | 9년 전 | 408 | ||
| 7945 | 9년 전 | 370 | ||
| 7944 | 9년 전 | 380 | ||
| 7943 | 9년 전 | 355 | ||
| 7942 | 9년 전 | 390 | ||
| 7941 | 9년 전 | 372 | ||
| 7940 | 9년 전 | 861 | ||
| 7939 | 9년 전 | 312 | ||
| 7938 | 9년 전 | 357 | ||
| 7937 | 9년 전 | 260 | ||
| 7936 | 9년 전 | 865 | ||
| 7935 | 9년 전 | 412 | ||
| 7934 | 9년 전 | 384 | ||
| 7933 | 9년 전 | 460 | ||
| 7932 | 9년 전 | 432 | ||
| 7931 | 9년 전 | 497 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기