Linux Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsLinux Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old April 25th, 2008, 11:08 PM
Weekend Coder Weekend Coder is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2007
Posts: 77 Weekend Coder User rank is Sergeant Major (2000 - 5000 Reputation Level)Weekend Coder User rank is Sergeant Major (2000 - 5000 Reputation Level)Weekend Coder User rank is Sergeant Major (2000 - 5000 Reputation Level)Weekend Coder User rank is Sergeant Major (2000 - 5000 Reputation Level)Weekend Coder User rank is Sergeant Major (2000 - 5000 Reputation Level)Weekend Coder User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 19 h 39 m 33 sec
Reputation Power: 21
Mail Server Problem? Port Blocked?

I wanted to ask this here because whenever I post questions to the Qmail list I subscribe to, I get mercilessly slapped around like the mail server noob I am... And this probably isn't a mail server question anyway.

Today and about noon, my email reader (Thunderbird) started having problems connecting to my mail server, which is a basic Qmail install. The error was:

"Unable to connect. Connection Refused"

I haven't done anything with my firewall, and I have a Business Account that allows me to run a mail server.

And, I can still access the mail server via webmail (in this case,
SquirrellMail), so IMAP is alive and well.

When I log in and telnet localhost 110, everything seems fine:
Quote:
telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
+OK <19325.1209180298@xxx.com>
user wc@xxx.com
+OK
pass xxxxxxx
+OK
list
+OK
1 5646
2 5069
3 10594
.
quit
+OK
Connection closed by foreign host.
One other thing, I use Qmail-Scanner as the queuing mechanism, and as it happens, the qmail-queue.log became quite large. Usually it rotates. I cleaned that up and restarted everything.

So with all that I've said, does it seem reasonable to assume that Qmail is functioning but that port 110 is being blocked from the outside world?

Reply With Quote
  #2  
Old April 25th, 2008, 11:37 PM
hiker's Avatar
hiker hiker is offline
They're coming to take me away
Click here for more information.
 
Join Date: Jan 2005
Location: Florida
Posts: 2,596 hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)  Folding Points: 27176 Folding Title: Starter FolderFolding Points: 27176 Folding Title: Starter Folder
Time spent in forums: 1 Month 1 Week 1 Day 5 h 37 m 8 sec
Reputation Power: 1166
Quote:
Originally Posted by Weekend Coder
And, I can still access the mail server via webmail (in this case,
SquirrellMail), so IMAP is alive and well.

When I log in and telnet localhost 110, everything seems fine

If you can log in with one client and not another, it's probably not a port block issue. But my question is that you mention using Squirrelmail for IMAP... Port 110 is for POP, not IMAP. Port 143 is IMAP.

What protocol are you using in Thunderbird? If POP, try using IMAP instead.

What OS are you running?

Reply With Quote
  #3  
Old April 25th, 2008, 11:51 PM
Weekend Coder Weekend Coder is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2007
Posts: 77 Weekend Coder User rank is Sergeant Major (2000 - 5000 Reputation Level)Weekend Coder User rank is Sergeant Major (2000 - 5000 Reputation Level)Weekend Coder User rank is Sergeant Major (2000 - 5000 Reputation Level)Weekend Coder User rank is Sergeant Major (2000 - 5000 Reputation Level)Weekend Coder User rank is Sergeant Major (2000 - 5000 Reputation Level)Weekend Coder User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 19 h 39 m 33 sec
Reputation Power: 21
Quote:
Originally Posted by hiker
If you can log in with one client and not another, it's probably not a port block issue. But my question is that you mention using Squirrelmail for IMAP... Port 110 is for POP, not IMAP. Port 143 is IMAP.

What protocol are you using in Thunderbird? If POP, try using IMAP instead.

What OS are you running?
Yes, sorry to be confusing...

Squirrelmail (webmail) uses IMAP (port 143). I can get to my mail with Squirrelmail, no problem. So, port 143 is open to the the web server running SquirrelMail. And this tells me that Qmail is working.

Thunderbird, of course uses POP3 (port 110). Not connecting.

