"SSMTP"의 두 판 사이의 차이
(새 문서: 이미 구축된 SMTP서버를 이용하여 메일을 전송 == 설치 == sudo apt install ssmtp == 설정 == ''/etc/ssmtp/ssmtp.conf'' === gmail 예시 === <syntaxhighlight lang=...) |
|||
13번째 줄: | 13번째 줄: | ||
UseSTARTTLS=YES | UseSTARTTLS=YES | ||
mailhub=smtp.gmail.com:587 | mailhub=smtp.gmail.com:587 | ||
+ | AuthUser=username@gmail.com | ||
+ | AuthPass=password | ||
</syntaxhighlight> | </syntaxhighlight> |
2019년 3월 27일 (수) 05:55 판
이미 구축된 SMTP서버를 이용하여 메일을 전송
설치
sudo apt install ssmtp
설정
/etc/ssmtp/ssmtp.conf
gmail 예시
AuthMethod=LOGIN
UseTLS=YES
UseSTARTTLS=YES
mailhub=smtp.gmail.com:587
AuthUser=username@gmail.com
AuthPass=password