Re: Im having two Problems with EXMH.

Ken Hornstein <[email protected]> Thu, 31 Dec 2015 12:15:11 -0500
Newsgroups gmane.mail.exmh.user
Message-ID <[email protected]>
>    (1) I have set MASQUERDE_AS(dwf.com) in sendmail.mc, and if I just
>use MAIL to send mail, my return address is [email protected], where dwf.com
>is my domain name.  HOWEVER, if I use COMP in EXMH to compose the
>mail, my return (FROM) address shows as [email protected], the
>machine name that I sent the mail from.  THIS DID NOT HAPPEN IN LINUX.

Geez, Reg, there's no need to shout.

Valdis answered both of your questions, but it sounds like both of these
issues are really nmh issues.  This is one of the weaknesses and
strengths of exmh; it relies heavily on nmh for a lot of things.  So
yeah, there's nothing in exmh to adjust here, because those are all
nmh settings.  The downside is that unless you are knowledgable it's
sometimes hard to see which tool does what.

However, let me make a few alternate suggestions.

Regarding your From: line, assuming you have a stock nmh setup (it sounds
like you do), I think the SIMPLEST thing would be to place the following
line in your .mh_profile:

Local-Mailbox: "Dr. Reginald W. Clemens" <[email protected]>

Or really, whatever you want.  That sets it in a number of places, and
is better than just adjusting the components file.

>What do I set, how do I work arround this? Where is EXMH getting this
>info, and how do I FIX it to not show the machine name.

If there are no other settings, nmh sets the default From: address to be
based on your local username and hostname.  Now, it's important to note
that nmh (and MH) pretty much ALWAYS did this (well, back in the old MH
days you could change exactly what it did, but you had to know what you
were doing).  It's only recently that the stock nmh configuration was
adjusted so that you could see what nmh would put in the From: header;
before it would just fill in the From: header with that information if
one wasn't included.  It sounds like you migrated to a new machine, and
that either you didn't move over your nmh configuration or you upgraded
to a newer version of nmh.

>    (2) In the list of e-mails in a folder, on my LINUX machine each
>line has: Number, Date, FROM_name, Size, Subject.  
>On FreeBSD the Size field is missing and I see no way to set the format of
>this line from Preferences.  Do I somehow have to modify the EXMH
>code to get this to show.

As Valdis pointed out, this is also controlled by the scan format.  The
default scan format does not include the size, but we do ship one called
"scan.size" that does include it.  Again, it doesn't sound like you moved
over your nmh configuration (specifically, your .mh_profile file).

--Ken