LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 03-27-2005, 12:14 AM   #1
volvogga
Member
 
Registered: Aug 2004
Location: MI, USA
Distribution: Fedora Core 3
Posts: 137

Rep: Reputation: 15
Mail problems--Possibly firewall on FC3


I know these questions have been asked before, but I just can't seem to find the answer I'm looking for.

I am trying to configure an e-mail program to access my Gmail account (yes POP is enabled in the Gmail settings). I started with Evolution, couldn't get it working. I then went to Thunderbird (which I like better anyway) and that didn't work. No sending or recieving. Can't figure this out.

Here is what I have done so far:
1. Downloaded the latest version of Thunderbird directly from Mozilla.org.
2. Tried the e-mail access using Thunderbird on my Win2k partition. This worked perfectly, so I did a print screen of the POP and SMTP settings, came back to FC3 and matched them up to that Thunderbird program exactly. No work-y.
3. Tried to access Gmail through Firefox (in Linux). No luck there either (I found that this may or may not be a problem that is due to having upgraded Firefox through yum and not doing a direct download form Mozilla.org though). Yahoo mail didn't start up through Firefox, either.
4. Checked the spelling of the account settings very very carfully about 10 times now.
5. Found that my ISP may be blocking any SMTP signal that doesn't go to their own server, but that doesn't explain the POP problem (different ISP in Windows). I have not checked the ISP's website to see if this is true, mainly because I would have to figure out who my ISP is.

I know that there is mail on the Gmail server because I put it there myself. This leads me to conclude that it is either a problem with my system in general, firewall, or ISP. Any incite on this would be greatly appreciated.

Thanks.
 
Old 03-27-2005, 03:13 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,569

Rep: Reputation: 171Reputation: 171
Try to connect to POP3 server manually. It's quite simple:
telnet pop3.somewhere.net 110
Replace the address with the correct one. Now you should get POP3 server welcome note. Server name is often mentioned here. Do you get Gmail welcome note, no note at all or unknown server note?
 
Old 03-27-2005, 04:45 PM   #3
volvogga
Member
 
Registered: Aug 2004
Location: MI, USA
Distribution: Fedora Core 3
Posts: 137

Original Poster
Rep: Reputation: 15
Thanks for the reply Mara.

Tried telnet and this is what I get:
[****@localhost ~]$ telnet pop.gmail.com 995
Trying 64.233.171.109...
Connected to pop.gmail.com (64.233.171.109).
Escape character is '^]'.


and there it sits. Gmail says it needs SSL. Do I need to add this to telnet somehow or is this just the bad omen I have been fearing?
 
Old 03-28-2005, 04:26 PM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,569

Rep: Reputation: 171Reputation: 171
Everything looks OK. You can't get further if it needs SSL, because it means encryption (and it's hard to encrypt fast without software).

Please try again with any Linux mail program and notice all the messages it prints. Where it stops exactly and what error you get exactly?
 
Old 03-28-2005, 06:23 PM   #5
volvogga
Member
 
Registered: Aug 2004
Location: MI, USA
Distribution: Fedora Core 3
Posts: 137

