[SSL 설치 가이드] Postfix - Single & WildCard & Multi

1. postfix 환경파일 열기

[root@localhost postfix]# pwd

/etc/postfix

[root@localhost postfix]# vi main.cf

 

* 환경설정파일 : 예. /etc/postfix/main.cf

 

 

2. postifx TLS 환경 설정

# This parameter is obsolete as of Postfix 2.1.

#

sample_directory = /usr/share/doc/postfix-2.3.3/samples

 

# readme_directory: The location of the Postfix README files.

readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES

 

smtpd_use_tls = yes

smtpd_tls_auth_only = no

smtpd_tls_key_file = /etc/postfix/ssl/www.eznbiz.com.key

* 개인키 파일 경로 지정

smtpd_tls_cert_file = /etc/postfix/ssl/www.eznbiz.com.crt

* 인증서 파일 경로 지정

smtpd_tls_CAfile = /etc/postfix/ssl/www.eznbiz.com.ca-bundle

* Chain 파일 경로 지정

smtpd_tls_loglevel = 3

smtpd_tls_received_header = yes

smtpd_tls_session_cache_timeout = 3600s

tls_random_source = dev:/dev/urandom

smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache

smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

 

 

3. postifx 테스트

[root@localhost postfix]# telnet localhost 25

Trying 127.0.0.1...

Connected to localhost.

Escape character is '^]'.

220 mail.democloud.com ESMTP Postfix (Ubuntu)

 

MAIL FROM:service@eznbiz.com

* 발송 메일

250 2.1.0 Ok

 

RCPT TO:test@naver.com

* 수신 메일

250 2.1.5 Ok

 

DATA

* 메일 내용

354 End data with .

 

Subject: TLS TEST!!!

TLS TEST!!!!!!!

.

* . 으로 마무리 합니다.

250 2.0.0 Ok: queued as 9620FF0087

 

QUIT

* 종료

 

[root@localhost postfix]# tail -n 15 /var/log/mailling

* 로그에 문제가 없는지 확인 합니다.

 

< 목록으로

이지앤비즈 원격지원 프로그램 다운로드

X

이지앤비즈 원격지원

고객님의 PC에 원격접속하여 문제를 신속히 해결해 드립니다.

1

원격지원 클라이언트 프로그램을
다운로드 후 실행한다. (KPOST_QS.exe)

원격지원 다운로드 Windows용 클라이언트 Mac용 클라이언트

다운로드 후 실행이 안 되는 고객님은 고객센터 1577-9934로 문의주시기 바랍니다.

2

원격지원 클라이언트 프로그램을
다운로드 후 실행한다. (KPOST_QS.exe)

원격지원

TOP