LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   mail question (https://www.linuxquestions.org/questions/linux-general-1/mail-question-112622/)

odious1 11-05-2003 08:55 AM

mail question
 
I have two Linux machines on my network that I have set up to send e-mails petaining to cron, logs etc to my desktop. The problem is that they both send their mail as root@localhost.localdomain. Is there someway to change them to send according to the hostnames I have set up? For example could they send mail as root@squirrel which is the qualified name anyway?

Thanks in advance for any guidance.

trickykid 11-05-2003 11:02 AM

By default its going to attach the hostname of your machine and domain name. Change those and it will send as that for system type mail.

man hostname


All times are GMT -5. The time now is 05:37 PM.