Command line sending mail with different "From"?
My question is how do I specify a different "From" address for the e-mail on the command line?
I am doing this for simple testing purposes and the fact that I have multiple domains pointing to the same server.
3 Replies
Received: from mydomain.com ([72.14.xxx.xxx])
Is it possible for it to show the domain that I am actually sending from? I have two virtual hosts/domains served by Apache and the "Received: from" would always indicate the hostname -f even when I send an e-mail that is supposed to appear from the other domain. The From field displayed in the e-mail client does display correctly.