메일서버 구축 2 thundermail,squirrelmail

리눅스 보안구축|2020. 11. 30. 17:43

세컨드에서

mail-cf dovecot

vim /etc/mail/sendmail.cf

 

85 tak.com

264 127.0.0.1 삭제

systmectl restart sendmail

 

 

 

 

vim /etc/mail/access

makemap hash /etc/mail/access < /etc/mail/access

수정한걸 넘겨주는!

 

 

 

 

 

 

 

 

vim /etc/dovecot/dovecot.conf

 

 

24.33번 주석제거 퍼스트

24.30.33번 주석제거 퍼스트

 

systemctl restart dovecot

 

 

 

 

 

vim /etc/dovecot/conf.d/10-ssl.conf

8번 ssl =yes

 

 

 

 

 

vim /etc/dovecot/conf.d/10-mail.conf

25,166 주석제거

121 = mail 로바꾸기

 

 

 

 

 

 

vim /etc/dovecot/conf.d/10-auth.conf

systemctl restart dovecot

systemctl restart sendmail

systemctl enable sendmail

systemctl enable dovecot

 

 

세번쨰에서--------------------------

cat /etc/resolv.conf

 

yum -y install thunderbird

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

----------------퍼스트에서

 

squirrelmail

 

 

 

 

 

 

 

yum -y install httpd

systemctl restart httpd

 

yum -y install squirrelmail*

 

 

 

wget http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/20/Everything/x86_64/os/Packages/s/squirrel-2.2.5-4.fc20.x86_64.rpm

 

or

 

wget http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/20/Everything/x86_64/os/Packages/s/squirrelmail-1.4.22-13.fc20.noarch.rpm

 

 

 

yum -y localinstall squir*

 

 

yum -y --skip-broken

cd /usr/share

 

yum -y install squir

 

 

 

 

 

 

 

 

 

 

vim /etc/httpd/conf/httpd.conf

31번에 새로추가해서 webmail설정추가

 

 

 

systemctl restart httpd

 

systemctl restart

192.168.111.100/webmail

 

 

vim /var/named/benmin.zone

 

mail.tak.com/webmail

 

 

 

 

----------------------------------

 

과제

first server에 구축된 메일서버에

조원끼리 메일 주고받기(웹메일)

 

힌트

dns>>>포트포워딩 or 브릿지

zone 파일 조원 도메인 개수만큼

conf 파일 조원 zone 파일 만큼

 

조원들서버 (weq,mail(sendmail,dovecot,리눅스계정))

 

Test>host 컴퓨터(dns>포트포워딩 or 브릿지)

url로 접속확인

/etc/xinetd.d/imap

'리눅스 보안구축' 카테고리의 다른 글

PXE 서버  (0) 2020.11.30
RAID  (0) 2020.11.30
메일서버  (0) 2020.11.30
DHCP  (0) 2020.11.30
dns과제  (0) 2020.11.30

댓글()