Sendmail 설정 (메일 발송)

Jmnote (토론 | 기여)님의 2015년 2월 24일 (화) 19:05 판
Crystal Clear action info.png 작성 중인 문서입니다.
sendmail 설정

1 사전 작업

2 sendmail.mc 수정

[root@zetawiki ~]# cp /etc/mail/sendmail.mc /etc/mail/sendmail.mc.original
[root@zetawiki ~]# vi /etc/mail/sendmail.mc
[root@zetawiki ~]# diff /etc/mail/sendmail.mc.original /etc/mail/sendmail.mc
52,53c52,53
< dnl TRUST_AUTH_MECH(`EXTERNAL DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
< dnl define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
---
> dnl #TRUST_AUTH_MECH(`EXTERNAL DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
> dnl #define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
116c116
< DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
---
> DAEMON_OPTIONS(`Port=smtp,Addr=0.0.0.0, Name=MTA')dnl
[root@zetawiki ~]# m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf

3 같이 보기

4 참고 자료