Yet, as you can see from the quoted snip above, when I telnet into the server and access port 110, I can connect.

HOWEVER, when I open a CMD window on my desktop here at home and try to telnet xxx.xxx.xxx.xxx 110 or telnet xxx.com 110, or as I said try to connect with Thunderbird, it's no-go.

I think this tells me that something (not my machine) is blocking 110 (my ISP?)

Last edited by Weekend Coder : April 25th, 2008 at 11:55 PM.

Reply With Quote
  #4  
Old April 25th, 2008, 11:56 PM
hiker's Avatar
hiker hiker is offline
They're coming to take me away
Click here for more information.
 
Join Date: Jan 2005
Location: Florida
Posts: 2,596 hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)hiker User rank is General 3rd Grade (Above 100000 Reputation Level)  Folding Points: 27176 Folding Title: Starter FolderFolding Points: 27176 Folding Title: Starter Folder
Time spent in forums: 1 Month 1 Week 1 Day 5 h 37 m 8 sec
Reputation Power: 1166
Quote:
Originally Posted by Weekend Coder
Yes, sorry to be confusing...

Squirrelmail (webmail) uses IMAP (port 143). I can get to my mail with Squirrelmail, no problem. So, port 143 is open to the the web server running SquirrelMail. And this tells me that Qmail is working.

Thunderbird, of course uses POP3 (port 110). Not connecting.

Yet, as you can see from the quoted snip above, when I telnet into the server and access port 110, I can connect.

HOWEVER, when I open a CMD window on my desktop here at home and try to telnet xxx.xxx.xxx.xxx 110 or telnet xxx.com 110, or as I said try to connect with Thunderbird, it's no-go.

I think this tells me that something (not my machine) is blocking 110 (my ISP?)


Yes... I'm assuming port 110 is opened in any firewalls and forwarded in any routers?

Reply With Quote
  #5  
Old April 26th, 2008, 12:19 AM
Weekend Coder Weekend Coder is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2007
Posts: 77 Weekend Coder User rank is Sergeant Major (2000 - 5000 Reputation Level)Weekend Coder User rank is Sergeant Major (2000 - 5000 Reputation Level)Weekend Coder User rank is Sergeant Major (2000 - 5000 Reputation Level)Weekend Coder User rank is Sergeant Major (2000 - 5000 Reputation Level)Weekend Coder User rank is Sergeant Major (2000 - 5000 Reputation Level)Weekend Coder User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 19 h 39 m 33 sec
Reputation Power: 21
The thing is, I can still receive and send mail. I just have to do it with the webmail (which runs off the same machine). But if I send myself something from, say, Gmail, I get it. So port 25 must be open.

I can use nmap to see what ports are open / closed. I'll have to read up on how to do that...

[EDIT]

Well, I think I've answered my question.
Code:
Starting nmap V. 3.00 ( www.insecure.org/nmap/ )
Interesting ports on localhost.localdomain (127.0.0.1):
(The 1587 ports scanned but not shown below are in state: closed)
Port       State       Service
21/tcp     open        ftp                    
22/tcp     open        ssh                    
25/tcp     open        smtp                    
80/tcp     open        http                    
106/tcp    open        pop3pw                  
110/tcp    open        pop-3                  
111/tcp    open        sunrpc                  
143/tcp    open        imap2                  
443/tcp    open        https                  
631/tcp    open        ipp                    
783/tcp    open        hp-alarm-mgr            
993/tcp    open        imaps                  
3306/tcp   open        mysql                  
6000/tcp   open        X11       

Last edited by Weekend Coder : April 26th, 2008 at 12:33 AM.

Reply With Quote
  #6  
Old April 27th, 2008, 08:49 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,546 Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 4 Weeks 14 h 57 m 13 sec
Reputation Power: 634
You can use grc.com to check what ports at your site are visible to the "outside world"
__________________
======
Doug G
======
"Hide, hide witch! The good folk come to burn thee. Their keen enjoyment hid behind their gothic mask of duty." -Mark Clifton

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsLinux Help > Mail Server Problem? Port Blocked?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway