I have this code in my:

.mutt/muttrc

# Send hooks to make replies get the appropriate From field
unhook send-hook
send-hook . "source ~/.mutt/profile.gmail\n"# attribution='Hi
%v!\n\nOn %{%a, %d %b %Y}, %n wrote:\n'"
send-hook ^(offlineimap-proj...@lists.alioth.debian.org|mutt-users@mutt.org)
'set mime_forward signature="~/.mutt/sig.list"'
send-hook ^('(.*)@ufvjm\.edu\.br') "source ~/.mutt/profile.ufvjm\n"


.mutt/profile.ufvjm

# NAME: UFVJM
# DESC: UFVJM

set locale=""                           # system default locale ("C")
set signature='~/.mutt/sig.ufvjm'       # signature file
set indent_string="> "                  # Quoting mails with this string.
set attribution='On %{%a, %d %b %Y}, %n wrote:\n'
set post_indent_string=""               # Footer (after quotes, before 
signature).
set status_format="-%r-Mutt: %f [Msgs:%?M?%M/?%m%?n? New:%n?%?o?
Old:%o?%?d? Del:%d?%?F? Flag:%F?%?t? Tag:%t?%?p? Post:%p?%?b? Inc:%b?
%?l? %l?]---(%s/%S)-default-%>-(%P)---"

# Pretty Good Privacy (PGP):
set pgp_sign_as="0x00000000"            # UserID/KeyID for signing
set nopgp_autoencrypt                   # Default (no enc)
set nopgp_autosign                      # Default (sign)

# Customized headers
unmy_hdr *                              # remove all extra headers first.

my_hdr From: My name <myusern...@ufvjm.edu.br>
my_hdr Reply-To: My name <myusern...@ufvjm.edu.br>
#my_hdr Bcc: usern...@domain.com
my_hdr Organization: My Organization

fcc-hook . "+UFVJM/Sent"                # the file to copy sent messages

If I send mail to some...@ufvjm.edu.br, my hdr From and Replay is
changed on the fly. However, If I send a mail to
some...@otherserver.com, it doesen't.

Have you some insights about this?

Thank you very much

--
  O__   --- Marcelo

Reply via email to