LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 03-16-2009, 07:31 AM   #1
uks
Member
 
Registered: Jul 2007
Posts: 68

Rep: Reputation: 16
change domain name of mails


I have a situation where when I send emails from my machine it goes as root@machinename

I read this https://www.linuxquestions.org/quest...domain-484792/

and I changed it to
Djmydomain.com


and it worked for a while. But now it is again reverted to root@machinename.com

Any ideas on what could have gone wrong ?

Rgds

Ukesh.
 
Old 03-16-2009, 08:00 AM   #2
kentyler
Member
 
Registered: Dec 2008
Location: Cleveland Ohio
Distribution: CentOS
Posts: 235

Rep: Reputation: 36
You edited the sendmail.cf and you should edit the sendmail.mc file instead and then run make before you restart sendmail to see the changes activated.
 
Old 03-16-2009, 09:47 AM   #3
uks
Member
 
Registered: Jul 2007
Posts: 68

Original Poster
Rep: Reputation: 16
I am not sure I understood that.
That parameter is only there in the sendmail.cf file.
So where do I edit the sendmail.mc file , I mean where should I give my domain name ?
in the local domain paramter ?
 
Old 03-19-2009, 08:31 AM   #4
kentyler
Member
 
Registered: Dec 2008
Location: Cleveland Ohio
Distribution: CentOS
Posts: 235

Rep: Reputation: 36
The mc file should be in /etc/mail
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
local postfix server not able to send mails to other domain subramanyabs1984 Linux - Server 1 03-13-2009 05:27 AM
usermin config - to allow users change password to download mails satimis Linux - Server 0 11-26-2007 05:21 AM
Allow only local domain mails reject other mails sikkalgopal Linux - Server 0 04-03-2007 12:51 AM
qmail/vpopmail not putting mails in /home/vpopmail/domain/$USER/Maildir kikola Slackware 0 10-10-2006 08:52 AM
Mails sent from server rejected. Possible domain problem? zentro Linux - Newbie 5 02-15-2006 09:53 PM


All times are GMT -5. The time now is 10:54 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration