On Wed, Oct 01, 2008 at 09:56:24AM +0800, Kun Niu wrote:
> Dear all,
> I'm trying to change the from email address of my mutt client.
> I've tried to change hostname which failed.
> And I alse tried change my_hdr which also failed.
> How can I change mutt to use the from email I want?
> 
> Any hints will be appreciated and thanks in advance.

>From the stock .muttrc in debian:

# set from=""
# Name: from
# Type: e-mail address
# Default: ""
# 
# 
# When set, this variable contains a default from address.  It
# can be overridden using my_hdr (including from send-hooks) and
# ``$reverse_name''.
# 
# Defaults to the EMAIL environment variable's content.

So, for [EMAIL PROTECTED], do:

set from="[EMAIL PROTECTED]"

Cheers,
-- 
Cristóbal Palmer
ibiblio.org systems administrator

Reply via email to