Solved

25 port smtp problem. urgent!

Posted on 2004-08-22
18
511 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In our day to day coding, how many times have we come across a necessity to check whether a URL is a broken link or not? For those of you that answered countless and are using ColdFusion like myself, then this article is for you.  It will show yo…
Article by: kevp75
Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

910 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

20 Experts available now in Live!

Get 1:1 Help Now