linux

Total 136
Today 0
profile_image
몰라맨
13-09-08 11:14 0개 3,281회
sendmail: warning: inet_protocols: configuring for IPv4 support only

CentOS 6.4 minimal

 

일단 logwatch 설치 후 메일 발송시

아래와 같은 에러를 뿜는다면 

 

[root@web23 cron.daily]# ./0logwatch
sendmail: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol
sendmail: warning: inet_protocols: configuring for IPv4 support only
postdrop: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol
postdrop: warning: inet_protocols: configuring for IPv4 support only
postdrop: warning: unable to look up public/pickup: No such file or directory

 

센드메일만 설치하면 간단하게 끝난다.

 

다만, 센드메일이 싫은 경우는 postfix 를 설치하면 됨.

vi /etc/postfix/main.cf

To disable the messsage, go to /etc/postfix/main.cf and change from:

inet_protocols = all

to:

inet_protocols = ipv4

This will only use ipv4 and the warning message will go away.

 

postdrop: warning: unable to look up public/pickup: No such file or directory
[root@web23 cron.daily]# service postfix start
postfix를 시작 중:                                         [  OK  ]
[root@web23 cron.daily]# chkconfig postfix on
[root@web23 cron.daily]# ./0logwatch

댓글목록

등록된 댓글이 없습니다.