Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_cdo thread: CDONTS not sending messages...


Message #1 by "Alex Shiell, ITS, EC, SE" <alex.shiell@s...> on Fri, 17 Aug 2001 15:22:22 +0100
Hi Folks,



I've just moved my application which uses CDONTS to a production server (on

the DMZ rather than on our network), and the messages are not getting sent.

I have verified that the messages are being created properly by stopping the

default SMTP site and sseing that sure enough the messages do build up in

the pickup directory.  Starting the site again results in the messages

disappearing, hence they are being sent, although they are not arriving at

their destinations.



Clearly this means that the SMTP service has not been configured correctly.

As our support people don't have much experience of this sort of thing, can

anyone tell me how to configure the SMTP service with the correct mail

gateway?

Message #2 by Wei WU <wwu@i...> on Tue, 21 Aug 2001 09:36:10 +1000

They might not be sent...check the queue and badmail folder.

Is there a firewall?

Are you trying to send email to Internet or back to internal LAN?

Is DNS accessible for that server?

If not, specify a smart host, who does have DNS service accessible.







-----Original Message-----

From: Alex Shiell, ITS, EC, SE [mailto:alex.shiell@s...]

Sent: Saturday, 18 August 2001 12:22 AM

To: ASP CDO

Subject: [asp_cdo] CDONTS not sending messages...





Hi Folks,



I've just moved my application which uses CDONTS to a production server 

(on

the DMZ rather than on our network), and the messages are not getting 

sent.

I have verified that the messages are being created properly by 

stopping the

default SMTP site and sseing that sure enough the messages do build up 

in

the pickup directory.  Starting the site again results in the messages

disappearing, hence they are being sent, although they are not arriving 

at

their destinations.



Clearly this means that the SMTP service has not been configured 

correctly.

As our support people don't have much experience of this sort of thing, 

can

anyone tell me how to configure the SMTP service with the correct mail

gateway?



Message #3 by philip.moh@a... on Tue, 21 Aug 2001 14:23:26 +0800
I have the same problem. When I moved the script to production server (the

webserver in DMZ zone), and I can't send the mail. It run perfectly on my

development server.

Anything to do with firewall?

I have check the queue/badmail but no mail in side.





	-----Original Message-----

	From:	Wei WU [SMTP:wwu@i...]

	Sent:	Tuesday, August 21, 2001 7:36 AM

	To:	ASP CDO

	Subject:	[asp_cdo] RE: CDONTS not sending messages...





	They might not be sent...check the queue and badmail folder.

	Is there a firewall?

	Are you trying to send email to Internet or back to internal LAN?

	Is DNS accessible for that server?

	If not, specify a smart host, who does have DNS service accessible.







	-----Original Message-----

	From: Alex Shiell, ITS, EC, SE [mailto:alex.shiell@s...]

	Sent: Saturday, 18 August 2001 12:22 AM

	To: ASP CDO

	Subject: [asp_cdo] CDONTS not sending messages...





	Hi Folks,



	I've just moved my application which uses CDONTS to a production

server 	(on

	the DMZ rather than on our network), and the messages are not

getting sent.

	I have verified that the messages are being created properly by =3D

	stopping the

	default SMTP site and sseing that sure enough the messages do build

up 

	in the pickup directory.  Starting the site again results in the

messages

	disappearing, hence they are being sent, although they are not

arriving at

	their destinations.



	Clearly this means that the SMTP service has not been configured 

	correctly.

	As our support people don't have much experience of this sort of

thing, 	can

	anyone tell me how to configure the SMTP service with the correct

mail gateway?



Message #4 by "Alex Shiell, ITS, EC, SE" <alex.shiell@s...> on Tue, 21 Aug 2001 09:49:50 +0100
Hi Wei Wu,



Thanks for your reply.  The messages are created properly, they go to the

pickup folder (Badmail is only for messages that are not properly created).

They then disappear when the SMTP site is started, so clearly they are 

being sent, the question is where to?



I'm sending the messages to the internet.  I've got to admit that I don't

fully understand how DNS works, but then I'm a developer, not a network

engineer.  I have specified a smart host, which is our mail server.  Again

