Here is what I have in my .muttrc file. This seems to take care of this problem for me. I am doing almost the same thing as you.
set hostname=hammershome.com my_hdr From: Joel Hammer <[EMAIL PROTECTED]> Joel > When I send mail using /usr/bin/mail , the messages are sent out using > the masquerading domain (from dyndns) I set in postfix as I expect. > > But, when I send from mutt, it seems to do a lookup on the IP it's > coming from, and instead fills in the actual domain associated with my > IP address as assigned by my ISP, but not before it inserts the hostname > of the machine (behind my firewall). So I wind up with the wrong domain > name and a bogus hostname in the From: fields of my email. > > I looked at my .muttrc (std SuSE 7.3) and can't see anything in there > that would cause this. After digging through the options for .muttrc > (holy $#!7 there are a lot!) I gave up...hence this email. > > Attached is a copy of the .muttrc FWIW. > -- > Linux SxS [http://sxs.webhop.net/] > # > # Sample ~/.muttrc for SuSE Linux > # > > # > # Setting > # > set pager_context=4 > set pager_index_lines=10 > set pager_stop > > # > # Binding > # > bind pager <backspace> previous-page > bind pager - previous-line > bind pager \eOm previous-line > bind pager + next-line > bind pager \eOk next-line > bind pager \eOM next-line > bind pager \e[1~ top > bind pager \e[4~ bottom > > bind index <backspace> previous-entry > bind index - previous-entry > bind index \eOm previous-entry > bind index + next-entry > bind index \eOk next-entry > bind index \eOM display-message > bind index \e[H first-entry > bind index \e[F last-entry > bind index \e[1~ first-entry > bind index \e[4~ last-entry > > bind alias <space> select-entry > bind alias x exit > bind attach x exit > bind browser x exit > > # > # Color > # > mono message bold > color message white red > color error brightyellow red > color indicator white red > color tree brightmagenta default > color signature red default > color attachment brightyellow red > color search brightyellow red > color tilde brightmagenta default > color markers brightmagenta default > #color bold brightblack default > #color underline green default > color quoted blue default > color quoted1 magenta default > color quoted2 red default > color quoted3 green default > color quoted4 cyan default > color quoted5 blue default > color quoted6 magenta default > color quoted7 red default > color quoted8 green default > color quoted9 cyan default > color hdrdefault brightred default > color header brightmagenta default "^(from):" > color header brightblue default "^(subject):" > #color header default default "[ \t]+[^:]*$" > color body brightcyan default \ > "((ftp|http|https)://|(file|mailto|news):|www\\.)[-a-z@0-9_.:]*[a-z0-9](/[^][{} >\t\n\r\"<>()]*[^][{} \t\n\r\"<>().,:])?" > color body brightcyan default "[-a-z_0-9.+]+@[-a-z_0-9.]+" > color body red default "(^| )\\*[-a-z0-9äöüß*]+\\*[,.?]?[ \n]" > # > # End > # _______________________________________________ Linux-users mailing list - http://linux.nf/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.