Linux/System mail: Difference between revisions
< Linux
(Die Seite wurde neu angelegt: „* create systemwide rule to add FROM data to mailx: /etc/bash.bashrc <blockquote> <pre> alias mail='mail -r vm-pbx@marcluerssen.de ([vm-pbx@mlnet])' </pre> </b…“) |
No edit summary |
||
Line 2: | Line 2: | ||
<blockquote> | <blockquote> | ||
<pre> | <pre> | ||
alias mail='mail - | alias mail='mail -a "From: $(hostname)@domain.de ([$(hostname)@$(hostname -d)])"' | ||
</pre> | </pre> | ||
</blockquote> | </blockquote> |
Revision as of 10:45, 13 March 2013
- create systemwide rule to add FROM data to mailx: /etc/bash.bashrc
alias mail='mail -a "From: $(hostname)@domain.de ([$(hostname)@$(hostname -d)])"'