I'm experimenting with communicating directly with the SMTP server.
Here's a minimal test program:

'callpipe literal HELO' Host || ,
    '| append literal QUIT' || ,
    '| append literal ' || ,
    '| append literal ' || ,
    '| xlate e2a | specs 1-* 1 x0d0a next' ,
    '| tcpclient localhost 25' ,
    '| xlate a2e' ,
    '| deblock crlf' ,
    '| console'
exit( RC )

It exits with RC=0 after writing nothing to the console.  I'd expect
some replies; at least error messages.  If I issue similar commands
from a terminal on my desktop, I get expected replies, ending with:

221 ... running IBM VM SMTP Level 540 closing connection

What's wrong with my pipeline?

Thanks,
gil

Reply via email to