----- Original Message -----
>Warren Michelsen wrote:
>> At 12:04 PM +1200 5/17/07, SurgeMail Support sent
email regarding Re:
>> [SurgeMail List] telnet smtp commands:
>>> When you telnet into the server is states to
use crlf
>>> 354 Command DATA Start mail input; end with
<CRLF>.<CRLF>
>>>
>>> crlf is standard and should always be used.
>>>
>>> That is part of the SMTP RFC.
>>
>> Why then does SM respond to just CR? When entering
commands in a telnet
>> session, at the end of a line, I press ^M (control
M) and before I can
>> press ^J, I already have a response back from SM.
When ^J is
>> subsequently entered, I get: "500 Unknown
command () ()" I can't press
>> the keys fast enough to get a CRLF entered before
SM has accepted the CR
>> and given its response.
>>
>> Shouldn't SM wait for the LF to follow the CR?
>>
>> Pressing [Return] on my Mac OS X system apparently
just sends a Unix
>> type line ending (LF) so I thought I'd enter the
proper CRLF as
>> Control-M followed by Control-J. SM doesn't wait
for the Control-J.
>>
>> How is one to enter it if SM reacts to solely the
CR?
>>
>>
>
>I don't believe that you are just sending a CR .
>Even typing control-m in some telnet clients still sends
a CR and a LF
>at the same time.
>SurgeMail will respond to a LF by itself but not a CR.
>
>Regards,
>Stuart
OK, the closest I could get using windows xp's telnet was
this:
---Paste---
Received-SPF: none (No spf1 record for (here.ca") )
client-ip=142.27.70.153; envelope-from=<you here.ca">;
x-ip-name=3-343kgxpb.ad.cnc.bc.ca;
Received: from me.ca (unverified [142.27.70.153])
by mail.cnc.bc.ca (CNC's internal mail server) with ESMTP
id 83342-1875351
for <gagelk cnc.bc.ca>; Thu, 17 May 2007 08:51:50
-0700
Return-Path: <you here.ca">
X-Verify-SMTP: Host 142.27.70.153 sending to us was not
listening
su
Date: Thu, 17 May 2007 08:51:58 -0700
Subject: (No subject header)
Message-ID: <1179417118_214 cim>
X-Rcpt-To: <gagelk cnc.bc.ca>
X-ShareWhite: 142.27.70.153
X-IP-stats: Notspam Incoming Last 0, First 253, in=1625,
out=0,
spam=0 Known=true ip=142.27.70.153
X-Originating-IP: 142.27.70.153
testbody
---End Paste---
Notice the "su" by itself. All other tests only
gave me an "s" in that
line. What changed? -> I tried using each of telnet's
host options the
option that gave me the su was "-t vtnt". So the
only "headers" I can get
entered are the first OR first and second characters of the
header name
when I use telnet from windows.
Is there a way to set telnet to send the crlf when using it
from the
command line? I couldn't find any. The only way I could see
was to enter
telnet and then issue the set crlf option but thats to
complicated for the
people I'll be demo'ing with today.
=================================
Kevin W. Gagel
Network Administrator
Information Technology Services
(250) 562-2131 local 448
My Blog:
http://mail.cnc.bc.
ca/blogs/gagel
------------------------------------------------------------
-------
The College of New Caledonia, Visit us at http://www.cnc.bc.ca
Virus scanning is done on all incoming and outgoing email.
Anti-spam information for CNC can be found at http://avas.cnc.bc.ca
------------------------------------------------------------
-------
|