On Thu, Apr 12, 2012 at 1:20 PM, Daniel Landau <daniel.lan...@helsinki.fi> wrote: > 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 >
Not pretty but that works just like I wished ! Thanks much. -- Mathieu -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/ca+7wuszn9q+dx1g+fkodwocwvmbsqskl25pvjqg7eeuk7ys...@mail.gmail.com