On Sun, Oct 24, 2010 at 10:17 PM, Philip Guenther <guent...@gmail.com> wrote: > 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.
Thank You for this tip, but the problem isn't solved. Does sendmail on OpenBSD read genericstable db by default? -- Dmitrij D. Czarkoff