Wednesday, April 25, 2012

Set From: in mail headers

I could not figure out how one could change the From: in the mail header until some good soul pointed out the following trick

$ mail -a 'From: "My Name" <me@example.org>' da

ref: http://lists.debian.org/debian-user/2012/04/msg00993.html