Original Poster
Rep: Reputation: 15
Running Thunderbird in Linux, I get no errors. All that happens is that I get an unnaturally fast response that there are no new messages on the server. I also descovered that I seem to have no problem sending mail (with what little experimenting I've done, meaning I have only sent messages to myself), but I do not recieve confermation that the mail has been sent. It kind of feels like after the innital connection to gmail I can't get anything back from them.

Also I finnaly descovered the location of the firewall and SELinux controls (didn't know what they were called) and found several protocols that can be set to trusted or not, including SMTP. Are these just for servers or do I need to enabel some of these? Maybe a specific port and protocol, as it gives me the option to do at the bottom of the config?

Another piece of information that may or may not be relevent is that I can log into the standard account area of google. The only part that doesn't work is the email area. I get nothing in Firefox and a broken connection error in Konqueror (that can't be spelled right).

One final point is that I have a 56k external modem running off of the serial port, so I am kind of selective as to what I update. If this is some kind of problem with a package that an update may fix, could you suggest some packages that I may try updateing to resolve this please (as I really have updated very little so far)?

Thanks a lot for your help.
 
Old 03-29-2005, 04:12 PM   #6
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,569

Rep: Reputation: 171Reputation: 171
It may be something with the firewall, but at the later stage...
Quote:
Originally posted by volvogga
Also I finnaly descovered the location of the firewall and SELinux controls (didn't know what they were called) and found several protocols that can be set to trusted or not, including SMTP. Are these just for servers or do I need to enabel some of these? Maybe a specific port and protocol, as it gives me the option to do at the bottom of the config?
Does it say the protocols can be trusted both in and out or is it all 'in'? The program should be showing it.

I don't think your problem is fixable just by updating. Look into the firewall settings, it may be really simple.
 
Old 03-29-2005, 06:39 PM   #7
volvogga
Member
 
Registered: Aug 2004
Location: MI, USA
Distribution: Fedora Core 3
Posts: 137

Original Poster
Rep: Reputation: 15
I.... am so confused. I boot up today and, just for the hell of it, try thunderbird again and it worked. I only went to the firewall config and set SMTP to a trusted service, and updated iptables and selinux-policy-targeted.

I did get a e-mail in my inbox from gmail saying something about a delay in delivery. Not quite sure if thats good or bad.

E-mail in Firefox is still a no go, but I'll try downloading Firefox for Mozilla.org tonight and see if that fixes it.

If you don't mind Mara, may I impose on you to keep watch on this thread for a few days. I am not totaly convinced at this point that the problem is solved. I'll give this a day or two and see what it does. I sent some more test e-mails to myself and have not yet got anything back in my inbox (I don't know if there should be a delay or not, but I'm waiting). As always thanks for your help Mara.
 
Old 03-31-2005, 03:34 PM   #8
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,569

Rep: Reputation: 171Reputation: 171
I'm subscribed to this thread, so if you write a follow-up, I'll get an email.
 
Old 04-01-2005, 07:18 PM   #9
volvogga
Member
 
Registered: Aug 2004
Location: MI, USA
Distribution: Fedora Core 3
Posts: 137

Original Poster
Rep: Reputation: 15
Bah. I was afraid that I would be right. It apears that having my email work was some sort of sudden fluke, as I am back to square one. My thanks fo your help and for not unsubscribing Mara.

Well, I got Mozilla.org's install of firefox and I still can't log in to either Yahoo mail or Gmail via the web browser, so it has to be something at the system level.

I'm still betting on the firewall, but as I said I really don't know what half (most, borderline all) these options are. So I'll try to describe the options and hope you might find a problem.

The security configuration of FC3 under KDE offers me two tabs to work within, firewall options and SELinux options. The firewall tab offers options within 4 catigories. The catigories are....

Security Level: Firewall Enabled/Disabled.
Trusted Services: Choices of 'checking' WWW (HTTP); FTP; SSH; Telnet; and Mail (SMTP). Of these I only have Mail currently 'checked'.
Trusted Devices: Choices of 'checking' eth0; sit0; or ppp0. None are currently 'checked'.
Trusted Ports: This is simply a line that allows you to enter a port and protocol.

The SELinux tab blesses me with the following options....

Enable (Modification Requires Reboot): a checkbox that is currently 'checked'.
Enforcing: a checkbox to turn enforcing (?) on or off. Currently 'on'.
Policy Type: dropdown bar to select the policy type. Only one option open to me and that is called 'targeted'.
Modify SELinux Policy: a 'directory style' box of options. The parent directories are...
apache: contians various options for httpd (?). All options are currently enabled (checked).
Name Service: contians one option... allow named to overwrite master zone files. Currently off (unchecked).
NIS: one option.... Allow daemons to run with NIS. Currently enabled (checked).
Other: two options... httpd_tty_comm and winblind_disable_trans. Both are off (unchecked).
Transition: a rather long one, it contains the following options...
disable SELinux protection for dhcpd daemon.
" " " " httpd "
" " " " mysqld "
" " " " named "
" " " " nscd "
" " " " ntpd "
" " " " portmap "
" " " " postgresql "
" " " " snmpd "
" " " " squid "
" " " " syslogd "
" " " " ypbind "
all of these options are currently unchecked (no disenableing).

Thats all the options I got for the config program. Thanks, as always.
 
Old 04-02-2005, 07:55 AM   #10
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,569

Rep: Reputation: 171Reputation: 171
I don't have the same distro as you, so it's hard to me to check what the options really mean. Please run (as root)
iptables -l
and post the result.
 
Old 04-02-2005, 07:57 AM   #11
Psycho(Clan)
Member
 
Registered: Mar 2005
Posts: 35

Rep: Reputation: 15
Running FC3

Are you running FC3 on your server?

Cus maybe you can help me then i have a problem too!
 
Old 04-02-2005, 07:17 PM   #12
volvogga
Member
 
Registered: Aug 2004
Location: MI, USA
Distribution: Fedora Core 3
Posts: 137

Original Poster
Rep: Reputation: 15
Sorry Pchyo(clan) I have nothing to do with servers at the moment (then again, as confused as I am about the whole situation I could be typing this into a toster). Could be a similer problem I suppose, being it probably having to do with protocols.

Sorry about the long (and apparently useless) post Mara. I was hoping you could look at the protocols and spot something. In any case, here is the output of 'iptables -L':

Chain INPUT (policy ACCEPT)
target prot opt source destination
RH-Firewall-1-INPUT all -- anywhere anywhere

Chain FORWARD (policy ACCEPT)
target prot opt source destination
RH-Firewall-1-INPUT all -- anywhere anywhere

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

Chain RH-Firewall-1-INPUT (2 references)
target prot opt source destination
ACCEPT all -- anywhere anywhere
ACCEPT icmp -- anywhere anywhere icmp any
ACCEPT ipv6-crypt-- anywhere anywhere
ACCEPT ipv6-auth-- anywhere anywhere
ACCEPT udp -- anywhere 224.0.0.251 udp dpt:5353
ACCEPT udp -- anywhere anywhere udp dpt:ipp
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:smtp
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited


Hope you can do something with this, as I see a lot of RH-Firewall references. As always, I apreciate it.
 
Old 04-03-2005, 12:08 PM   #13
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,569

Rep: Reputation: 171Reputation: 171
The firewall is not blocking it. But, as it's not perfect - try turning it off completely to check if it works then.
 
Old 04-03-2005, 10:54 PM   #14
volvogga
Member
 
Registered: Aug 2004
Location: MI, USA
Distribution: Fedora Core 3
Posts: 137

Original Poster
Rep: Reputation: 15
Firewall off, SeLinux off, reboot. And...... nothing.

I don't understand this at all. What is the difference between logging into GAIM, LQ, or anything else other than e-mail, and e-mail?

The only other system annomilies that I can think of is that I access the internet using kppp and have no system network connection for it (as I can't get it to work).

If you (or anyone else) has any more thoughts, or even a direction of thinking, I'm open to suggestions. Thanks a lot.
 
Old 04-04-2005, 01:55 AM   #15
Psycho(Clan)
Member
 
Registered: Mar 2005
Posts: 35

Rep: Reputation: 15
WRONG

This is all wrong???

I just want to install fedora core 2 official CD!!!!!! i bought it in the shop but when i put it in my server it says critical error when i want to install it :S There is allready FreeBSD on it!
 
  


Reply


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
Sound Problems (cd player, flash, gaim, possibly related issues) mcmillan Linux - General 8 01-03-2006 10:56 PM
FC3 firewall paulr1984 Linux - Security 6 04-28-2005 07:00 AM
modprobe (possibly IRQ) problems with OLD sony laptop kersten78 Slackware 1 11-01-2004 07:08 PM
vector problems (possibly a broken install) laydros VectorLinux 1 11-28-2003 09:57 PM
Mail through Firewall/Proxy Problems chrisfirestar Linux - Security 5 11-10-2003 12:48 AM


All times are GMT -5. The time now is 04:43 PM.

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