On Sun, Oct 24, 2010 at 1:04 PM, Dmitrij Czarkoff <czark...@gmail.com> wrote: > I'm using mail(1) to send mail from my Gmail account. The messages I > send have my username and hostname in "From" header. Can I somehow > alter the "From" header to my gmail address?
Assuming you're using the out-of-the-box sendmail, you should just need to update /etc/mail/genericstable and follow the directions in the comment at the top of the file to rebuild it. Philip Guenther