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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
wifi not working on Raspberry Pi 3? 2 83
centos commands 6 70
Linux mount of Windows Shared Now Fails 8 81
IP / 61 57
1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
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.

820 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