Thank you!  This works.

Do you know a way to log every mutt session?  I don't see that option in Muttrc 
file

We are running mutt using command line like below:
/opt/freeware/bin/mutt -s "Test attachment email" [email protected] -a mytestfile < 
/dev/null




-----Original Message-----
From: Will Yardley <[email protected]>
Sent: Saturday, April 5, 2025 11:00 AM
To: [email protected]
Subject: Re: Config setup for sender's domain in From enry in email

CAUTION: External email - Think Before You Click.


On Fri, Apr 04, 2025 at 04:26:44PM +0000, Eng Tan via Mutt-users wrote:
> How do I configure mutt to show sender as <sender-id>@mydomain.com
> instead of <sender-id>@FQDN  eg.
> [email protected]<mailto:[email protected]> FQDN in this
> case is the name of my internal server.

Set $hostname in your config, e.g.,

set hostname="example.com"

You can see more detail about this in muttrc(5) under "hostname".

w

________________________________


Electronic Privacy Notice. This e-mail, and any attachments, contains 
information that is, or may be, covered by electronic communications privacy 
laws, and is also confidential and proprietary in nature. If you are not the 
intended recipient, please be advised that you are legally prohibited from 
retaining, using, copying, distributing, or otherwise disclosing this 
information in any manner. Instead, please reply to the sender that you have 
received this communication in error, and then immediately delete it. Thank you 
in advance for your cooperation.

________________________________


Reply via email to