I finally tracked this down.  There is an ASSP bug here.  Here's what is 
happening: 

My Exchange server had TLS enabled on the connector that ASSP was connecting 
to, so when EHLO was sent to the Exchange server it responded with the 
following: 

250-mail.eatough.net Hello [192.168.0.240]
250-SIZE 10485760
250-DSN
250-ENHANCEDSTATUSCODES
250 STARTTLS
250-AUTH
250-8BITMIME
250-BINARYMIME
250 NOOP

I do not have TLS enabled on ASSP yet, so it changes this response to: 

250-mail.eatough.net Hello [192.168.0.240]
250-SIZE 10485760
250-DSN
250-ENHANCEDSTATUSCODES
250 NOOP
250-AUTH
250-8BITMIME
250-BINARYMIME
250 NOOP

The NOOP in the middle of the capabilities list is seen as an end of that list 
by the sending server, so it starts sending the MAIL FROM, and the rest of the 
responses now come back to the sending server in an order it doesn't 
understand.  

ASSP should not replace the "250 STARTTLS" with "250 NOOP" -- it should be 
dropping that line completely.  

Mitch

-----Original Message-----
From: Mitch Eatough [mailto:mi...@eatough.net] 
Sent: Wednesday, March 04, 2009 9:59 PM
To: ASSP development mailing list
Subject: Re: [Assp-test] Replies still out of order in 2.0.0_14.05

The repro is consistent for me.  I'm running on Windows Server 2008, 
ActiveState Perl 5.8.9 Build 825. With 13.02 mail comes in just fine, as soon 
as I upgrade to either 14.02 or 14.05 mail starts bouncing.  

I have two ASSP servers at different sites, this repros on both machines.  

Any additional logging I can provide to help narrow down what's going on here?

Mitch

-----Original Message-----
From: Matti Haack [mailto:m.ha...@haack-it.de] 
Sent: Wednesday, March 04, 2009 8:43 AM
To: ASSP development mailing list
Subject: Re: [Assp-test] Replies still out of order in 2.0.0_14.05

Same here...anything looks fine.

Resolving hostname...
Connecting...
SMTP -> FROM SERVER:
220 mail.internethit.de - No Spam! No Relay! Let's Go!
SMTP -> FROM SERVER: 
250-hmailserver
250-SIZE
250 AUTH LOGIN
MAIL FROM: ma...@domain1.com
SMTP -> FROM SERVER:
250 OK
RCPT TO: ma...@domain1.com
SMTP -> FROM SERVER:
250 OK
Sending Mail Message Body...
SMTP -> FROM SERVER:
354 OK, send.
SMTP -> FROM SERVER:
250 Queued (4.000 seconds)
Message completed successfully

pdn> Strange,

pdn> No problem here with 2.0.0_14.05:

pdn> Resolving hostname...
pdn> Connecting...
SMTP ->> FROM SERVER:
pdn> 220 lnxmail01.applemooz.nl ESMTP
SMTP ->> FROM SERVER:
pdn> 250-lnxmail01.applemooz.nl
pdn> 250-8BITMIME
pdn> 250-SIZE 1000000000
pdn> 250-AUTH LOGIN PLAIN CRAM-MD5
pdn> 250 STARTTLS
pdn> MAIL FROM: pas...@applemooz.nl
SMTP ->> FROM SERVER:
pdn> 250 ok
pdn> RCPT TO: pas...@dreissen.nl
SMTP ->> FROM SERVER:
pdn> 250 ok
pdn> Sending Mail Message Body...
SMTP ->> FROM SERVER:
pdn> 354 go ahead
SMTP ->> FROM SERVER:
pdn> 250 ok 1236183603 qp 12743
pdn> Message completed successfully.


pdn> Quoting "Mitch Eatough" <mi...@eatough.net>:

