Link to home
Start Free TrialLog in
Avatar of vadim63
vadim63Flag for United States of America

asked on

25 port smtp problem. urgent!

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?
Avatar of scampgb
scampgb
Flag of United Kingdom of Great Britain and Northern Ireland image

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
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 :-)

Avatar of vadim63

ASKER

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.
Avatar of vadim63

ASKER

Sorry guys for my English.
Avatar of vadim63

ASKER

By the way, I tried online port scanner (DSLreports) and port 25 is open.
ASKER CERTIFIED SOLUTION
Avatar of scampgb
scampgb
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of vadim63

ASKER

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  
Avatar of vadim63

ASKER

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?
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.
Avatar of vadim63

ASKER

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.
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 :-)
Avatar of vadim63

ASKER

I didn't do any changes. I'll try to reboot.
Avatar of vadim63

ASKER

No luck. By the way, I can telnet any port, but not 25 only. I have no idea, why?
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?

Avatar of vadim63

ASKER

Yes, I did it. Everything is fine. Is that possible if my server's blocking my IP only? Where to search?
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.
Avatar of vadim63

ASKER

OK, You're right again. Thank you very much for your time.
Hi Vadim.  Took a bit of troubleshooting, but got there in the end! :-)

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