Linux/System mail: Difference between revisions
< Linux
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 5: | Line 5: | ||
</pre> | </pre> | ||
</blockquote> | </blockquote> | ||
[[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)])"'