I'm guessing the web server is on a different computer than xmail.

>----------
>From:  Davide Libenzi[SMTP:[EMAIL PROTECTED]]
>Sent:  Tuesday, March 05, 2002 12:18 PM
>To:    XMail mailing list
>Subject:       [xmail] Re: 503 bad sequence of commands
>
>On Tue, 5 Mar 2002, Webmaster 9euro wrote:
>
>> At 12.03 05/03/2002 -0800, you wrote:
>> >On Tue, 5 Mar 2002, Webmaster 9euro wrote:
>> >
>> > > At 10.52 05/03/2002 -0800, you wrote:
>> > > >On Tue, 5 Mar 2002, Webmaster 9euro wrote:
>> > > >
>> > > > > I resolved so:
>> > > > > BEFORE, I had NOTHING in smtprelay.tab and got correct relay for
>>local
>> > > > > users and "530 bad sequence command" for the emails sent from sites
>> > (with
>> > > > > "mail from" a local user address).
>> > > > >
>> > > > > NOW, I have the IP class of the subnet used by the websites on tbat
>> > server.
>> > > > > All goes OK, I get a correct relay from all sites and all accounts
>> > of local
>> > > > > domains.
>> > > > >
>> > > > > (I'm happy, but if I understand why, I'll be more happy too!)
>> > > >
>> > > >I'm pretty aure it's the ASP code that does not respect the RFC
>> > command rules.
>> > >
>> > > This is a snip:
>> > > Set Mailer = Server.CreateObject("SMTPsvg.Mailer")
>> > > Mailer.FromName = "Ufficio vendite"
>> > > Mailer.FromAddress = "[EMAIL PROTECTED]"
>> > > Mailer.RemoteHost = "mydomain.com"   'local domain
>> > > Mailer.AddRecipient request.form("Cognome"), request.form("Email")
>>'the
>> > > customer
>> > > Mailer.AddbcC "biafax", "[EMAIL PROTECTED]"   'not a local
>>account
>> > > Mailer.Subject = "Grazie per il vostro ordine!"
>> > > (...)
>> > > Mailer.BodyText = strBody
>> > > Mailer.CharSet = 2
>> > > If Mailer.SendMail then
>> > >          ...(ErrMsg)
>> > > Else
>> > >          ...(OKMsg)
>> > > End if
>> > >
>> > > This is the code I use in almost all forms.
>> > > Now it works (after including sites IP's in smtprelay.tab).
>> > > All other things about relay worked fine before and work fine after
>>this
>> > > change.
>> >
>> >It's possible that it does not handle SMTP error codes correctly and it's
>> >not able to understand a 'relay denied' on a recipient by keep sending the
>> >DATA command.
>> Is it possible tha  AspMail acts like a "SendMail" and then I need to allow
>> relay to AspMaila like it was an external mail server?
>
>Maybe you've to enable 127.0.0.1 in your smtprelay.tab
>
>
>
>- Davide
>
>
>-
>To unsubscribe from this list: send the line "unsubscribe xmail" in
>the body of a message to [EMAIL PROTECTED]
>For general help: send the line "help" in the body of a message to
>[EMAIL PROTECTED]
>
>
-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]

Reply via email to