I have a shell script which sends out a mail at the end of its processing about the status. I am using the command -
mail -s "MAIL_SUBJECT" "tom@my_domain.com" < "MAIL_TEXT"
This mail is being sent from an email id like user@<machine_name>.my_domain.local
.
Is it possible to use an alias while sending these mails ?
Something like process.name@my_domain.com
?
If yes how do we do it ?