Solved

Sendmail configuration

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

help!  =)

thanks,
steve
0
Comment
Question by:coleslau
  • 2
4 Comments
 
LVL 2

Accepted Solution

by:
kmrussell earned 100 total points
Comment Utility
Put jkung-2.reshall.ucsd.edu 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 ucsd.edu for both SMTP and POP3

POP3 server = Incoming mail server
SMTP server = Outgoing mail server
0
 
LVL 2

Expert Comment

by:jaked
Comment Utility
I have a similar setup--you want to put

Djjkung-2.reshall.ucsd.edu

in your /etc/sendmail.cf 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).

0
 
LVL 2

Expert Comment

by:kmrussell
Comment Utility
How did it go?
0
 

Author Comment

by:coleslau
Comment Utility
I'm not quite sure what you mean exactly... where do I change the POP3/SMTP servers?  

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

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…

762 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

6 Experts available now in Live!

Get 1:1 Help Now