Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

IIS6 Windows 2003 server wont route e-mail ....

Posted on 2004-10-27
16
Medium Priority
?
918 Views
Last Modified: 2012-05-05
ok, im working on a Lan environment which has a SMTP server on it with access to the public world, and our exchange server. i am on a separate V-lan, so its not possible for me to send directly to the public or to exchange, but i can connect to the SMTP server,

i run a windows 2003 server, recently upgraded from windows 2000, and running several key ASP applications for our buisness. some of these applications need to be able to send mail ....

i have addressed the issue as far as i can send the e-mail to the local server, however for some reason the local server cannot route, or will not route the mail to the remote SMTP server with public access...
i have set up the smart host as this remote server, however, the mail just sits in the Queue and doesn't shift... a major pain in the ...... you see where i'm going.. any ideas as to what im doing wrong, bearing in mind that this used to work in windows server 2000... the only difference is that with windows 2000, it allowed an ip address entry for the smart host, whereas 2003 (and IIS6) wnats a proper domain name...

im putting the max of 500 points on this, but if you answer quickly then there may be more to be gotten!!!
0
Comment
Question by:blostar
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 10
  • 6
16 Comments
 
LVL 11

Accepted Solution

by:
WeHe earned 2000 total points
ID: 12423385
this can occure, if your dns server does not accept UDP queries.
to resolve this, you have to change the metabase. take care!

Start the Microsoft Internet Information Services Manager tool. To do this, click Start, point to Administrative Tools, and then click Internet Information Services (IIS) Manager.
Right-click Computer name (local computer), and then click Properties.
Click to select the Enable Direct Metabase Edit check box, and then click OK.
Open the Metabase.xml file by using Notepad. To do this, click Start, click Run, type notepad %systemroot%\system32\inetsrv\metabase.xml, and then click OK.
If the following lines of code are not present, paste them under the <IIsConfigObject Location ="/LM/SmtpSvc" heading:<Custom
            Name="SmtpUseTcpDns"
            ID="36997"
            Value="2"
            Type="DWORD"
            UserType="IIS_MD_UT_SERVER"
            Attributes="INHERIT"
      />
Note Paste these lines of code in numeric order based on the ID number 36997. For example, paste these lines of code after the lines of code that contain ID number 36931 and before the lines of code that contain ID number 49875.
If this code section already exists, modify the Value item to a value of 2.
Save your changes to the Metabase.xml file, and then quit Notepad.
0
 
LVL 1

Author Comment

