Hi
I changed MY server name to new new server name . Also I set the new name server from direct admin control panel.
server.mydomain.info
ns1.
ns2
My main problem at the moment is I am not able to send any email by server .
Please see the proof below,
===========
[root@server /]# hostname
server.mydomain.info
[root@server /]# cd /usr/local/directadmin/scripts/
[root@server scripts]# ./hostname.sh server.mydomain.info
Setting hostname to `server.mydomain.info'
mv: `/var/lib/mysql/server.afranet.info.pid' and `/var/lib/mysql/server.mydomain.info.pid' are the same file
[root@server scripts]# hostname
server.mydomain.info
[root@server scripts]# /etc/init.d/directadmin restart
Stopping DirectAdmin: [ OK ]
Starting DirectAdmin: [ OK ]
[root@server scripts]# hostname
server.mydomain.info
Also I restarted exim on sever
service exim restart
when I sent a email I recive this masage :
Mail delivery failed: returning message to sender
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]
retry timeout exceeded
------ This is a copy of the message, including all the headers. ------
Return-path: <[email protected]>
Received: from [127.0.0.1] (helo=[server ip])
by server.mydomain.info with esmtpa (Exim 4.67)
(envelope-from <[email protected]>)
id 1NiXya-0002XQ-OL
for [email protected]; Fri, 19 Feb 2010 11:53:20 -0700
I changed MY server name to new new server name . Also I set the new name server from direct admin control panel.
server.mydomain.info
ns1.
ns2
My main problem at the moment is I am not able to send any email by server .
Please see the proof below,
===========
[root@server /]# hostname
server.mydomain.info
[root@server /]# cd /usr/local/directadmin/scripts/
[root@server scripts]# ./hostname.sh server.mydomain.info
Setting hostname to `server.mydomain.info'
mv: `/var/lib/mysql/server.afranet.info.pid' and `/var/lib/mysql/server.mydomain.info.pid' are the same file
[root@server scripts]# hostname
server.mydomain.info
[root@server scripts]# /etc/init.d/directadmin restart
Stopping DirectAdmin: [ OK ]
Starting DirectAdmin: [ OK ]
[root@server scripts]# hostname
server.mydomain.info
Also I restarted exim on sever
service exim restart
when I sent a email I recive this masage :
Mail delivery failed: returning message to sender
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]
retry timeout exceeded
------ This is a copy of the message, including all the headers. ------
Return-path: <[email protected]>
Received: from [127.0.0.1] (helo=[server ip])
by server.mydomain.info with esmtpa (Exim 4.67)
(envelope-from <[email protected]>)
id 1NiXya-0002XQ-OL
for [email protected]; Fri, 19 Feb 2010 11:53:20 -0700