차이
문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판이전 판다음 판 | 이전 판 | ||
tech:postfix [2019/08/16 09:54] – 121.134.71.102 | tech:postfix [2022/12/15 14:23] (현재) – [Mail 테스트] V_L | ||
---|---|---|---|
줄 29: | 줄 29: | ||
<file bash> | <file bash> | ||
- | # enable SASL authentication | + | - enable SASL authentication |
smtp_sasl_auth_enable = yes | smtp_sasl_auth_enable = yes | ||
- | # disallow methods that allow anonymous authentication. | + | - disallow methods that allow anonymous authentication. |
smtp_sasl_security_options = noanonymous | smtp_sasl_security_options = noanonymous | ||
- | # where to find sasl_passwd | + | - where to find sasl_passwd |
smtp_sasl_password_maps = hash:/ | smtp_sasl_password_maps = hash:/ | ||
- | # Enable STARTTLS encryption | + | - Enable STARTTLS encryption |
smtp_use_tls = yes | smtp_use_tls = yes | ||
#where to find CA certificates | #where to find CA certificates | ||
줄 83: | 줄 83: | ||
SMTP 포트: 587 | SMTP 포트: 587 | ||
SMTP 암호화 방법: STARTTLS | SMTP 암호화 방법: STARTTLS | ||
- | |||
=====Mail 테스트===== | =====Mail 테스트===== | ||
줄 94: | 줄 93: | ||
, | , | ||
[[http:// | [[http:// | ||
- | |||
메일이 오면 /var/mail 에 아이디 파일명으로 저장된다. | 메일이 오면 /var/mail 에 아이디 파일명으로 저장된다. | ||
줄 100: | 줄 98: | ||
메일 로그 확인 | 메일 로그 확인 | ||
tail -f / | tail -f / | ||
+ | | ||
+ | | ||
+ | =====메일큐확인===== | ||
+ | 1. 메일 큐 전체 비우기 | ||
+ | |||
+ | # postfix flush | ||
+ | |||
+ | |||
+ | 2. 현재 쌓인 메일 확인 | ||
+ | |||
+ | # mailq | ||
+ | |||
+ | |||
+ | 3. 메일큐 전체 삭제 | ||
+ | |||
+ | # postsuper -d ALL | ||
+ | |||
+ | |||
+ | 4. 메일큐에서 deferred 된 메일만 삭제 | ||
+ | |||
+ | # postsuper -d ALL deferred |