PDA

View Full Version : Incomplete hostname change?



NextIT
05-30-2004, 07:54 AM
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 admin@server1.nextit.nl instead of admin@s01.nextit.nl.

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:

admin@server1.nextit.nl
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?

DirectAdmin Support
05-31-2004, 03:31 PM
Hello,

Restart exim

John

NextIT
06-27-2004, 11:49 AM
Originally posted by DirectAdmin Support
Hello,

Restart exim

John I'am back again. :) I've tried restaring exim, but that didn't worked out. E-mails are still sent to admin@server1.nextit.nl instead of admin@s01.nextit.nl. What can I do to solve this issue?

DirectAdmin Support
06-27-2004, 12:27 PM
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

NextIT
06-27-2004, 01:41 PM
Originally posted by DirectAdmin Support
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?

DirectAdmin Support
06-28-2004, 09:32 AM
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

NextIT
06-28-2004, 02:40 PM
Originally posted by DirectAdmin Support
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!