Mutt 1.2.3.1i
AIX 5.3.12.1
We need to send email to external addresses. But are having problems with the sent-from hostname. They're going out with @server.mycompany.com. We need them to be @mycompany.com.
I'm setting from and hostname with -e 'set from="From Address<from.address@mycompany.com>" hostname="mycompany.com"' to no avail.
How do we solve this?
TIA,
Lee Carlson
I put this in my /etc/sendmail.cf file, but it changes all outgoing e-mails from the server to be from the domain "mycompany.com":
# class E: names that should be exposed as from this host, even if we masquerade
# class L: names that should be delivered locally, even if we have a relay
# class M: domains that should be converted to $M
# class N: domains that should not be converted to $M
#CL root
#C{E}root
C{M}mycompany.com
# who I masquerade as (null for no masquerading) (see also $=M)
DMmycompany.com