git » chasquid » smarthost » tree

[smarthost] / cmd / mda-lmtp / test_tcp_success.cmy

nc tcp_listen localhost:14932

mda |= ./mda-lmtp --addr=localhost:14932 -f from -d to < test-email

nc -> 220 Hola desde expect

nc <~ LHLO .*
nc -> 250-Bienvenido!
nc -> 250 Contame...

nc <- MAIL FROM:<from>
nc -> 250 Aja

nc <- RCPT TO:<to>
nc -> 250 Aja

nc <- DATA
nc -> 354 Dale

nc <- Subject: test
nc <-
nc <- This is a test.
nc <- .

nc -> 250 Recibido

nc <- QUIT
nc -> 221 Chauchas

mda wait 0