# telnet localhost 25 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. 220 nciwww01.nci.local ESMTP Postfix (Debian/GNU) helo pipperr.de 250 nciwww01.nci.local MAIL FROM: gunther@mailadress.cn 250 2.1.0 Ok RCPT TO: info@mailadress.cn 250 2.1.5 Ok DATA 354 End data with <CR><LF>.<CR><LF> Hallo, Dies ist eine Testmail . 250 2.0.0 Ok: queued as 4FBB71A8013 quit 221 2.0.0 Bye Connection closed by foreign host.
1.
mail -s "Hallo Welt" gunther@mailadress.cn
Text eingeben und mit crtl+D beenden
weitere Parameter:
Beispiel:
# echo "Dies ist ein Text" | mail -s "Text E-mail" gunther@mailadress.cn -c tester@mailadress.cn -b info@mailadress.cn
Absender Adresse setzen:
mail -s "Hallo Welt" gunther@pipperr.de -- -r pipperr@mailadress.cn