We finally go the mail relay working.  We had one last problem: It turned out 
there was a code bug, although I also partly blame Microsoft.  In the ASP 
code, the "from line" was set to a text line (e.g. "order form"), instead of 
a true address format (e.g., "[EMAIL PROTECTED]").  Apparently, the SMTP 
service sees the bad from line and throws the message into the badmail folder 
without generating any error messages.  So, it was our fault for not catching 
the bad from line to begin with, but it was MS's mistake not to put any error 
handling into their code.

Anyway, thanks to everyone here for their help.  It made a difference.

Ben

In a message dated 11/26/99 12:06:38 PM Pacific Standard Time, 
[EMAIL PROTECTED] writes:

<< Subj:     RE: [IMail Forum] ASP sendmail failure
 Date:  11/26/99 12:06:38 PM Pacific Standard Time
 From:  [EMAIL PROTECTED] (Ken Bakunas)
 Sender:    [EMAIL PROTECTED]
 Reply-to:  [EMAIL PROTECTED]
 To:    [EMAIL PROTECTED]
 
 Did you set the Imail server to allow relay for your IIS server?
 
 On your IIS server, outbound security of remote domain, is "no
 authentication"
 selected?
 
 -Ken
 
 > -----Original Message-----
 > From: [EMAIL PROTECTED]
 > [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED]
 > Sent: Thursday, November 25, 1999 7:35 AM
 > To: [EMAIL PROTECTED]
 > Subject: Re: [IMail Forum] ASP sendmail failure
 >
 >
 > Thanks for the help.  I gave this a try, but it doesn't seem to work.
 >
 > We have IMail running on one server, and MS's SMTP service running on a
 > second server as part of the IIS4 package (This is the server
 > that hosts web
 > site).  I created a remote domain under the SMTP Site node in the
 > MMC, and
 > set its option box to accept relays.  Then I set the Smart Host
 > line (in the
 > SMTP Site Properties box/Deliveries tab) to either the IP address
 > of the FQDN
 > of the IMail mail server.
 >
 > Attempts to run with this configuration result in the message in the
 > mailroot/badmail directory.  It appears to happen very quickly.
 > That is, we
 > have a test ASP page that sends mail, and using that page results in a
 > message immediately in the badmail folder.
 >
 > I'm convinced this should work, but MS's documentation stinks.
 > So what am I
 > missing that causes all the ASP-sent messages to be sent to the badmail
 > directory.  Any help given is appreicated.
 >
 > Ben
 >
 > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
 >
 > In a message dated 11/22/99 6:30:16 AM Pacific Standard Time,
 > [EMAIL PROTECTED] writes:
 >
 > << Subj:     RE: [IMail Forum] ASP sendmail failure
 >  Date:  11/22/99 6:30:16 AM Pacific Standard Time
 >  From:  [EMAIL PROTECTED] (Ken Bakunas)
 >  Sender:    [EMAIL PROTECTED]
 >  Reply-to:  [EMAIL PROTECTED]
 >  To:    [EMAIL PROTECTED]
 >
 >  Ben, I have it all working...
 >  Make sure to do the following:
 >
 >  1.  Create a new domain of your imail server under the smtp server in
 >  the management console.
 >
 >  2.  Set it as "remote" and check "allow incoming mail to be
 > relayed to this
 >  domain".
 >
 >  3.  Under the Delivery tab of the SMTP server properties, enter
 > your imail
 >  server's IP address between brackets - [1.2.3.4] - in the Smart
 > host field.
 >
 >  All mail we now be sent to your imail server.  You can check the
 > Queue and
 >  other folders under INetPub\mailroot to see if anything is going
 > out.  Also
 >  look at the queue on your imail server.
 >
 >  Hope this helps...
 >
 >  Ken
 >
 >  > -----Original Message-----
 >  > From: [EMAIL PROTECTED]
 >  > [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED]
 >  > Sent: Sunday, November 21, 1999 3:20 AM
 >  > To: [EMAIL PROTECTED]
 >  > Subject: [IMail Forum] ASP sendmail failure
 >  >
 >  >
 >  > This is half-way on topic: we're using the newmail object (from
 >  > the CDONTS
 >  > dll) within an ASP page to send mail.  The mail is supposed to
 >  > turn over to
 >  > the IMail server and go out, but nothing happens.  That is, the code
 >  > apparently executes, but the mail doesn't actually go out.  Any
 >  > idea why or
 >  > how to trace it?
 >  >
 >  > Ben
 >  > Please visit http://www.ipswitch.com/support/mailing-lists.html
 >  > to be removed from this list.
 >  >
 >
 >  Please visit http://www.ipswitch.com/support/mailing-lists.html
 >  to be removed from this list.
 >
 >
 >  ----------------------- Headers --------------------------------
 >  Return-Path: <[EMAIL PROTECTED]>
 >  Received: from  rly-yg02.mx.aol.com (rly-yg02.mail.aol.com
 > [172.18.147.2])
 > by air-yg03.mail.aol.com (vx) with ESMTP; Mon, 22 Nov 1999 09:30:16 -0500
 >  Received: from  list.ipswitch.com (list.ipswitch.com [156.21.1.21]) by
 > rly-yg02.mx.aol.com (v65.4) with ESMTP; Mon, 22 Nov 1999 09:30:01 -0500
 >  Received: from mail.magnetic.com [209.198.62.241] by
 > list.ipswitch.com with
 > ESMTP
 >    (SMTPD32-5.05) id A4F71A9F0142; Mon, 22 Nov 1999 09:36:39 -0500
 >  Received: from positive [209.198.62.244] by mail.magnetic.com
 >    (SMTPD32-5.05) id A3495A280244; Mon, 22 Nov 1999 09:29:29 -0500
 >  From: "Ken Bakunas" <[EMAIL PROTECTED]>
 >  To: <[EMAIL PROTECTED]>
 >  Date: Mon, 22 Nov 1999 09:28:03 -0500
 >  Message-ID: <002801bf34f5$c8f31930$[EMAIL PROTECTED]>
 >  MIME-Version: 1.0
 >  Content-Type: text/plain;
 >     charset="iso-8859-1"
 >  Content-Transfer-Encoding: 7bit
 >  X-Priority: 3 (Normal)
 >  X-MSMail-Priority: Normal
 >  X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0
 >  X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4
 >  Importance: Normal
 >  In-Reply-To: <[EMAIL PROTECTED]>
 >  Subject: RE: [IMail Forum] ASP sendmail failure
 >  Precedence: bulk
 >  Sender: [EMAIL PROTECTED]
 >  Reply-To: [EMAIL PROTECTED]
 >
 >   >>
 > Please visit http://www.ipswitch.com/support/mailing-lists.html
 > to be removed from this list.
 >
 
 Please visit http://www.ipswitch.com/support/mailing-lists.html 
 to be removed from this list.
 
 
 ----------------------- Headers --------------------------------
 Return-Path: <[EMAIL PROTECTED]>
 Received: from  rly-yd02.mx.aol.com (rly-yd02.mail.aol.com [172.18.150.2]) 
