컴퓨터/Network2011. 8. 24. 15:15

 


 

--------------------------------------------------
R1족보
enable
conf t
hostname r1
interface s1/0
ip address 192.168.100.1 255.255.255.252
clock rate 56000
no shutdown
exit
interface f2/0
ip address 192.168.10.30 255.255.255.224
no shutdown
exit
router eigrp 100
no auto-summary
network 192.168.100.0
network 192.168.10.0 0.0.0.31
end
wr me


R2족보
enable
conf t
hostname r2
interface s1/0
ip address 192.168.100.2 255.255.255.252
clock rate 56000
no shutdown
exit
interface f2/0
ip address 192.168.10.46 255.255.255.240
no shutdown
exit
router eigrp 100
no auto-summary
network 192.168.100.0
network 192.168.10.32 0.0.0.15
end
wr me
--------------------------------------------------



Linux server(192.168.10.10)
DNS (abc.com)
Sendmail
Dovecot

--------------------------------------------------
DNS 구축은 생략하겠다
--------------------------------------------------

--------------------------------------------------
Sendmail 셋팅

DNS 존파일 수정

Sendmail과 Dovecot(미리) 설치
# yum -y install sendmail dovecot


# vi /etc/hosts

192.168.10.10 추가


# vi /etc/mail/local-host-names

mail.abc.com 추가
abc.com 추가


# vi /etc/mail/sendmail.mc

dnl 주석 제거


127.0.0.1 -> 0.0.0.0 변경


# service saslauthd restart

# vi /etc/mail/access

선택영역 추가

# makemap hash /etc/mail/access < /etc/mail/access
# m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
# service sendmail restart
--------------------------------------------------
Dovecot 셋팅

# vi /etc/dovecot.conf

주석 제거 및 수정

# service dovecot restart
--------------------------------------------------

메일 확인

먼저 mail1, mail2 유저를 만든다
# useradd mail1
# passwd mail1
# useradd mail2
# passwd mail2
패스워드는 "1111"로 하겠다

-중간 생략-
Linux에는 mail1로 등록하였고
win2003에는 mail2로 등록하였다



잘 보내고 잘 받아졌다


끝~~~~~~~~~~~~~
Posted by CIY