On Apr 12, 2012 12:53 PM, "Mathieu Malaterre" <mathieu.malate...@gmail.com> wrote: > This works great. However using the `mail` command line interface I > can only send email from my main gmail adress. I did a small test > using `telnet localhost 25`, I can then specify any of my > pre-configured gmail adress (eg @free.fr). > However using telnet is pretty tedious. Does anyone knows what is the > command line option to specify the 'mail from:' information ?
You can specify any headers with -a, e.g. $ mail -a 'From: "My Name" <m...@example.org>' da Daniel Landau