by air-yd04.mail.aol.com (vx) with ESMTP; Fri, 26 Nov 1999 15:06:38 -0500
 Received: from  list.ipswitch.com (list.ipswitch.com [156.21.1.21]) by 
rly-yd02.mx.aol.com (v65.4) with ESMTP; Fri, 26 Nov 1999 15:06:30 -0500
 Received: from mail.magnetic.com [209.198.62.241] by list.ipswitch.com with 
ESMTP
   (SMTPD32-5.05) id AA7EC550150; Fri, 26 Nov 1999 15:15:58 -0500
 Received: from positive [209.198.62.244] by mail.magnetic.com
   (SMTPD32-5.05) id A8EE2190130; Fri, 26 Nov 1999 15:09:18 -0500
 From: "Ken Bakunas" <[EMAIL PROTECTED]>
 To: <[EMAIL PROTECTED]>
 Date: Fri, 26 Nov 1999 15:07:48 -0500
 Message-ID: <003701bf3849$e91133d0$[EMAIL PROTECTED]>
 MIME-Version: 1.0
 Content-Type: text/plain;
    charset="iso-8859-1"
 Content-Transfer-Encoding: 7bit
 X-Priority: 3 (Normal)
 X-MSMail-Priority: Normal
 X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0
 Importance: Normal
 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4
 In-Reply-To: <[EMAIL PROTECTED]>
 Subject: RE: [IMail Forum] ASP sendmail failure
 Precedence: bulk
 Sender: [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 
  >>
Please visit http://www.ipswitch.com/support/mailing-lists.html 
to be removed from this list.

Reply via email to