Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 698
  • Last Modified:

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
0
uknet80
Asked:
uknet80
  • 2
2 Solutions
 
bitlaCommented:
in the httpd conf file
0
 
uknet80Author Commented:
there isn't localhost.localdomain under httpd.conf file?
0
 
carlmdCommented:
In sendmail.cf try setting Dj as follows.

   Djlocaldomain.com

substituting your domain name, then restart sendmail
0
 
uknet80Author Commented:
the error was from hosts file
thanks guys
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now