Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-14-2009, 01:25 AM   #1
LQ Newbie
Registered: Jun 2009
Posts: 3

Rep: Reputation: 0
Email Access Problem on Linux

Good afternoon everyone, a relatively new Linux user here....

I have a problem setting up a network at home. I had an old PC so installed Fedora 7 on it from a magazine CD and it is up and running fine. I connected it to the network at home OK and can see it and its contents via SAMBA no problems at all. I installed SQUID and can run it as a proxy and share the ADSL internet connection with no problems. There are a number of windows machines on the network that have no problems using files, printing or using the ADSL to surf the internet via SQUID.

Then I run into a problem when attempting to connect to email on the windows Outlook clients. (they can surf the net with no problems)

The outlook client tells me that I cannot find the server that the email is stored on and gives an error (0x80040900).

When I connect the ADSL direct to the network card on that computer I can connect, send and receive email with no problems. When I connect to and use the network to ADSL via the Linux box, I get the error.

The system spec is Linux Box has two ethernet cards eth0 and eth1 - one is connected to the internet and one is connected to the network. The one that is connected to the net has an IP address of and obtains it via DHCP from the ADSL modem. I can surf the net no problems with this configuration. The other network card has a static IP address of (this is so the SQUID proxy can run an be seen via the clients on the network).

The Windows client(s) is/are XP & Vista running Nortons as a personal firewall. (as I said previously when I connect the ADSL to the Windows machine directly, there is no problems accessing email)

The internal IP addresses are obtained via DHCP and run in the to range.

I have added masquerading and IMAP and pop3 forwarding to the iptables script and turned on IP forwarding in syscontl.conf

Any suggestions on what may be wrong or how I can get the email to connect?

Old 06-14-2009, 01:30 AM   #2
LQ Guru
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Originally Posted by Tinkicka View Post
Good afternoon everyone, a relatively new Linux user here....

I have a problem setting up a network at home. I had an old PC so installed Fedora 7 on it from a magazine CD
Before all else, you should realise that you are using a very old version of Fedora. I think the current version is 11 and I doubt that 7 is still being supported. Things might go much better if you were using Fedora 11. I'd burn a CD and install that and then try again with your mail server.
Old 06-14-2009, 01:40 AM   #3
LQ 5k Club
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
What happens if you disable norton firewall?
Old 06-14-2009, 01:54 AM   #4
Senior Member
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 3,013

Rep: Reputation: 518Reputation: 518Reputation: 518Reputation: 518Reputation: 518Reputation: 518
Tinkicka, welcome to LQ.

Great job you've done so far. Glad to hear you're succeeding with linux. You need to do a few more tests. Try to ping the mail server from the machine that won't connect: like so: ping mailserver, where mailserver is the pop or smtp server you use. Try both. You should get a response.

Now your iptables firewall might be a little messed up. You need to allow the proper traffic, in both directions. You iptables set-up might not be as transparent as you think. If you want to use linux as a firewall, DHCP server, router and what not, you're going to be there for a long time trying to get the set-up as good as something like SmoothWall 3.0 Polar, which is a preconfigured firewall distro, with a remote gui interface, so you can administer it in a web browser, on a remote machine, even a Windows machine.

It takes about 15 minutes to install and configure SmoothWall, and it isn't a machine hog like Fedora. Then you've got iptables all set up, and some nice stuff, like snort, and complete logging, where you can block based on log entries, with a mouse click.

All the standard user ports are enabled by default: DNS, http, ftp, pop, smtp. In any event, you probably are blocking the port/protocol for email, while allowing http. So, the web works, but not email. I think pop is port 113, and smtp is port 25, but you'll need to verify that with .
Old 06-14-2009, 03:54 AM   #5
LQ Newbie
Registered: Jun 2009
Posts: 3

Original Poster
Rep: Reputation: 0

thanks for the replys thus far.....

In answer to them,

I have turned off Nortons but there is no change.

I can ping from the Linux machine to the internet and receive replies within specs for ping. I cannot ping from the windows machine to the internet as it replies "destination host unreachable".

Does this give you any further clues???

I do not want to set up the machine as a sole firewall, as I am getting rather tired of MS and the costs involved in just trying to keep up with new software. In a few years I am going to retire and the costs involved with MS will mean that I will NOT be updating their software as it is not in the budget, hence the need to have a fully functioning Linux machine to play with so that I can migrate across and not have any problems or an empty bank balance. [/end rant]

Old 06-14-2009, 08:10 PM   #6
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,395

Rep: Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395
Can you post the SQUID conf and
iptables -L
Old 06-16-2009, 08:19 PM   #7
LQ Newbie
Registered: Jun 2009
Posts: 3

Original Poster
Rep: Reputation: 0

thanks for the help thus far.....

because of this line
"Now your iptables firewall might be a little messed up"
in a previous reply I did a little research and a quick tutorial on Iptables and discovered that they were messed up alright....I changed the order around according to what I found in a book and low and behold, I can now access the email server, but only via hardwired network connections only!!!!! Trying to do the same with wireless connections will not let me through. I am fortunate that the house is completely hardwired for networks but not being able to connect via the wireless access point is a problem (moreso for the wife as she works all around the house on her laptop)......

It is not in the Linux box but rather it is a standalone access box. All the same conditions as before apply - I can surf the net wirelessly with no problems and actually the wireless box is the DHCP server for the network......any suggestions on where this may have gone wrong, or do I just keep on tinkering.........



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Question re Internet Access/Email Access Sulli1 Linux - Newbie 5 04-28-2009 07:53 AM
how do i get msn on linux so i can access email and chat shelby1410 Linux - Laptop and Netbook 1 12-29-2008 01:07 PM
i can not be able to access EMail gaurav pant Linux - Networking 4 09-19-2008 10:07 AM
email access k1ll3r_x Linux - General 1 04-28-2005 03:12 AM
Can't access Blueyonder Email under Mandrake Linux 10.0 , can under XP KenMac Linux - Newbie 2 11-21-2004 02:41 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:55 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration