Sendmail configuration

Posted on 1998-04-15
Last Modified: 2010-04-22
Hi, I have my computer setup to be called 'grommit', and my domain as, so Linux automatically calls my computer  Unfortunately, my actual address is, so I'm trying to figure out how to configure sendmail to send all remote mail with the From address of

help!  =)

Question by:coleslau
  • 2

Accepted Solution

kmrussell earned 100 total points
ID: 1637140
Put in both the POP3 and SMTP servers and the "username" or "POP3 username" or "POP account" as the username

-if those servers do not work, try for both SMTP and POP3

POP3 server = Incoming mail server
SMTP server = Outgoing mail server

Expert Comment

ID: 1637141
I have a similar setup--you want to put

in your /etc/ file. The Dj command forces sendmail
to use a different domain name from the one it infers (based
on how you've set your machine's hostname).


Expert Comment

ID: 1637142
How did it go?

Author Comment

ID: 1637143
I'm not quite sure what you mean exactly... where do I change the POP3/SMTP servers?  

I tried changing the Dj in my, but Linux keeps sending mail with the From header saying "", so I think I need to modify the way Linux is creating the from header - but I'm not sure how...

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

867 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now