nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [nmh-workers] Construction of outgoing from line


From: Kevin Cosgrove
Subject: Re: [nmh-workers] Construction of outgoing from line
Date: Thu, 14 Mar 2019 12:40:51 -0700

Sorry for the top post (using gmail atm)

Thanks for the suggestion to look at mh-format(5).  I'll do that.

Re: mailx, it passes the message to postfix which then takes care of the outgoing email form.

Kevin



On Thu, Mar 14, 2019 at 6:21 AM Ken Hornstein <address@hidden> wrote:
>I'm trying to get my outgoing email to be address@hidden again (I had a
>machine crash).
>On the crashed machine it worked fine with the following atop my components
>file
>
>      %<(void(localmbox))%>%(void(width))%(putaddr From: )
>
>Mail sent from the new machine, which I'm trying to make identical to the
>crashed machine, arrives with a from line like address@hidden and
>I want the myhost part to be gone. I messed with postfix for a bit,
>thinking "myorigin" might be messed up.

Nmh has, pretty much from the beginning of time, mostly used the same
algorithm to generate the local mailbox.  If you look at mh-format(5),
you can see how this is constructed and how to change it.  There are a
couple ways to modify nmh's behavior to do what you want; what you'll
want to pick is really up to your personal preference (I personally
use Local-Mailbox, but really, there are a few ways).

>Using /bin/mail, which is a link to mailx, I get the right behavior, and
>postfix is fine.

I am wondering how mailx would have any idea that it needs to strip out
the hostname?  It wouldn't be set up to do that automatically.

--Ken

reply via email to

[Prev in Thread] Current Thread [Next in Thread]