Linux/System mail: Difference between revisions

From Wiki
No edit summary
No edit summary
 
Line 6: Line 6:
</blockquote>
</blockquote>
[[Category:Linux/System]]
[[Category:Linux/System]]
[[Category:Linux]]

Latest revision as of 13:59, 1 April 2017

  • create systemwide rule to add FROM data to mailx: /etc/bash.bashrc
alias mail='mail -a "From: $(hostname)@domain.de ([$(hostname)@$(hostname -d)])"'