Linux/System mail

From Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
  • create systemwide rule to add FROM data to mailx: /etc/bash.bashrc
alias mail='mail -a "From: $(hostname)@domain.de ([$(hostname)@$(hostname -d)])"'