How do you specify the from field with emails sent with mail or mailx?
Eg, I am sending from the user 'test' on my system, but I want the email to be sent as 'email@example.com'.
Is this possible? I tried several ways but no joy.
I am using Ubuntu 12.04 LTS
I have tried the -r option and I tried ending the command with -- -f firstname.lastname@example.org with no luck. Those were the only things I could find.