Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: femc on January 10, 2006, 09:41:38 AM
-
I have 2 sme ( 60101 ) in one lan and 1 vitural domain. One should be able to get email from the other ( both using fetchmail, schirrms.net ). BUT both have the same hostname mail.mydomain.com in my lan 192.168.0.x .
Can the the name in 1 box be changed to eg mail2.mydomain.com - how ?
or do I have to set up a second virtual domain mydomain2.com with 192.168.1.x ?
Please assist
hdmueller
-
Would it be easier if one server used a different domain - perhaps a sub-domain of the other?
-- JJ
-
Can you please explain a little bit more how to do this ?
hdmueller
-
Depends on what you want to do.
If it is just for testing mai server functions on a lan you can call the one server sub1.domain.com and the other sub2.domain.com or what ever you want, but they need two different addresses.
If you want this arrangement to work for sending and receiving mail to and from internet it will not be so easy to use two mail servers on on lan and one public ip, this way.
To change name on one or both servers it should be just to log on in shell console as "admin". Then you will have up the automatic configuration shell. Then you can change the name of the server.
(But you will also have to have some local dns "server" function, possibly editing the file /etc/hosts will do it.)