nmh-workers
[Top] [All Lists]

[nmh-workers] Construction of outgoing from line

2019-03-14 04:58:39
Hi folks,

I'm trying to get my outgoing email to be user@mydomain.tld 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 user@myhost.mydomain.tld and
I want the myhost part to be gone. I messed with postfix for a bit,
thinking "myorigin" might be messed up.

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

Using nmh the From: line gets constructed with the host name included. How
can I alter my components line to create my from address using only the
domain, not including the hostname? Or, maybe there's some other place I
have things configured wrong in nmh?

Thanks all!
-- 
nmh-workers
https://lists.nongnu.org/mailman/listinfo/nmh-workers
<Prev in Thread] Current Thread [Next in Thread>