Incomplete hostname change?

NextIT

Verified User
Joined
May 30, 2004
Messages
15
Location
Netherlands
I've changed the hostname from on of our servers from server1.nextit.nl to s01.nextit.nl. I've changed the FreeBSD settings and modified the "Admin Settings > Servers name" entry in the control panel.

Almost everything is working fine. Only when creating a new user account, the notification is sent to [email protected] instead of [email protected].

This causes the following error message to occur:

------------------------------
A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

[email protected]
failed to stat /etc/virtual/server1.nextit.nl/. (No such file or directory):
retry timeout exceeded
------------------------------

The old hostname is still present somewhere in our system, but I can't find it. What do I have to change?
 
Hello,

Try

telnet localhost 25

to see what exim's hostname is set to. Then run

hostname

to see what the system hostname is set to. If you've already restarted exim, and the hostname's do not match, then you probably have the

primary_hostname =

value set in the /etc/exim.conf. You can just comment it out (add # in front of it) and restart exim.

John
 
DirectAdmin Support said:
Hello,

Try

telnet localhost 25

to see what exim's hostname is set to. Then run

hostname

to see what the system hostname is set to. If you've already restarted exim, and the hostname's do not match, then you probably have the

primary_hostname =

value set in the /etc/exim.conf. You can just comment it out (add # in front of it) and restart exim.

John

telnet localhost 25 returns:
220 s01.nextit.nl ESMTP Exim 4.24 Mon, 28 Jun 2004 22:41:17 +0200

hostname returns:
s01.nextit.nl

I didn't modified /etc/exim.conf myself and the primary_hostname entry is already commented out.

This server is a standard DirectAdmin installation. I didn't modified anything myself, but only want to change this server's hostname. That shouldn't be to difficult?
 
Oh, the hostname is already changed. It's just your email account that isn't.

As admin, go to User Panel -> Account Stats / Logs -> set your email address.

John
 
DirectAdmin Support said:
Oh, the hostname is already changed. It's just your email account that isn't.

As admin, go to User Panel -> Account Stats / Logs -> set your email address.

John
Allright, that fixed it. Thanks!
 
Back
Top