netnameus

Well-Known Member
Mar 7, 2004
131
0
166
I'm having problems with my IP being constanly added to the spamhaus database.

It's because my helo response is localhost.localdomain.

But my hostname is in fact a valid hostname (bounty.mydomain.com).

Everytime I reset my server, though, my hostname gets changed, so I have to set it everytime.

Any guidence on this would be great.

Thanks
 

netnameus

Well-Known Member
Mar 7, 2004
131
0
166
Showing my hostname, but also my helo response

[email protected] [/etc/jabberd]# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220-localhost.localdomain ESMTP Exim 4.52 #1 Fri, 08 Sep 2006 22:54:36 -0400
220-We do not authorize the use of this system to transport unsolicited,
220 and/or bulk e-mail.
[email protected] [/etc/jabberd]# hostname
bounty.mydomain.com
 

randomuser

Well-Known Member
Jun 25, 2005
147
0
166
You can set your hostname in /etc/sysconfig/network on Linux boxes. Make sure you also have an entry in /etc/hosts

You can change it at any time via the `hostname` command, but it likely won't be persistent across a reboot, whereas updating the 2 previously mentioned files, it will be.
 

netnameus

Well-Known Member
Mar 7, 2004
131
0
166
randomuser said:
You can set your hostname in /etc/sysconfig/network on Linux boxes. Make sure you also have an entry in /etc/hosts

You can change it at any time via the `hostname` command, but it likely won't be persistent across a reboot, whereas updating the 2 previously mentioned files, it will be.
Thing is, it resets in /etc/sysconfig/network every reboot also.

OK, so I've changed these three things, why would my helo still be saying localhost?