Notice
Recent Posts
Recent Comments
준호씨의 블로그
sendmail - build with TLS support 본문
반응형
Sometimes you will need TLS support when building sendmail and use it. Add the following lines to the m4 file.
APPENDDEF(`conf_sendmail_ENVDEF', `-DSTARTTLS')
APPENDDEF(`conf_sendmail_LIBS', `-lssl -lcrypto')
If you want to build with a specific version of the openssl library, add confINCDIRS and confLIBDIRS as follows.
APPENDDEF(`confINCDIRS', `-I/usr/local/ssl/include')
APPENDDEF(`confLIBDIRS', `-L/usr/local/ssl/lib')
APPENDDEF(`conf_sendmail_ENVDEF', `-DSTARTTLS')
APPENDDEF(`conf_sendmail_LIBS', `-lssl -lcrypto')
When you build and install openssl, the default installation path for version 1.0.x is /usr/local/ssl. Depending on the openssl version or bild options, you can add your openssl path for your environment.
References
- sendmail 4th Edition - O'Reilly 5.3.3 Enable TLS with Build
반응형
'개발이야기 > 이메일시스템' 카테고리의 다른 글
sendmail - STARTTLS 기능을 더 활성화 시키는 빌드 옵션 (0) | 2018.01.25 |
---|---|
sslscan - Collect TLS (previously SSL) information easily. Installation, starttls SMTP test (0) | 2018.01.24 |
sendmail 로그 항목 풀이 (0) | 2016.04.18 |
javamail 로 메일 발송 시 SSLv2Hello 이용해서 SSLv3 사용하기. ssl/tls 버전 지정하기. (0) | 2016.03.17 |
이메일발송 서비스 사이트들. Amazon SES, mandrill, mailgun, sendgrid 등 (0) | 2016.03.03 |
Comments