#apt-get install postfix
#apt-get install bsd-mailx
#cat /etc/postfix/main.cf
mydestination =
inet_interfaces = loopback-only
relayhost = mail.upcmail.cz:25
sender_canonical_maps = hash:/etc/postfix/sender_canonical
recipient_bcc_maps = hash:/etc/postfix/recipient_bcc
smtp_generic_maps = hash:/etc/postfix/generic
smtp_header_checks = regexp:/etc/postfix/smtp_header_checks
#cat /etc/aliases
root: root@steflovi.cz
# newaliases
/etc/mail/aliases: 1 aliases, longest 17 bytes, 21 bytes total