digital adj. Having digits.     peer n. A comrade; a companion; a fellow; an associate. inmotion    
   
Recent Articles
Stop DNSMasq From Forwarding Local Hostnames
Saturday, September 25, 2010
Securing your Wireless LAN
Wednesday, August 18, 2010
Some tips and things you might not know about your wireless network.
Using Different Subversion Client Versions
Wednesday, August 18, 2010
Handling a Subversion Repository URL Change
Sunday, May 3, 2009
If your repository URL changes, you can use the following command to fix existing snapshots.
vfat Mounts Default to Lowercase Shortnames
Tuesday, April 21, 2009
I want a "this is brain-damage" quote from Linus for this mess.
VirtualBox or VMWare Virtual Machine at Login
Sunday, April 12, 2009
How to start a virtual machine in X when a user logs in.
Dialog Progress Bar Through Pipe
Sunday, April 12, 2009
How to use dialog to display a script progress bar and communicate progress to it through a named pipe.
Mount JFFS2 Image
Saturday, October 25, 2008
Example of how to mount a JFFS2 image using mtdblock.

Programming is like sex: sometimes something useful comes out, but that is not the reason we are doing it.

Sys Admin-Linux...-Sendmail...

Sendmail Shows Return Address Domain localhost.localdomain

Sunday, July 18, 2004 by digitalpeer

Look in /etc/mail and you'll see a sendmail.mc. Edit this file to the proper domain. You're looking for the LOCAL_DOMAIN directive. Then, you'll have to reconfigure the real sendmail config file (sendmail.cf) by running
make -C /etc/mail

Just a warning- you'll need the sendmail-cf package installed to be able to do this. After that, everything should work pending a restart of the sendmail service.
Comment Thursday, December 4, 2008 by  anonymous
That didn't work on mine. I had to edit the /etc/hosts file and put the host name before localhost entry then restart sendmail service.

Submit Comment to This Article
Please post a comment if you have something to add, find something wrong, or would like more information on the topic at hand. Do not use the comment form to contact the author about unrelated concerns!

Name: Email (optional):
Enter verification number here: