Your third party application does not understand multiline responses.
E.g:
> EHLO
< 250-QAMQBAM345148 Hello
< 250-AUTH LOGIN PLAIN
< 250 AUTH=LOGIN PLAIN
That 3 lines are a single response but from your logs it seems your
applcation is reading them as 3 different responses.
Stefano
[EMAIL PROTECTED] wrote:
Hi All,
I have James 2.2 installed on Window 2000 (IP: 10.233.60.39,
Name:QAMQBAM345148) and listening on port 5555. I have an user account
"BACAdmin" created in James.
I have a third party software that running on the server 10.233.68.208.
I configured it to use James to send out emails to other mail server
(@kp.org).
But the third party software failed to send the email via James.
The below is an execution log of the third party software. The log shows
James response 250 instead of expected 354 to the command DATA.
=====================
28/02/2006 14:19:44 FLOW tid: 6148 [Notifications]
[NotificationsTest.cpp:31] Notifications test start
28/02/2006 14:19:44 DEBUG5 tid: 6224 [Notificator-Mail]
[Notificator.cpp:121] NSendMail: start method
28/02/2006 14:19:44 FLOW tid: 6172 [Notifications]
[NotificationsTest.cpp:236] Num queued='1' Max q tim= '0' 1 0
28/02/2006 14:19:44 DEBUG4 tid: 6224 [Notificator-Mail]
[Notificator.cpp:142] SMTP Server = '10.233.60.39' Email Type = 0 (0 -
Plain Text, 1 - Html, 2 - Cooked) From =
'[EMAIL PROTECTED]' To (original) =
'[EMAIL PROTECTED]' To (after legalizing) = '[EMAIL PROTECTED]'
Attachments = None Subject = 'BAC TEST'
28/02/2006 14:19:44 DEBUG5 tid: 6224 [Notificator-Mail]
[Notificator.cpp:157] Body = 'BAC Alert test'
28/02/2006 14:19:44 DEBUG5 tid: 6224 [Notificator-Mail]
[Notificator.cpp:187] NSendEmail - Trying to enter the critical section
28/02/2006 14:19:44 DEBUG5 tid: 6224 [Notificator-Mail]
[SMTPserverMailer.cpp:35] CMailer::Initialize. parameters:
SMTPserver = 10.233.60.39, Port = 5555
28/02/2006 14:19:44 DEBUG5 tid: 6224 [Notificator-Mail]
[SMTP.cpp:447] CSMTP::get_response : 220 QAMQBAM345148 SMTP Server
(JAMES SMTP Server 2.2.0) ready Tue, 28 Feb 2006 14:14:27 -0800 (PST)
28/02/2006 14:19:44 DEBUG5 tid: 6224 [Notificator-Mail]
[SMTP.cpp:518] CSMTP::Send : HELO cn068etss208
28/02/2006 14:19:44 DEBUG5 tid: 6224 [Notificator-Mail]
[SMTP.cpp:447] CSMTP::get_response : 250-QAMQBAM345148 Hello
cn068etss208 (CN068ETSS208 [10.233.68.208])
28/02/2006 14:19:44 DEBUG5 tid: 6224 [Notificator-Mail]
[SMTPserverMailer.cpp:70] CMailer::Initilize. Connect to SMTP server
succeeded 10.233.60.39
28/02/2006 14:19:44 DEBUG5 tid: 6224 [Notificator-Mail]
[SMTP.cpp:518] CSMTP::Send : MAIL From:
<[EMAIL PROTECTED]>
28/02/2006 14:19:44 DEBUG5 tid: 6224 [Notificator-Mail]
[SMTP.cpp:447] CSMTP::get_response : 250-AUTH LOGIN PLAIN
28/02/2006 14:19:44 DEBUG5 tid: 6224 [Notificator-Mail]
[SMTP.cpp:518] CSMTP::Send : RCPT TO: <[EMAIL PROTECTED]>
28/02/2006 14:19:44 DEBUG5 tid: 6224 [Notificator-Mail]
[SMTP.cpp:447] CSMTP::get_response : 250 AUTH=LOGIN PLAIN
28/02/2006 14:19:44 DEBUG5 tid: 6224 [Notificator-Mail]
[SMTP.cpp:518] CSMTP::*Send : DATA*
28/02/2006 14:19:44 DEBUG5 tid: 6224 [Notificator-Mail]
[SMTP.cpp:447] CSMTP::get_response : 250 Sender
<[EMAIL PROTECTED]> OK
28/02/2006 14:19:44 ERROR tid: 6224 [Notificator-Mail]
[SMTPserverMailer.cpp:188] CMailer::Send failed. *Reason: SMTP Respond
250 Sender <[EMAIL PROTECTED]> OK (SMTP server not
ready for data) while expecting 354 from the command : DATA*
28/02/2006 14:19:44 DEBUG5 tid: 6224 [Notificator-Mail]
[SMTP.cpp:518] CSMTP::Send : QUIT
28/02/2006 14:19:44 DEBUG5 tid: 6224 [Notificator-Mail]
[SMTP.cpp:447] CSMTP::get_response : 530 Authentication Required
28/02/2006 14:19:44 DEBUG5 tid: 6224 [Notificator-Mail]
[Notificator.cpp:265] NSendEmail - Exited the critical section
28/02/2006 14:19:44 DEBUG1 tid: 6224 [Notificator-Mail]
[Notificator.cpp:273] NSendEmail - failed sending email
=================================
I attached the file config.xml and here is part of the file:
*************************
<mailet match="RemoteAddrNotInNetwork=127.0.0.1,10.233.68.208"
class="ToProcessor">
<processor> relay-denied </processor>
<notice>550 - Requested action not taken: relaying
denied</notice>
</mailet>
<smtpserver enabled="true">
<handler>
<authRequired>true</authRequired>
<authorizedAddresses>127.0.0.0/8</authorizedAddresses>
<authorizedAddresses>10.233.68.208</authorizedAddresses>
</handler>
</smtpserver>
<dnsserver>
<servers>
<server>127.0.0.1</server>
<server>10.233.15.221</server>
</servers>
<autodiscover>false</autodiscover>
</dnsserver>
*********************************
Developers of the third party software claims that James response a
wrong code.
Can you please let me know why James response 250 instead of 354 to the
command DATA?
Please note: if I comment out <authRequired>true</authRequired>, then I
got the error: relaying denied.
Your help will be very much appreciated.
Many thanks in advance!
Ningmei
*/CONFIDENTIAL OR PRIVILEGED:/*/ This communication contains
information intended only for the use of the individuals to whom it is
addressed and may contain information that is privileged, confidential
or exempt from other disclosure under applicable law. If you are not
the intended recipient, you are notified that any disclosure, printing,
copying, distribution or use of the contents is prohibited. If you have
received this in error, please notify the sender immediately by
telephone or by returning it by reply email and then permanently
deleting the communication from your system. Thank you./
------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]