Hi,
currently I am using following command to send a mail:
mail -s"Query result" $TO $CC < input_file
It works, but I want to change the dispatcher's name / sender's name.
I tried to find something in "man mail", but I didn't find anything.
can someone help me?
THX
---------- Post updated at 09:01 AM ---------- Previous update was at 06:36 AM ----------
I tried the option -r and by this it send the mail with new mail address:
mail -r 'NewDispatcher' -s"Overview result" $TO $CC < mail_tmp.$$
sends a mail with
NewDispatcher@somedomain.com
But how can I show an alias for that new dispatcher? Do I need to change a file containing the aliases?