by:blostar
ID: 12431601
i have tried modifying the metabase with the above entry, in several ways, but IIS keeps on finding problems and ercovers the metabase file from a backup, (or at least thats what it seems to be doing ...

if i mail the metabase file to you could you do the modifacation, im sure i must be making some sort of problem for myself that i cannot see... the event log is showing me errors such as :

===========================================


Error parsing XML file. Reason: XML document must have a top level element.
 Incorrect XML:
ErrorCode           : 0xC00CE558
Interceptor         : 14
OperationType       : Populate
Table               : MBProperty
ConfigurationSource : file:///C:/WINDOWS/system32/inetsrv/EditWhileRunning_Metabase.xml
Row                 : 0
Column              : 0
 
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
 
============================================
A  warning/error occurred while processing text edits to the metabase file. The file with the warning/error has been copied into the history directory with the name Errors appended to it.C:\WINDOWS\system32\inetsrv\History\MetaBaseError_0000000006.xml
ErrorCode           : 0x8021080A
 
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
 
============================================
Unable to read the edited metabase file (tried 10 times). Check for (a) Missing metabase file or (b) Locked metabase file or (c) XML syntax errors.
ErrorCode           : 0x8021080A
 
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

=============================================

thanks for the speedy reply by the way, if you solve it then i'll drop a 500 point question extra for you..!!
0
 
LVL 11

Expert Comment

by:WeHe
ID: 12431671
there is a bad page break.
i hope you have seen it (one more try):

under the <IIsConfigObject Location ="/LM/SmtpSvc" heading:

<Custom
            Name="SmtpUseTcpDns"
            ID="36997"
            Value="2"
            Type="DWORD"
            UserType="IIS_MD_UT_SERVER"
            Attributes="INHERIT"
      />

for sure you can mail it to me and i will do it, but i dont know, if its breaking EE rules.
can you put it on a public place like anonymous ftp or something where i can get and later upload it?
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 1

Author Comment

by:blostar
ID: 12431714
i spotted the bad page break, but its still playing silly buggers,
i'm gonna try taking the server offline and then save the change and see if that does it ....


i'll post back here if either way..



0
 
LVL 1

Author Comment

by:blostar
ID: 12431793
still no joy....

it seems to be attempting to send the mail to an ip address of 217.*.*.* where the 'relay' or smarthost is on an IP of 193.* which is why its failing to send....think im gonna remove and re-install the SMtp service and see if that helps.... also, i couldn't find the correct header to insert the custom section into , i'll give this a try and see what happens, if not i'll see if i can post the metabase file somewhere and see what you can do ..

Thanks WeHe.

Blostar
0
 
LVL 11

Expert Comment

by:WeHe
ID: 12431824
do you get any eventlog entrys ?
0
 
LVL 1

Author Comment

by:blostar
ID: 12431904
thats where i got the 217 address .. but i got the same events once i restarted the IIS service...

just about finished the reinstall .. fingers crossed...
0
 
LVL 1

Author Comment

by:blostar
ID: 12432334
now i've lost the SMTP service from IIS manager...... any ideas ..??
0
 
LVL 11

Expert Comment

by:WeHe
ID: 12432451
did u select it in "add/remove programs" -> "add/remove windows components" ?
its not selected per default.
0
 
LVL 1

Author Comment

by:blostar
ID: 12432536
yea, i removed and reinstalled it several times now .... it wont re-appear in the IIS manager..... think im going to have to completely reinstall IIS and components.. something is not right at all ...... not really a job for just now though, too many users... may have to try doing it later on tonight... unless you can think of anything? ? the event logs show SMTP service is running, and i can telnet a response from it, but i cant configure, or even see it in IIS manager... looks like the beginning of a Saga really.. .
0
 
LVL 11

Expert Comment

by:WeHe
ID: 12432755
Maybe this can help you:

The Simple Mail Transfer Protocol (SMTP) Service and Network News Transport Protocol (NNTP) Services are installed on a server running Internet Information Services (IIS), but the virtual servers do not appear in the Internet Services Manager Microsoft Management Console (MMC). The services work properly, but they cannot be configured.

The File and Printer Sharing for Microsoft Networks service is not installed on the Web server. The SMTP and NNTP services are dependent on this service.

IIS 6.0
To make the virtual servers visible, install the File and Printer Sharing for Microsoft Networks service. To do this, follow these steps in IIS 6.0:
Click Start, and then click Control Panel.
Click Network Connection.
Click Local Area Connection, and then click Properties.
Click the General tab, click to select the Printer Sharing check box, and then click Install.
0
 
LVL 1

Author Comment

by:blostar
ID: 12432822
.... the nntp service is showing and the file and printer sharing service is installed, however, i think i may reinstall the service and see if that helps... much appreciated WeHe , definately going to have to give you at least an extra 500 once this is all done!!

0
 
LVL 1

Author Comment

by:blostar
ID: 12442750
ok, so i found out why the smtp service wasn't showing,
turns out to be this :

http://blogs.msdn.com/exchange/archive/2004/06/29/168919.aspx 

just so you know if it ever happens to you !!!

anyway, i have tried and tried loads of ways now, so i think im left with only the option to see if you can add the lines i require to the file ..... everytime i try to add it it tells me its a duplicate location in the event log, but i cant find where or why this may be the case,

i have uploaded the metabase file to angelfire,
http://ldbauth.lycos.com/cgi-bin/mayaLogin

username of "ab8/BLOstar"
password of "expertsonly"

much appreciated

BLOstar
0
 
LVL 1

Author Comment

by:blostar
ID: 12442770
once you log in you may need to use this link
http://www.angelfire.lycos.com/cgi-auth/webshell
to get to the webshell .... i hate angelfire....
0
 
LVL 1

Author Comment

by:blostar
ID: 12444782
Well... it took me quite a while, but as it turns out it wasn't anything to do with the metafile, it was to do with a rather strange problem with IIS, as it turns out, when you put the ip address in [brackets] it is acceptable, pain, but bearable, and to top that, the relay server has some wierd dns entries which meant that using a hostname would make it fail, again, dont know why... anyway, the long and short is its now working, and although your answers were not the solution i did promise points for the assistance, so i'm giving the 500 for this question anyway...

much appreciated,

BLOstar
0
 
LVL 11

Expert Comment

by:WeHe
ID: 12447846
as you say: "it is now working" is the best point :)
thank you for the points.
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

I guess it is not common knowledge to most Wintel engineers/administrators: If you have an SNMP-based monitoring system in your environment (and it's common to have SNMP or Syslog) it's reasonably easy to enable monitoring of the Windows Event logs,…
I've always wanted to allow a user to have a printer no matter where they login. The steps below will show you how to achieve just that. In this Article I'll show how to deploy printers automatically with group policy and then using security fil…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

618 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