Link to home
Start Free TrialLog in
Avatar of coleslau
coleslau

asked on

Sendmail configuration

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
ASKER CERTIFIED SOLUTION
Avatar of kmrussell
kmrussell

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jaked
jaked

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).

How did it go?
Avatar of coleslau

ASKER

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...