Skip to content

CBL 스펨메일 문제 해결(localhost.localdomain)

MintState August 3, 2011 at 11:10 AM Views 21665

CBL 스펨메일 문제 해결(localhost.localdomain)

어제 마이크로소프트로 메일을 전송시키다 보니 http://www.spamhaus.org/lookup.lasso 에 등록되어 스펨 처리가 되어 메일이 리턴이 되었다.
http://cbl.abuseat.org/lookup.cgi?ip=xxx.xxx.xxx.xxx 문서를 살펴보니 아래와 같은 내용이 있다.

This IP address is HELO'ing as "localhost.localdomain" which violates the relevant standards (specifically: RFC5321).

Sendmail에서 메일을 보낼때 HELO localhost.localdomain 로 보내기 때문인 것 같다..

이는 서버 Hostname이 localhost.localdomain로 등록 되어 있기 때문이다.

그래서 hostname을 변경 해주면 해결이 된다.

HostName 도메인 추가

# vi /etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=yesyo.com

Hosts 아이피 도메인 추가

# vi /etc/hosts
127.0.0.1   localhost.localdomain   localhost
::1 localhost6.localdomain6 localhost6
xxx.xxx.xxx.xxx   yesyo.com

HostName 바로 적용

# hostname yesyo.com
Share X Facebook LINE QR code

0 comments

Be the first to comment.