Thread: Ubunto+ISP
View Single Post
  #5  
Old 22nd January 2006, 13:51
enriquecm enriquecm is offline
Junior Member
 
Join Date: Jan 2006
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Thumbs up Finished it!!!

Problem #1
In my server i have two network interface
1 for lan: eth0 (private IP) (192.168.0.1) <--- for give to the lan administration and internet service
1 for wan: eth1 (200.123.123.123)

Answer #1
configure /etc/network/interface

iface eth1 inet dhcp #I put that first to give the gateway of the wan connection

auto eth0
iface eth0 inet static
address 192.168.0.1
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1

auto eth1

then restart de interfaces
/etc/init.d/networkin restart

configure /etc/hosts

127.0.0.1 localhost.localdomain localhost server1 server1.example.com
200.123.123.123 server1.example.com

then
echo server1.example.com > /etc/hostname
/bin/hostname -F /etc/hostname

continues in page: http://www.howtoforge.com/perfect_setup_ubuntu_5.10_p3

Problem #2
But, when i made emails i cant do users
Only give me the message: That User exists

Answer 2:
Well the problem was the hosts!!!

In my case:
Only i can send message, but i cant received!!
And what i do for this case to resolved that problem!?
Well the problem was the DNS of the server
Go to https://localhost:81
and then go to management - server - settings - DNS
Default NS1: 66.94.230.40 (yahoo dns)
Default NS2: 192.168.0.100 (localserver)
Default MX: On

now I can send/receive msg

Thanks!!

I hope that i can help some persons !!!

Every day its a great day but some days are betters than others
Reply With Quote