질문&답변
클라우드/리눅스에 관한 질문과 답변을 주고 받는 곳입니다.
리눅스 분류

외부에서 smtp송신이 안되요

작성자 정보

  • 부루스 작성
  • 작성일

컨텐츠 정보

본문

  telnet localhost 25로는 SMTP 인증이 잘되나,[brucelee@uskte ~]$ telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
220 c17-ss-2-lb.cnet.com ESMTP Sendmail 8.13.1/8.13.1; Fri, 15 Sep 2006 09:13:41 +0900
ehlo localhost
250-c17-ss-2-lb.cnet.com Hello localhost.localdomain [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-AUTH DIGEST-MD5 CRAM-MD5 LOGIN PLAIN
250-DELIVERBY
250 HELP

외부에서 하면,[brucelee@billing brucelee]$ telnet mail.usktel.com 25
Trying 222.98.152.130...
telnet: connect to address 222.98.152.130: Connection refused

하여 netstat -a를 쳐보면[root@uskte brucelee]# netstat -a
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address               Foreign Address             State     
tcp        0      0 *:mysql                     *:*                         LISTEN     
tcp        0      0 *:pop3                      *:*                         LISTEN     
tcp        0      0 www:domain                  *:*                         LISTEN     
tcp        0      0 localhost.localdomai:domain *:*                         LISTEN     
tcp        0      0 *:ftp                       *:*                         LISTEN     
tcp        0      0 *:telnet                    *:*                         LISTEN     
tcp        0      0 localhost.localdomain:smtp  *:*                         LISTEN      <<----여기 
tcp        0      0 localhost.localdomain:rndc  *:*                         LISTEN     
tcp        0      0 www:pop3                    219.250.9.79:1496           ESTABLISHED
tcp        0    596 www:telnet                  219.250.9.79:1490           ESTABLISHED
tcp        0      0 *:http                      *:*                         LISTEN     
tcp        0      0 *:ssh                       *:*                         LISTEN     
udp        0      0 *:37283                     *:*                                    
udp        0      0 www:domain                  *:*                                    
udp        0      0 localhost.locald:domain     *:*                                    
udp        0      0 *:37284                     *:*                                    
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags       Type       State         I-Node Path
unix  2      [ ACC ]     STREAM     LISTENING     4406   /tmp/mysql.sock
unix  2      [ ]         DGRAM                    2642   @udevd
unix  2  lo    [ ACC ]     STREAM     LISTENING     4680   /var/run/saslauthd/mux
unix  10     [ ]         DGRAM                    4294   /dev/log
unix  2      [ ]         DGRAM                    287909
unix  2      [ ]         DGRAM                    287858
unix  2      [ ]         DGRAM                    287452
unix  2      [ ]         DGRAM                    287429
unix  2      [ ]         DGRAM                    286059
unix  2      [ ]         DGRAM                    283571
unix  2      [ ]         DGRAM                    4679  
unix  2      [ ]         DGRAM                    4660  
unix  2      [ ]         DGRAM                    4302 

SMTP리슨이 되고 있는데 localhost.localdomail이면 맞나요?

 *:smtp이 되애하나요?어떻게 고치나요?

  답변 기다립니다.

 

이병수

 

 

관련자료

댓글 1

홍보성님의 댓글

  • 홍보성
  • 작성일
sendmail의 relay 설정이 기본값으로 localhost에서만 발송되게 되어있죠.
원격에서도 발송을 원하신다면 유저로그인 방식으로 오픈하셔야 안전합니다.
그냥 열었다가는 스펨경로로 애용당하죠.

공지사항


뉴스광장


  • 현재 회원수 :  60,154 명
  • 현재 강좌수 :  36,484 개
  • 현재 접속자 :  218 명