Solved

How can I change sender mail addresses under sendmail

Posted on 2011-03-10
4
661 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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
AWS - HAProxy- KeepAlived 5 43
Help on running oracle SQL script in linux 3 50
awk sed 8 44
Exchange 2010 Send Connector 6 13
The purpose of this article is to demonstrate how we can use conditional statements using Python.
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 video we show how to create an email address policy in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Mail Flow…

803 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