Ben Friday <[EMAIL PROTECTED]> wrote:
> I'm trying to use a perl script to send data to a qmail smtpd
> running on my ISPs machine. It won't work! 
> 
> This is the dialog between my script and the qmail smtp : 
> 
> -----------------------------------------
> 220 <<ISP servername>> 
> ehlo <<My computer name>>
> 250-<<ISP servername>>

Ah, very helpful.  You've obliterated the server name, so we can't actually
do any testing or diagnosis.  If you want help from the list, please don't
obscure information like this -- I would have been able to give you a
definite answer, by checking myself, if you had not done this.

> mail from: <[EMAIL PROTECTED]>
> 250 ok
> rcpt to: <[EMAIL PROTECTED]>
> 250 ok
> data
> 354 go ahead
> From: Ben <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject : This is a test
> 
> This is a test message.
> .
> quit
> -----------------------------------------
> 
> The server doesn't respond to the <CRLF>.<CRLF> to
> terminate the data sending. 

Actually, it looks like you're only sending <LF>.<LF> .  I could have verified
this with the server name by checking myself.

> This is what happens when I try to send the exact same
> message to my own local SMTP (FTGate on WindowsNT) :
[...] 
> As you can see, this works fine and the message is delivered. 

Maybe FTGate silently accepts <LF>.<LF> .  Who knows?
Give us the real server name.  Normal qmail-smtpd will not behave the way
you have shown here if presented a valid SMTP conversation.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                            <[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------

Reply via email to