본문 바로가기

메일

이메일 오픈릴레이 테스트 오픈릴레이 테스트 명령 프롬프트 창에서 telnet x.x.x.x 25 번으로 접속을 하면 220 test3.xxxnet.co.kr ESMTP Sendmail 8.12.8/8.12.8; Tue, 7 Sep 2004 19:09:4 7 +0900 위의 메세지가 뜬다면 다음 명령 실행을 한다. helo mail from: test@test.com rcpt to: administrator@xxxnet.co.kr 205 2.1.0 administrator@xxxnet.co.kr rcpt to: admin@xxx.com unable to relay 위의 메세지가 나오면 오픈릴레이가 아니라는 것입니다. 더보기
ubuntu 메일 보내기 uuencode privacy.txt privacy.txt| mail -s "tttyyy" yksong@ahnlab.com 더보기
host 커맨드를 이용해 특정 도메인의 메일서버 알아내기 host -t mx hanmail.net [root@localhost ~]$ host -t mx daum.net daum.net. mail is handled by 10 mx1.hanmail.net. daum.net. mail is handled by 10 mx2.hanmail.net. daum.net. mail is handled by 10 mx3.hanmail.net. daum.net. mail is handled by 10 mx4.hanmail.net. daum.net. mail is handled by 10 mx5.hanmail.net. daum.net. mail is handled by 10 mx6.hanmail.net. daum.net. mail is handled by 10 mx7.hanma.. 더보기
mutt 메일 보내기 echo "test test test test" | mutt -x -a aaa.txt -s "test4" "leopit@naver.com" 더보기
sendmail.cf HOW-TO Configuration sendmail.cf SMTP(Simple Mail Transport Protocol)는 TCP/IP 메일 전송 프로토콜입니다. Linux 에서는 기본적으로 sendmail프로그램을 통해 SMTP를 완벽하게 지원합니다. 간혹 sendmail데몬과 pop3데몬의 역할에 대해 잘못 알고 계시는 분이 계신데 sendmail 은 메일의 발신, 수신, 중계의 역할을 합니다. 즉 sendmail데몬은 메일을 보내고 받고 하는 역할을 합니다. pop3데몬은 sendmail이 수신한 사용자의 메일을 사용자의 메일 클라이언트에서 받아 볼 수 있는 역할을 합니다. 0. 들어가기 전에 sendmail.cf 파일을 다루는 능력이 안된다고 해서 sendmail을 사용할 수 없는건 아닙니다... 더보기
SMTP 동적릴레이 - saslauthd + 메일 릴레이 기능 다른 네트워크 대역에서 우리 서버를 통해 메일을 날리려 하는 경우 vi /etc/mail/access 211.5.6 RELAY 211.5.6.7 REJECT sapm@sapm.net 550 You Spammer .. A're you ~ 적용 > makemap hash /etc/mail/access < /etc/mail/access 이것은 적어준다. 하지만.. 사용자가 동적 IP를 쓰고 있는데 .. 어찌 그걸 다 적으랴? 해결책 : 동적 릴레이 (Dynamic Relay) 동적 릴레이는 pop3처럼 사용자의 인증을 통하여 접근을 제어한다. + 동적 릴레이 설정 여기서는 SASL을 활용해 보도록 한다. SASL(simple authentication and Security Layer) .. 더보기