fw(skill39.net)
#openssl req -new -out mail1.req -newkey rsa:2048 -keyout mail1.key –nodes
※ CN = mail.skill39.net
#openssl ca -in mail1.req -out mail1.crt
#openssl req -new -out mail2.req -newkey rsa:2048 -keyout mail2.key –nodes
※ CN = mail.worldskills.org
#openssl ca -in mail2.req -out mail2.crt
private
#cd /etc/ssl
#scp 192.168.2.1:/etc/ssl/mail1.* ./
#scp 192.168.2.1:/etc/ssl/CA/cacert.pem ./
#apt install postfix sasl2-bin dovecot-imapd -y
#vi /etc/postfix/main.cf
#vi /etc/postfix/master.cf
#vi /etc/default/saslauthd
#vi /etc/dovecot/conf.d/10-auth.conf
#vi /etc/dovecot/conf.d/10-mail.conf
#vi /etc/dovecot/conf.d/10-ssl.conf
#systemctl restart dovecot postfix saslauthd
#apt install libnss-ldapd -y
#mkdir -p /data/home
#chmod 777 -R /data/home
#vi /etc/pam.d/common-session
#reboot
client1
※ thunderbird 설치 후 메일 계정 구성 및 루트 인증서 등록
srvpv01
#cd /etc/ssl
#scp 200.220.55.1:/etc/ssl/mail2.* ./
#scp 200.220.55.1:/etc/ssl/CA/cacert.pem ./
#apt install postfix dovecot-imapd sasl2-bin -y
#vi /etc/postfix/main.cf
#vi /etc/postfix/master.cf
#vi /etc/default/saslauthd
private
#scp -r /etc/dovecot/conf.d/* 200.220.55.3:/etc/dovecot/conf.d/
srvpv01
#vi /etc/dovecot/conf.d/10-ssl.conf
#systemctl restart dovecot postfix saslauthd
#adduser –gecos ‘’ jane
※ Passw0rd$
#adduser --gecos ‘’ echo
※ Passw0rd$
#apt install vacation -y
#login echo
#vi /home/echo/.vacation.msg
#vi /home/echo/.forward
#vacation -l -r 0
#exit
#reboot
Janes-pc
※ thunderbird 설치 후 메일 계정 구성 및 루트 인증서 등록
'OS > Linux' 카테고리의 다른 글
[기능대회] 1과제 MySQL Database 구성 (0) | 2021.11.09 |
---|---|
[기능대회] 1과제 Client VPN 구성 (0) | 2021.11.09 |
[기능대회] 1과 FTP Service 구성 (0) | 2021.11.09 |
[기능대회] 1과제 Reverse Proxy 구성 (0) | 2021.11.09 |
[기능대회] 1과제 Web Service 구성 (0) | 2021.11.09 |