my understanding of this stuff is a bit fuzzy as its not my field, but the

mail server and the web server are on opposite sides of the firewall, so 

I'm not sure if communication is taking place between them.  Is there a

public smart host on the internet that I should be specifying instead?



-----Original Message-----

From: Wei WU [mailto:wwu@i...]

Sent: 21 August 2001 00:36

To: ASP CDO

Subject: [asp_cdo] RE: CDONTS not sending messages...







They might not be sent...check the queue and badmail folder.

Is there a firewall?

Are you trying to send email to Internet or back to internal LAN?

Is DNS accessible for that server?

If not, specify a smart host, who does have DNS service accessible.







-----Original Message-----

From: Alex Shiell, ITS, EC, SE [mailto:alex.shiell@s...]

Sent: Saturday, 18 August 2001 12:22 AM

To: ASP CDO

Subject: [asp_cdo] CDONTS not sending messages...





Hi Folks,



I've just moved my application which uses CDONTS to a production server 

(on the DMZ rather than on our network), and the messages are not getting 

sent.

I have verified that the messages are being created properly by stopping 

the default SMTP site and sseing that sure enough the messages do build up 

in the pickup directory.  Starting the site again results in the messages

disappearing, hence they are being sent, although they are not arriving 

at their destinations.



Clearly this means that the SMTP service has not been configured correctly.

As our support people don't have much experience of this sort of thing, can

anyone tell me how to configure the SMTP service with the correct mail

gateway?



Message #5 by Wei WU <wwu@i...> on Wed, 22 Aug 2001 11:19:44 +1000

Hi Alex,



    If the web server where your ASP script resides is in the DMZ, then 

you

don't really have to specify a smart host because this web server 

itself has

enough information for SMTP to send out emails.



    In order to test the SMTP, you might do the following:



For the web server

=09

	From another computer, open telnet, then telnet to (ip address of

web server) xxx.xxx.xxx.xxx 25. If you can see the welcome message, 

that

means firewall is not a problem (at this direction). You should try the

opposite direction as well). then try typing in the following commands:



helo me (enter)



mail from: whatever@d... (enter)



rcpt to: your own email address (enter)



data (enter)



whatever some data (enter)



.  (enter)



quit (enter)



At least one of the email addresses should belong to the local email 

zone,

if email relay is not permitted.



Then you should receive a email in your email client(Outlook?). If it

doesn't happen then something is wrong with SMTP. Try find that email 

under

mailroot/queue folder and read the .rtr file, that might give more 

info.



And then you might want to do the reverse...telnetting from your web 

server

onto the email server, and try send emails. Please tell us what 

happens,



ta



Wei







Message #6 by "Alex Shiell, ITS, EC, SE" <alex.shiell@s...> on Wed, 22 Aug 2001 11:20:31 +0100
Hi Wei,



I can't telnet the server from within the network.  I assume its because of

the firewall so now I'm waiting for the support guys to sort it out.



Thanks,

Alex



-----Original Message-----

From: Wei WU [mailto:wwu@i...]

Sent: 22 August 2001 02:20

To: ASP CDO

Subject: [asp_cdo] RE: CDONTS not sending messages...







Hi Alex,



If the web server where your ASP script resides is in the DMZ, then 

you don't really have to specify a smart host because this web server

itself has enough information for SMTP to send out emails.



    In order to test the SMTP, you might do the following:



For the web server



	From another computer, open telnet, then telnet to (ip address of

web server) xxx.xxx.xxx.xxx 25. If you can see the welcome message, that

means firewall is not a problem (at this direction). You should try the

opposite direction as well). then try typing in the following commands:



helo me (enter)



mail from: whatever@d... (enter)



rcpt to: your own email address (enter)



data (enter)



whatever some data (enter)



.  (enter)



quit (enter)



At least one of the email addresses should belong to the local email 

zone, if email relay is not permitted.



Then you should receive a email in your email client(Outlook?). If it

doesn't happen then something is wrong with SMTP. Try find that email 

under mailroot/queue folder and read the .rtr file, that might give more 

info.



And then you might want to do the reverse...telnetting from your web 

server onto the email server, and try send emails. Please tell us what

happens,



ta



Wei




  Return to Index