#!/bin/bash ( echo "ehlo gep1" echo "mail from: juci@gep1" echo "rcpt to: joska@gep2.zold.and" echo "data" echo "From: Juci" echo "To: Joska" echo "Subject: Teszt level" echo "Teszt levél" echo "." echo "quit" ) | nc 192.168.5.6 25