Linux/System mail

From Wiki
< Linux
Revision as of 13:59, 1 April 2017 by Marcluer (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
  • create systemwide rule to add FROM data to mailx: /etc/bash.bashrc
alias mail='mail -a "From: $(hostname)@domain.de ([$(hostname)@$(hostname -d)])"'