W dniu 2012-01-09 00:19, Hans Bezemer pisze:
> Andrzej Popielewicz wrote:
>> What does it mean "identified" ?
> linux-471m.site ESMTP Postfix
> That's what it said. Normally I expect it to say:
> 220 linux-471m.site ESMTP Postfix
>
> That's what I get with a normal "telnet localhost 25". And that's exactly
> what this QEMU switch should do: talk in "telnet" protocol.
Question is , who has talked to smtp server ? qemu ? For sure not cu.
Note I could
> not reestablish a viable connection. "cu" seemed to hang after sayig it was
> connected.
Question is to what it was connected ?
>
>> On the other hand if really smtp server process was spawn in linux,
>> which in itself is a good news for You, then it awaits for the specific
>> messages from the client . And cu could not supply such messages.In
>> other words cu and smtp server speak different languages. And in the low
>> level smtp uses tcp. So one would have to start net in Coherent
>> configured for serial device. As far as I can remember You do not have
>> to start cu if You use net.You probably have checked it in net docs.
> Well normally SMTP sits around asking for specific ASCII commands
> like "HELO".
But first IP protocol is active, then on top of it tcp connection is
established and then on top of tcp smtp text protocol is used. cu is not
capable of sending ip headers, not it is capable of sending tcp headers
it means to establish tcp connection.Net is capable of sending ip and
tcp headers and knows about smtp text protocol.
It means messages from cu could not reach ip level, it means they could
not reach smtp server. If smtp process was activated it was because qemu
has "done" something. I do not know qemu internals and I am not going to
study this.
If You want to continue smtp way, I would try with net
>
>> Simplest thing would be to begin from ckermit and modem.
> Well, that was one reason I took "cu": it allows you to open a COM port
> without much hanky panky and talk to the program on the other side.
But via uucpd I suspect.
Just
> what I needed. But maybe for this purpose ckermit and/or modem are better
> suited.
ckermit was the only program with which I was able to connect in a
stable way to outside server. I have used it to connect via modem with
terminal server at our university .
It practically works out of the box.It is industry class program, EOL btw.
Last version ported by me is on my university page. But that older
version supplied originally with Coherent is fine too.
But if You have modem , there is simple test mentioned in Coherent
handbook. You do not need any program to test the connection. Simply
write some characters to the com port using echo command. You should
oberve change of the lights on the modem panel.
For example
echo "HELO linux pinquin" > /dev/com1l
Andrzej