Solved

25 port smtp problem. urgent!

Posted on 2004-08-22
18
510 Views
Last Modified: 2010-04-20
The command "telnet servername 25" works fine on a local comp. But it doesn't work from any another comp. OS is Win server 2003. Any ideas?
0
Comment
Question by:vadim63
  • 10
  • 8
18 Comments
 
LVL 15

Expert Comment

by:scampgb
ID: 11864323
Hi vadim63,

This would either be a routing or firewalling problem.

Are both PCs on the same subnet, and have the same default gateway defined?

Is there a firewall anywhere on the network?

I'm guessing that you mean you can access port 25 of your server from a PC that's on the LAN, but not from a PC that's on the Internet.

This could either be a restriction on the server or a firewall.

Hope that this helps - let me know if you need any further info
0
 
LVL 15

Expert Comment

by:scampgb
ID: 11864338
vadim63,
The article http://www.iis-resources.com/modules/news/article.php?storyid=5 explains how to set up security for SMTP in IIS.

It's probably the relay section that you're interested in - I can't tell you exactly without understanding a little more about your environment.

Be very wary about accidentally configuring your server as an open relay :-)

0
 
LVL 10

Author Comment

by:vadim63
ID: 11864418
Yes I can access port 25 of my server from a PC that's on the LAN, but not from a PC that's on the Internet. I'm not using SMTP in IIS. I'm using Merak. But if I even shut off Merak, the problem still be same. When I turn on IIS SMTP - same.
0
 
LVL 10

Author Comment

by:vadim63
ID: 11864423
Sorry guys for my English.
0
 
LVL 10

Author Comment

by:vadim63
ID: 11864677
By the way, I tried online port scanner (DSLreports) and port 25 is open.
0
 
LVL 15

Accepted Solution

by:
scampgb earned 500 total points
ID: 11864712
Hi - don't worry about the English, it's better than my (insert any other language here).

I assumed you were using IIS due to the topic area you posted in.
I'm not familiar with Merak I'm afraid, but I'm guessing that there's some configuration option in it for what IP addresses are allowed to connect.

I've had a quick look at the IceWarp website and you can download a load of information from http://www.icewarp.com/Download/

Can I suggest that you try testing your domain with www.dnsreport.com and www.checkdns.net ?
These will check that your DNS is set up properly, and that the MX mailserver is accepting connections on port 25.

Checkdns will also do a small mailserver check that will hopefully provide some useful info.
Could you please post the results of these tests?
0
 
LVL 10

Author Comment

by:vadim63
ID: 11864811
I can't believe it all tests are passed. But I'm still unable telnet port 25 and send email from any comp on Internet. There's the results:
Domain treckamerica.com has only one mail-server  
  Checking mail server (PRI=10) MAIL.treckamerica.com [67.102.44.43]  
  Mail server MAIL.treckamerica.com[67.102.44.43] answers on port 25  
  <<< 220 treckamerica.com ESMTP Merak 7.2.0; Sun, 22 Aug 2004 13:16:23 -0400
  >>> HELO www.checkdns.net
  <<< 250 treckamerica.com Hello www.checkdns.net [195.60.98.252], pleased to meet you.
  >>> MAIL FROM: <dnscheck@uniplace.com>
  <<< 250 2.1.0 <dnscheck@uniplace.com>... Sender ok
  >>> RCPT TO: <postmaster@treckamerica.com>
  <<< 250 2.1.5 <postmaster@treckamerica.com>... Postmaster ok
  >>> QUIT
  Mail server MAIL.treckamerica.com [67.102.44.43] accepts mail for treckamerica.com  
  All MX are configured properly  
0
 
LVL 10

Author Comment

by:vadim63
ID: 11864859
More news. I can't telnet it only from one particular comp (my home). I tried from another one and it works, thanks God. Maybe there's some restriction for my home comp IP? How can I check it?
0
 
LVL 15

Expert Comment

by:scampgb
ID: 11864869
I've just managed to sucessfully telnet to port 25 of your server and send a message to postmaster.

Perhaps the problem is that you can't telnet out on port 25 from the machine that you were trying to use as the test?
Let me know if the postmaster test turns up.
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 10

Author Comment

by:vadim63
ID: 11864887
Yes you're absolutely right. I've got your test message. But what could be wrong with my home comp? I was sending an emails a day ago and everything was fine.
0
 
LVL 15

Expert Comment

by:scampgb
ID: 11864901
Glad that your mailserver works :-)

Do you have any firewall software on your PC that could be affecting this?
Have you made any system changes, router upgrades etc?

The traditional answer: try a reboot :-)
0
 
LVL 10

Author Comment

by:vadim63
ID: 11864973
I didn't do any changes. I'll try to reboot.
0
 
LVL 10

Author Comment

by:vadim63
ID: 11865010
No luck. By the way, I can telnet any port, but not 25 only. I have no idea, why?
0
 
LVL 15

Expert Comment

by:scampgb
ID: 11865017
That type of behaviour is going to be down to a firewall of some description.
Another thing that occurs to me is that it might be your ISP.

Are you able to telnet to port 25 on your ISPs mailserver/smarthost?

0
 
LVL 10

Author Comment

by:vadim63
ID: 11865041
Yes, I did it. Everything is fine. Is that possible if my server's blocking my IP only? Where to search?
0
 
LVL 15

Expert Comment

by:scampgb
ID: 11865053
If you're able to contact your ISPs mailserver but nothing else, it's quite likely that it's your ISP that is blocking it.

First you should check your own router/firewall configuration to make sure that there's nothing you've done that would cause the problem.

Then you should contact your ISP.  Explain the problem you're having, and ask them if they're blocking port 25 to external destinations.
Some ISPs do this as a matter of routine.  It's possible that your ISP has recently changed its policy.
0
 
LVL 10

Author Comment

by:vadim63
ID: 11865083
OK, You're right again. Thank you very much for your time.
0
 
LVL 15

Expert Comment

by:scampgb
ID: 11865124
Hi Vadim.  Took a bit of troubleshooting, but got there in the end! :-)

Thanks for the "A".  Glad I could help.
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now