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 'firstname.lastname@example.org'.
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 email@example.com with no luck. Those were the only things I could find.