1828580 Members
2259 Online
109982 Solutions
New Discussion

Sendmail

 
SOLVED
Go to solution
Rafael Casero
Regular Advisor

Sendmail

I have currently configure sendmail on RH Ent 3.0.

When I send mail the sender is root@localhost.localdomain, which file and entry would I need to modify to relfect my changes to show root@avm-mialx08.com instead of root@localhost.localdomain.

Thanks,
Ralph.
2 REPLIES 2
Solution

Re: Sendmail

Ralph,

Make sure to set the system hostname in /etc/sysconfig/network and then modify your /etc/hosts file.

- Alex
Ivan Ferreira
Honored Contributor

Re: Sendmail

Check your sendmail.cf file:


# 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{w}localhost.localdomain
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?