• -동두천 2.3℃
  • -강릉 1.8℃
  • 비 또는 눈서울 2.5℃
  • 대전 1.9℃
  • 대구 2.8℃
  • 울산 2.5℃
  • 광주 3.3℃
  • 부산 4.2℃
  • -고창 2.1℃
  • 제주 6.0℃
  • -강화 1.7℃
  • -보은 2.5℃
  • -금산 0.9℃
  • -강진군 4.2℃
  • -경주시 2.2℃
  • -거제 3.7℃
기상청 제공

sendmail 발송 테스트

root@hosting02:/etc/mail# mailx -v lhb@domain.com
Subject: aa
.
Cc:
Null message body; hope that's ok
lhb@domain.com... Connecting to [127.0.0.1] via relay...
220 hosting02.domain.com ESMTP Sendmail 8.13.8/8.13.8; Tue, 18 Dec 2012 13:34:24 +0900
>>> EHLO hosting02.domain.com
250-hosting02.domain.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-DELIVERBY
250 HELP
>>> MAIL From:<root@hosting02.domain.com> SIZE=33
250 2.1.0 <root@hosting02.domain.com>... Sender ok
>>> RCPT To:<lhb@domain.com>
>>> DATA
250 2.1.5 <lhb@domain.com>... Recipient ok
354 Enter mail, end with "." on a line by itself
>>> .
250 2.0.0 qBI4YOI6013800 Message accepted for delivery
lhb@domain.com... Sent (qBI4YOI6013800 Message accepted for delivery)
Closing connection to [127.0.0.1]
>>> QUIT
221 2.0.0 hosting02.domain.com closing connection