LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-05-2003, 08:55 AM   #1
odious1
Member
 
Registered: Jun 2003
Location: Virginia, USA
Distribution: Slackware
Posts: 252

Rep: Reputation: 30
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.
 
Old 11-05-2003, 11:02 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 261Reputation: 261Reputation: 261
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail question Likosin Linux - Software 1 09-14-2005 06:41 PM
Mail question jorasmi Slackware 3 03-29-2005 03:20 AM
Mail Question cartfanatic39 Linux - General 2 10-16-2003 02:00 PM
mail question plisken Linux - General 1 04-18-2003 06:04 PM
Mail question drjimstuckinwin Linux - Networking 3 06-29-2001 07:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration