How can I change sender mail addresses under sendmail

hi all,

The sender mail address is apache@localhost.localdomain when I check it under maillog, I tried to change it from sendmail.mc to: LOCAL_DOMAIN(`my-domain')dnl, and restarted sendmail, but still shows localhost.localdomain.  where shall I change that setting?

thanks
uknet80Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
carlmdConnect With a Mentor Commented:
In sendmail.cf try setting Dj as follows.

   Djlocaldomain.com

substituting your domain name, then restart sendmail
0
 
bitlaConnect With a Mentor Commented:
in the httpd conf file
0
 
uknet80Author Commented:
there isn't localhost.localdomain under httpd.conf file?
0
 
uknet80Author Commented:
the error was from hosts file
thanks guys
0
All Courses

From novice to tech pro — start learning today.