>> I'm still getting mail connects dropping because ASSP is sending   
>> replies out of order.  I have DoTLS set to 0.
>>
>> I'm using the tool at http://www.wormly.com/test_smtp_server to send  
>>  mails.  The full logs from their side are:
>> Resolving hostname...
>> Connecting...
>> SMTP -> FROM SERVER:
>> 220 mail.eatough.net Microsoft ESMTP MAIL Service ready at Wed, 4   
>> Mar 2009 07:51:36 -0800
>> SMTP -> FROM SERVER:
>> 250-mail.eatough.net Hello [192.168.0.240]
>> 250-SIZE 10485760
>> 250-DSN
>> 250-ENHANCEDSTATUSCODES
>> 250 NOOP
>> MAIL FROM: t...@wormly.com
>> SMTP -> FROM SERVER:
>> 250-AUTH
>> 250-8BITMIME
>> 250-BINARYMIME
>> 250 NOOP
>> RCPT TO: mi...@eatough.net
>> SMTP -> FROM SERVER:
>> 250 2.1.0 Sender OK
>> Sending Mail Message Body...
>> SMTP -> FROM SERVER:
>> 250 2.1.5 Recipient OK
>> SMTP -> ERROR: DATA command not accepted from server: 250 2.1.5 Recipient OK
>>
>> Message sending failed.
>>
>> I turned on verbose logging for connection in ASSP, here's what I'm   
>> seeing in the ASSP logs for two attempts:
>>
>> Mar-4-09 07:51:02 [Worker_1] Connected: 66.228.123.50:53469 ->   
>> 192.168.0.240:25 -> 192.168.0.220:2525
>> Mar-4-09 07:51:03 81862-13761 [Worker_1] 66.228.123.50   
>> <t...@wormly.com> to: mi...@eatough.net info: no (more) data   
>> readable from 66.228.123.50 - last command was 'DATA'
>> Mar-4-09 07:51:03 [Worker_1] Disconnected: 66.228.123.50 - command   
>> list was 'EHLO,MAIL FROM,RCPT TO,DATA' - insite 5 SocketCalls
>>
>> Mar-4-09 07:51:37 [Worker_1] Connected: 66.228.123.50:53604 ->   
>> 192.168.0.240:25 -> 192.168.0.220:2525
>> Mar-4-09 07:51:38 81897-09177 [Worker_1] 66.228.123.50   
>> <t...@wormly.com> to: mi...@eatough.net info: no (more) data   
>> readable from 66.228.123.50 - last command was 'DATA'
>> Mar-4-09 07:51:38 [Worker_1] Disconnected: 66.228.123.50 - command   
>> list was 'EHLO,MAIL FROM,RCPT TO,DATA' - insite 5 SocketCalls
>>
>>
>> I'm seeing the same failure for almost all mail that's trying to   
>> deliver to the server when I have the 14.05 installed. I've rolled   
>> back to 13.02 for now -- I am not seeing the problems in that build.
>>
>> MitchE
>>
>> ------------------------------------------------------------------------------
>> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
>> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
>> -Strategies to boost innovation and cut costs with open source participation
>> -Receive a $600 discount off the registration fee with the source code: SFAD
>> http://p.sf.net/sfu/XcvMzF8H
>> _______________________________________________
>> Assp-test mailing list
>> Assp-test@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/assp-test
>>


pdn> 
------------------------------------------------------------------------------
pdn> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, 
CA
pdn> -OSBC tackles the biggest issue in open source: Open Sourcing the 
Enterprise
pdn> -Strategies to boost innovation and cut costs with open source 
participation
pdn> -Receive a $600 discount off the registration fee with the source code: 
SFAD
pdn> http://p.sf.net/sfu/XcvMzF8H
pdn> _______________________________________________
pdn> Assp-test mailing list
pdn> Assp-test@lists.sourceforge.net
pdn> https://lists.sourceforge.net/lists/listinfo/assp-test



-- 
Matti Haack - Hit Haack IT Service Gmbh
Poltlbauer Weg 4, D-94036 Passau
+49 851 50477-22 Fax: +49 851 50477-29
http://www.haack-it.de



------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Assp-test mailing list
Assp-test@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-test

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Assp-test mailing list
Assp-test@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-test

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Assp-test mailing list
Assp-test@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-test

Reply via email to