LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Sendmail - outgoing emails have Machine name (https://www.linuxquestions.org/questions/linux-networking-3/sendmail-outgoing-emails-have-machine-name-228700/)

hunter44102 09-09-2004 04:18 PM

Sendmail - outgoing emails have Machine name
 
All,

I have sendmail set up. Everything seems to work except for one problem:

When i send email Outbound, the person receiveing it gets name@localhost.localdomain.com

instead of name@localdomain.com

I can't figure out why the localhost is added.. anyone know?

Paul

Pete M 09-09-2004 05:10 PM

Paul

Add localdomain.com to /etc/mail/local-host-names, restart Sendmail

/etc/mail/local-host-names
# local-host-names - include all aliases for your machine here.
localdomain.com

Pete

zperl63 09-13-2004 07:52 PM

Re: Sendmail - outgoing emails have Machine name
 
could you tell me how to do a basic set up for sendmail w/o fancy stuff?
and what is the syntax to use it on command line?
all i know is tha t there are sendmail.cf, sendmail.mc, some m4 utility.
but I don't know more. I know the full domain name of my mail server.
do I need the IP address too?
thanks in advance.
zapa.


Quote:

Originally posted by hunter44102
All,

I have sendmail set up. Everything seems to work except for one problem:

When i send email Outbound, the person receiveing it gets name@localhost.localdomain.com

instead of name@localdomain.com

I can't figure out why the localhost is added.. anyone know?

Paul



All times are GMT -5. The time now is 02:54 AM.