服务器在黑名单上

我有一个Debian Wheezy服务器与几个网站与单独的域名。 其中一些网站使用Wordpress,并使用PHP的邮件function发送邮件。

我安装了“sendmail”,以便服务器能够从PHP发送邮件。 我们为客户使用Google Apps,因此无需设置常规邮件服务器。

现在服务器被列入www.spamhaus.org黑名单,并得到这个消息:

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

我试图按照这些网站上的指示,没有运气: http : //www.cardiothink.com/downloads/README.spamhaus-and-blocked-email.html http://centosbeginer.wordpress.com/2011/07 / 12 /如何去除的-IP中的CBL-Spamhaus的/

你能帮我弄清楚如何configuration服务器?

文件:/ etc / hosts

 # nameserver config # IPv4 127.0.0.1 somedomain.dk xxx.xxx.xxx.xxx server.somedomain.dk bigby # # IPv6 ::1 ip6-localhost ip6-loopback xxxx::0 ip6-localnet xxxx::0 ip6-mcastprefix xxxx::1 ip6-allnodes xxxx::2 ip6-allrouters xxxx::3 ip6-allhosts xxxx:xxx:xxx:xxxx::2 Debian-76-wheezy-64-minimal 

文件:/ etc / hostname

 bigby 

somedomain.dk是一个组成域。 实际上,我在这个服务器上还有其他的域名。

bigby也是一个编造的名字。 这也是现实中的其他事情。

看起来你是用一个错误的名字发出一个HELO。

尝试用于以下post的解决scheme: 如何使用sendmail指定传出的HELO?

如果这没有帮助,你能提供关于你的sendmailconfiguration的更多信息吗?