We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

SMTP Virtual Service does not work

Medium Priority
573 Views
Last Modified: 2013-12-14
Hi,

Im using SMTP Virtual Server in Win 2000 Adv Srv. behind the router. I opened port 25 for my computer. My ISP does not allow me to use port 25 except for their own smtp server. So I have to use their smtp server.

I do not have Exchange Server.

I configured my smtp virtual server to use my ISPs smtp server as smart host to forward all emails. But whatever I send via my smtp it goes to in badmail folder.


I tried telnet then I got this error message in badmail

 Unable to deliver this message because the follow error was encountered: "This message is a delivery status notification that cannot be delivered.".

The specific error code was 0xC00402C7.

The message sender was <>.

The message was intended for the following recipients.
      test@hotmail.com



Please help me out


Thanks
Comment
Watch Question

Author

Commented:
Can anybody tell me do i need exchange server for this task ?
Chris DentPowerShell Developer
CERTIFIED EXPERT
Top Expert 2010

Commented:

No, you don't need an Exchange Server.

You will have to check the SMTP connection to the Smart Host, try:

telnet SmartHostIP 25

If you get a banner with their SMTP header in reply you have a connection.

Chris

Author

Commented:
This Method works when I use my ISP's smtp server directly via telnet.
But when I use my smtp Virtual server which is configured to use smart host (my ISP's smtp server).

It return this error message in bad mail directory
 
Unable to deliver this message because the follow error was encountered: "This message is a delivery status notification that cannot be delivered.".

The specific error code was 0xC00402C7.

The message sender was <>.

The message was intended for the following recipients.
      test@hotmail.com


Farooq
Alan HardistyCo-Owner
CERTIFIED EXPERT
Top Expert 2011

Commented:
Can you disable the SMTP Virtual Server, create a brand new one and enable Smart Host forwarding to your ISP and then test to see what happens.
If it fails, delete the new one and enable the old one and coe back for other ideas.
If it works, delete the old one and keep the new one.
 
Alan HardistyCo-Owner
CERTIFIED EXPERT
Top Expert 2011

Commented:
Just in case you need a guide:
http://support.microsoft.com/kb/308161 

Author

Commented:

After all these exercise.
 
I tested but couldn't get success mails are stuck in queue folder.

error which i trap in event log that is

Event Type:      Warning
Event Source:      smtpsvc
Event Category:      None
Event ID:      4000
Date:            7/3/2009
Time:            1:08:14 AM
User:            N/A
Computer:      MyComputer
Description:
Message delivery to the remote domain 'hotmail.com' failed for the following reason: An internal DNS error caused a failure to find the remote server.
 
Data:
0000: e7 02 04 c0               ç..À    


farooq
Alan HardistyCo-Owner
CERTIFIED EXPERT
Top Expert 2011

Commented:
Please run through and check this MS article:
http://support.microsoft.com/kb/286673 

Author

Commented:

this time no error message in event log.

but mail still stuck in Queue folder.
Alan HardistyCo-Owner
CERTIFIED EXPERT
Top Expert 2011

Commented:
If you click on the queue, down the bottom of the screen you should see under additional queue information a message telling you what the problem might be.
Do you see a message when the queue is selected?  If so, what is the message?
 

Author

Commented:
Alan,

about which queue screen are you talking about ?

If i open mailroot > Queue folder I found these files

 NTFS_9d0634da01c9fc2600000007.EML.STM
 NTFS_9d0634da01c9fc2600000007.EML

In EML Extension file I have
-------------------------------------------------------------------------
Received: from  ([192.168.1.100]) by Hom-Dom.sureonweb.com with Microsoft SMTPSVC(5.0.2195.6713);
       Fri, 3 Jul 2009 16:38:33 -0500
From: User@MyISP.net
Bcc:
Return-Path: fkhan31@mts.net
Message-ID: <PCNamevoHwnAJzfxh600000007@Fully-qualified.Domain.com>
X-OriginalArrivalTime: 03 Jul 2009 21:38:34.0703 (UTC) FILETIME=[9E07ADF0:01C9FC26]
Date: 3 Jul 2009 16:38:34 -0500

ewk newkrn wer ew
------------------------------------------------------

in STM Extension file there is some garbage characters .

does it help?
Alan HardistyCo-Owner
CERTIFIED EXPERT
Top Expert 2011

Commented:
Have a look at the attached graphic.  At the bottom of the screen is the Additional Info - this may advise if there is a problem.
In your queues that are not going anywhere, if you click on the queue, does the additional info say anything?

SMTP-Queue.jpg

Author

Commented:

but I do not have Exchange System Manager installed in my Computer

Author

Commented:
I tried in WinXP PC same exercise that works fine.

could you get anybody to diagnose this problem more deeply ?
Alan HardistyCo-Owner
CERTIFIED EXPERT
Top Expert 2011

Commented:
Sorry - did not re-read your posting and had forgotten this.
Have you rebooted your server - saw a mention that this often resolves this issue.
Have you read the following article?:
http://www.cmsconnect.com/praetor/webhelpg2/Chapter_2_-_Pre-installation_considerations/Configuring_the_SMTP_Server.htm 
PowerShell Developer
CERTIFIED EXPERT
Top Expert 2010
Commented:
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview

Author

Commented:
Chris,

I think you trapped right problem because.

When I ran nslookup q=mx hotmail.com
<Result>
*********Cant find server name for address 192.168.1.1: Non-existent domain
*********Default servers are not available
Server: Unknown
Address :192.168.1.1



In my event log I found this error

Event Type:      Warning
Event Source:      smtpsvc
Event Category:      None
Event ID:      4000
Date:            7/4/2009
Time:            11:55:53 PM
User:            N/A
Computer:      MyPC
Description:
Message delivery to the remote domain 'hotmail.com' failed for the following reason: An internal DNS error caused a failure to find the remote server.


how can i fix it ?
Alan HardistyCo-Owner
CERTIFIED EXPERT
Top Expert 2011

Commented:
Chris DentPowerShell Developer
CERTIFIED EXPERT
Top Expert 2010

Commented:

Are there any firewalls between the SMTP server and the DNS server?

Are you able to verify the DNS server is running on 192.168.1.1?

Is the DNS server a server or a bit of network kit (router / firewall)?

Chris

Author

Commented:
Thanks Chris.
You are right problem was DNS I defined static DNS Server then problem solved.


Thaaaaaaaanks
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a free trial preview!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.