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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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.
Suggested Courses

752 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