2012.11.02 00:18
sendmail에서 smtp 포트를 587포트로 변경하기
sendmail 에서 submission port를 변경 하는 방법을 아래와 같이 알려드립니다.
1. sendmail 폴더 이동
# cd /etc/mail/
2. sendmail.mc 내용 수정
# vi sendmail.mc
dnl 주석해제
변경전)
dnl DAEMON_OPTIONS(`Port=submission, Name=MSA, M=Ea')dnl
변경후)
DAEMON_OPTIONS(`Port=submission, Name=MSA, M=Ea')dnl
m4 sendmail.mc > sendmail.cf
3. 센드메일 리스타트
# /etc/init.d/sendmail restart
Shutting down sendmail: [ OK ]
Starting sendmail: [ OK ]
4. Listen 포트들중 587 포트를 확인
# netstat -anp | grep LISTEN
번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|
1 | sendmail을 이용한 RBL 참조 설정 | 호스트웨이 | 2012.11.23 | 7308 |