메일클라이언트를 이용해서 postfix 로 메일보내기
서버 local에서 mail 명령어로 외부로 이상없이 메일이 보내지고
메일 받는것도 이상없이 됩니다.
mynetworks 에 클라이언트 ip주소 적고 smtp인증 안하면 이상없이 아웃룩에서 보내지집니다.
mynetworks에서 클라이언트 ip를 지우고 인증을 하게되면
아래와 같이 반송 되어 버리는군요
========================================
메시지가 전부 또는 일부 받는 사람에게 도착하지 않았습니다.
제목: 12
보낸 날짜: 2009-03-24 오후 1:46
다음 받는 사람에게 배달할 수 없습니다.
'mailadress' 2009-03-24 오후 1:46
554 5.7.1 : Relay access denied
========================================
인증이 제대로 되지 않아 relay가 안되는것 같은데 설정은 아래와 같이 되어 있습니다.
어떤 부분을 수정 or 고쳐야 될런지요.
========================================
main.cf 의 설정부분
========================================
# TLS parameters
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
#SMTP_AUTH(sasl)
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain = $myhostname
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions =
permit_sasl_authenticated,
permit_mynetworks,
reject_unauth_destination
========================================
cat sasl/smtpd.conf
========================================
pwcheck_method: saslauthd
......
질문이 믄가 2% 부족하다는 생각이 들지 않나요?
OS 는 무엇이며.. Postfix 버전은 무엇인지..
그리고 SASL & TLS 문서들은 어떤것들을 참조하셨는지등을요..
그렇게.. 질문들을 명확하게 하려고 준비를 하다보면..
자동적으로 해결이 되고 말더군요..
...
그래도 안되면.. 구글을.. 구글은.. mail-archive.com 을 통해서
찾아보시면 많은 정보들을 구할 수 있습니다..
site:mail-archive.com postfix relay auth
--
이 아이디는 이제 쓰이지 않습니다.
음 98%는 질문 잘 한건가보군요
2%때문에 답해주시기 싫으면 답변을 안다시면되지 쓸데 없는 시비입니까.
그냥 http://www.postfix.org/documentation.html 보세요 라고 하시던지요.
댓글 달기