게시물 261건
   
[Redhat] sendmail 타 서버로 릴레이 걸기-발송
글쓴이 : theko 날짜 : 2012-02-27 (월) 17:04 조회 : 3567
# cd /etc/mail

# vi sendmail.mc

DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
=>  DAEMON_OPTIONS(`Port=smtp,Addr=0.0.0.0, Name=MTA')dnl

# m4 sendmail.mc > sendmail.cf


# vi /etc/mail/sendmail.cf
.....
# "Smart" relay host (may be null)              // 메일을 다른 서버에서 발송할 경우
DS
smtp.kt.com  //이 서버로 모든 메일이 릴레이됨


# vi /etc/mail/local-host-names
theko.co.kr  //발송 도메인

데몬 리스타트~

더코 2019-02-27 (수) 10:07
다른서버 메일발송해주는 역활  [ 릴레이 발송서버]

# cat /etc/mail/access
# Check the /usr/share/doc/sendmail/README.cf file for a description
# of the format of this file. (search for access_db in that file)
# The /usr/share/doc/sendmail/README.cf is part of the sendmail-doc
# package.
#
# If you want to use AuthInfo with "M:PLAIN LOGIN", make sure to have the
# cyrus-sasl-plain package installed.
#
# By default we allow relaying from localhost...
Connect:localhost.localdomain           RELAY
Connect:localhost                       RELAY
Connect:127.0.0.1                       RELAY
Connect:0.0.0.0                         RELAY

이름 패스워드
비밀글 (체크하면 글쓴이만 내용을 확인할 수 있습니다.)
왼쪽의 글자를 입력하세요.
   

miwit.com sir.co.kr DNS Powered by DNSEver.com DNS Powered by DNSEver.com