Solved

How can I change sender mail addresses under sendmail

Posted on 2011-03-10
4
667 Views
Last Modified: 2012-05-11
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
Comment
Question by:uknet80
  • 2
4 Comments
 
LVL 4

Assisted Solution

by:bitla
bitla earned 100 total points
ID: 35093571
in the httpd conf file
0
 

Author Comment

by:uknet80
ID: 35093618
there isn't localhost.localdomain under httpd.conf file?
0
 
LVL 20

Accepted Solution

by:
carlmd earned 400 total points
ID: 35093823
In sendmail.cf try setting Dj as follows.

   Djlocaldomain.com

substituting your domain name, then restart sendmail
0
 

Author Comment

by:uknet80
ID: 35094555
the error was from hosts file
thanks guys
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Email signatures have numerous marketing benefits. Here are 8 top reasons to turn your email signature into a marketing channel.
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question