Linux/System mail

From Wiki
< Linux
Revision as of 10:45, 13 March 2013 by Marcluer (talk | contribs)
  • create systemwide rule to add FROM data to mailx: /etc/bash.bashrc
alias mail='mail -a "From: $(hostname)@domain.de ([$(hostname)@$(hostname -d)])"'