Re: CDONTS sends internally but not externally
From: McKirahan (News_at_McKirahan.com)
Date: 10/08/04
- Previous message: Adam: "CDONTS sends internally but not externally"
- In reply to: Adam: "CDONTS sends internally but not externally"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 08 Oct 2004 11:17:13 GMT
"Adam" <adam.hearne@yourinsurance.co.uk> wrote in message
news:da223d5.0410080248.321d1741@posting.google.com...
> Hi guys,
>
> We are connecting to a windows 2000 exchange server and using it to
> relay emails sent from an ASP page. The IIS server which hosts the
> ASP page is using its own SMTP virtual server to relay the email to
> our exchange server via it being specified as the smart host. The
> whole process works like it should when the recipient is internal.
> The problem arises when the recipient is external. We get an instant
> 'undeliverable' message sent back from System Administrator for all
> the external email addresses we tried to relay through the exchange
> server. After looking at the email header on these 'Undeliverable'
> messages, I hope I am about to cut and paste the relevant part from it
> that helps identify where the problem lies:
>
> Received: from IIS_server.internaldomain.co.uk ([192.168.0.18]) by
> exchange_server.internaldomain.co.uk with Microsoft
> SMTPSVC(5.0.2195.5329);
> Fri, 8 Oct 2004 10:08:01 +0100
> From: postmaster@IIS_server.internaldomain.co.uk
> To: adam.hearne@internaldomain.co.uk
>
> So after looking at this...is it safe to say the IIS_server is
> generating the error response because exchange_server won't let it
> relay the email through???
> If so, how do I fix this??
>
>
> I have discovered a mediocre work around which is: Go to the
> IIS_server's SMTP virtual server and add a 'New Remote Domain'. If I
> specify the new remote domain as '*.com' i will then have the ability
> to successfully relay emails to any external address ending in that
> suffix (e.g. someone@hotmail.com would actually work!). But you can
> see I would then have to make a similar entry for every domain we
> wanted to send emails to.
>
>
>
> I have looked at Microsoft KB article #293800 'How to set up windows
> 2000 as a SMTP relay server or smart host'
> (http://support.microsoft.com/default.aspx?scid=kb;en-us;293800). I
> have cut and paste the section which I thought would fix this problem
> and have implemented accordingly:
>
> "Step 3: Specify the Hosts That You Want to Openly Relay to All
> Domains
> Note: Anyone can send to the domains that you specified in Step 2.
>
> This step is for hosts, which are most likely your internal servers
> that would need to send to all domains on the Internet. It is not
> recommended to not have any restrictions because anyone can use your
> server as an open relay. It is recommended to only allow the minimum,
> necessary hosts to openly relay to all domains. To do so:
> Open the properties of the Default SMTP Virtual Server.
> On the Access tab, click Relay.
> Click Only the list below, click Add, and then add the hosts that need
> to use this SMTP host to send email. On the dialog box that appears,
> you have the following options:
> Single computer: Specify one particular host that you want to relay
> off of this server. If you click the DNS Lookup button, you can lookup
> an IP address of a specific host.
> Group of computers: Specify a base IP address for the computers that
> you want to relay. You have to specify the octets in the IP address
> for hosts that you will allow to relay. For example: If the IP address
> is 192.68.7.21, and you want any hosts with the first two octets
> 192.68 to relay, specify 255.255.0.0 for the subnet mask.
> Domain: Select all of the computers in a domain by domain name that
> will openly relay. This option adds processing overhead, and might
> reduce the SMTP service performance because it includes reverse DNS
> lookups on all IP addresses that try to relay to verify their domain
> name.
> Configure the other servers to use your relay server as a smart host
> Depending on the other applications or mailers that will use your
> relay server, you may have a option where you can specify a smart host
> or SMTP relay. With Exchange 2000, you would create an SMTP connector
> and specify the Windows 2000 Relay server in the Forward all mail
> through this connector to the following smart host box. "
Please do not cross-post!
microsoft.public.inetserver.iis.activeserverpages
smtp relay to internal ok but not external!
- Previous message: Adam: "CDONTS sends internally but not externally"
- In reply to: Adam: "CDONTS sends internally but not externally"
- Messages sorted by: [ date ] [ thread ]