MAIL / NFS 관리

2019. 9. 27. 22:19정보보안과정/리눅스 서버 관리자

190927
=========================
Chapter 06. MAIL 서버 관리
=========================

용어
MUX(Mail User Agent) - outlook, evolution, thunderbird
MTA(Mail Transfer Agent) - MS Exchange, sendmail, qmail, postfix

ESMTP(Extended Simple Mail Transfer Protocol)
POP3(Post Office Protocol 3)
IMAP4(Internet Message Access Protocol 4)

MAIL Server(sendmail)
software: sendmail, sendmail-cf
Daemon & Port & Protocol : sendmail(25/tcp)
Conf File(주 설정파일) : /etc/mail//sendmail.cf
Sub Conf File : /etc/mail/*, /etc/aliases
Startup Script : /etc/init.d/sendmail

POP3/IMAP4 Server(dovecot)
Software : dovecot
Daemon & Port & Protocol : dovecot (110/tcp, 143/tcp)
Conf File(주 설정파일) : /etc/dovecot.conf
Startup Script : /etc/init.d/dovecot

/etc/mail/access:    <- 설정
/etc/mail/access.db: <- 적용


[실습] SMTP/ESMTP 명령어
[실습] POP3 명령어 사용법
[실습] 메일 서버 구축
[실습] 메일 보내기 실습
* L -> L, L -> R, R -> L
[실습] 메일 포워딩 실습
[실습] 메일 메일링 리스트 실습
[실습] mail 클라이언트 프로그램 사용법
* (GUI) evolutionm
* (TUI) mutt
* (CLI) mail/mailx
[실습] 웹메일(Web Mail)
# yum -y install squirrelmail
# chown apache:apache -R /usr/share/squirrelmail
# chown apache:apache /etc/squirrelmail/config.php
# chown apache:apache -R /var/lib/squirrelmail
# chown apache:apache -R /var/spool/squirrelmail
# /usr/share/squirrelmail/config/config.pl
# vi /etc/httpd/conf/httpd.conf
Alias /webmail/ /user/share/squirrelmail/
[참고] 스팸 차단 소프트웨어(Spamassasin)
[참고] 안티 바이러스 소프트웨어(ClamAV)

# mail -v mail200@example.com
# telnet localhost 25

# mutt -f pop://mail200@mail.example.com
# telnet localhost 110

/var/named/chroot/var/named/example.zone .rev


=========================
Chapter 07. NFS 서버 관리
=========================

용어
분산 파일 시스템(Distributed File System)
* NFS
* SMB/CIFS

NFS 서버
Software: nfs-utils (핵심적인내용 다 들어있음(명령어, 서버설정파일))
  nfs-utils-lib, System-config-nfs
Daemon & Port & Protocol : 
NFSv2 : UDP(mountd(32768), nfsd(2049))
NFSv3 : UDP/TCP(mountd(32768), nfsd(2049))
NFSv4 : TCP(nfsd(2049))
Conf File : /etc/exports
Startup Script : /etc/init.d/nfs

NFS 서버 파일
* /etc/exports
* /etc/fstab -> 부팅시 마운트 할 만한 정보

NFS 관련 명령어
* exportfs CMD
# exportfs -v
* showmount CMD
# showmount -e 172.16.6.2XX
* mount CMD
# mount -o intr,timeo=15 172.16.6.2XX:/share /mnt/share
[실습] NFS 서버 구축(EX: 공유디렉토리 172.17.6.0(공유옵션))
[실습] system-config-nfs
[실습] NFS 클라이언트에서 root 사용자가 마운트하는 겨웅
* root_squash/no_root/squash

'정보보안과정 > 리눅스 서버 관리자' 카테고리의 다른 글

LogServer  (0) 2019.10.01
SAMBA  (0) 2019.09.30
MAIL 서버 관리  (0) 2019.09.26
백업관리  (0) 2019.09.18
스케줄링관리 / 백업관리  (0) 2019.09.17