Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #21  
Old 13th June 2007, 01:57
tommytomato tommytomato is offline
Senior Member
 
Join Date: Aug 2006
Posts: 129
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
I can ping rockinghamgateway.com. Is 58.7.0.171 the correct IP address?
Yes that's the correct IP, when I'm not home, I turn off the computer in question.

Code:
~# ls -la /home/tommytomato
ls: /home/tommytomato: No such file or directory
So it says tommy is not there, but when I try to add it in I get this

Quote:
adduser tommytomato
adduser: The user `tommytomato' already exists.
I added tommytomato to the system via this command

Code:
useradd -d /home/tommytomato -g users tommytomato
I can only hang around for half hour and then I have to go to work, your welcome to ping the server now

TT
Reply With Quote
Sponsored Links
  #22  
Old 13th June 2007, 02:32
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Quote:
Originally Posted by tommytomato
Yes that's the correct IP, when I'm not home, I turn off the computer in question.
IS that computer behind a router? If so, did you forward port 25 from your router to that computer? Does your ISP maybe block port 25?
Quote:
Originally Posted by tommytomato
Code:
~# ls -la /home/tommytomato
ls: /home/tommytomato: No such file or directory
Please create the directory like this:
Code:
mkdir /home/tommytomato
chown tommytomato:users /home/tommytomato
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #23  
Old 13th June 2007, 12:12
tommytomato tommytomato is offline
Senior Member
 
Join Date: Aug 2006
Posts: 129
Thanks: 0
Thanked 0 Times in 0 Posts
Question

Code:
mkdir /home/tommytomato
chown tommytomato:users /home/tommytomato
That is done. NO my ISP doesn't block port 25

The port 25 is open and pointing to the PC in question

I sent mail to the tommy account and it has made the Maildir

Not able to conntect to recive mail.
same message as before

Quote:
Error while Fetching Mail.

Could not connect to rockinghamgateway.com: No route to host
TT

Last edited by tommytomato; 13th June 2007 at 12:46.
Reply With Quote
  #24  
Old 14th June 2007, 01:52
tommytomato tommytomato is offline
Senior Member
 
Join Date: Aug 2006
Posts: 129
Thanks: 0
Thanked 0 Times in 0 Posts
Wink

Would it be the ports on the so called PC

correct me if I'm wrong, I have read that Ubuntu only has certain ports open and blocks all the rest.

I tried using other mail clients from with in my network to contect to the PC in question, the PC recives mail ok ,but I'm not able to contect to the PC in question to retive the mail

I'm not a big fan of iptables, is there a command line firewall gui that can bring up the firewall, all other ports are open on my router

I'm not sure, but i have ask if my ISP blocks port 25, I dont know if you can view this link

http://support.westnet.com.au/articleRedirect.asp?aid=1213|

TT
Reply With Quote
  #25  
Old 14th June 2007, 21:19
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Is the rockinghamgateway.com computer in the same local network as your own computer? If so, it's possible that your router doesn't support loopbacks.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #26  
Old 15th June 2007, 01:30
tommytomato tommytomato is offline
Senior Member
 
Join Date: Aug 2006
Posts: 129
Thanks: 0
Thanked 0 Times in 0 Posts
Default

yes the PC in quetion is in the same network

What do you mean by loop backs ?

a Few years ago, when I got into Linux I was using fedore core, a mate had setup a email server, I was able to contect to it via another pc, so it did work.

I'm running a NB1300 plus 4 port router.

TT
Reply With Quote
  #27  
Old 15th June 2007, 15:02
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Quote:
Originally Posted by tommytomato
yes the PC in quetion is in the same network

What do you mean by loop backs ?
That means that if you request rockinghamgateway.com from a computer in your LAN, the requests passes your router and then goes back into your LAN, because rockinghamgateway.com is in your LAN. Some routers don't support this.

Did you open port 25 in your router's firewall?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #28  
Old 16th June 2007, 03:39
tommytomato tommytomato is offline
Senior Member
 
Join Date: Aug 2006
Posts: 129
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Did you open port 25 in your router's firewall?
Yes I did add the port 25 to the router firewall,


I also have edited the hosts file on my GUI box so I can view my domains
/etc/hosts

has 192.168.1.100 www.rockinghamgateway.com
192.168.1.100 rockinghamgateway.com

TT
Reply With Quote
  #29  
Old 17th June 2007, 13:48
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Quote:
Originally Posted by tommytomato
I also have edited the hosts file on my GUI box so I can view my domains
/etc/hosts

has 192.168.1.100 www.rockinghamgateway.com
192.168.1.100 rockinghamgateway.com

TT
Can you change that to
Code:
192.168.1.100 www.rockinghamgateway.com rockinghamgateway.com
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #30  
Old 18th June 2007, 15:45
tommytomato tommytomato is offline
Senior Member
 
Join Date: Aug 2006
Posts: 129
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Yep I've done that

I've got this far on the mail side of things

Code:
Connected to rockinghamgateway.com
Escape character is '^]'.
220 rockinghamgateway.com ESMTP Postfix (Ubuntu)
ehlo rockinghamgateway.com
250-rockinghamgateway.com
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250 8BITMIME
quit
221 Bye
Connection closed by foreign host.
So I spose its working, how ever I haven't been able to contect to it using a GUI email client from another PC other than the Server.

Got another question

Apache 2 root directory for putting site files is /var/www

how come I cant view any files apart from my index.html file

Code:
root@rockinghamgateway:/var/www# ls -al
total 316
drwxr-xr-x 30 root root   4096 2007-06-18 21:18 .
drwxr-xr-x 15 root root   4096 2007-06-18 20:45 ..
drwxr-xr-x  7 root root   4096 2007-06-18 21:17 4x4
and so on

I'm not using ispconf, php not working, how can i turn it on to view my pages

TT

Last edited by tommytomato; 18th June 2007 at 15:53.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with VMWare Image for "The Perfect Setup - Ubuntu 6.10 Server (Edgy Eft)" hatsix HOWTO-Related Questions 8 5th March 2007 21:05
The Perfect Setup - Ubuntu 6.06 LTS Server and SPAM Virus Filtering WaveQam HOWTO-Related Questions 5 19th January 2007 22:18
Perfect Install - Ubuntu 6.06 Dapper Questions Anim HOWTO-Related Questions 123 1st October 2006 13:02
Error when following How To Install VMware Server On Ubuntu 6.06 LTS (Dapper Drake) - somas1 HOWTO-Related Questions 7 20th August 2006 14:07
SP-Server Setup - Ubuntu 5.10 "Breezy Badger" - Page 6 (changes) LuisC-SM HOWTO-Related Questions 0 21st April 2006 15:16


All times are GMT +2. The time now is 02:58.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.