LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-16-2004, 09:15 AM   #1
init
Member
 
Registered: Oct 2003
Location: Portland, Maine
Distribution: Gentoo 2004_2 2.6.7r14
Posts: 160

Rep: Reputation: 30
Mail - Hostname issues ??


Hey all,

When I send mail from my laptop via mailx or web app it displays root@_HOSTNAME_.mynetwork.com. In the from section.

I am not sure why this is happening.

I have hostname set it starts up as boot echo $HOSTNAME echo the correct hostname. I have an /etc/hostname file with the correct hostname in it. And in my /etc/hosts file i have this:

Code:
127.0.0.1 localhost laptop laptop.mynetwork.com


Is there somewhere else the hostname must be set. I have postfix set up on a seperate box that I am using for a mail server does postfix need to know about this "new" box I just set up ? My dns server is fully aware of it name resolution works.. any ideas folks.
 
Old 08-23-2004, 05:05 AM   #2
micb
LQ Newbie
 
Registered: Aug 2004
Posts: 1

Rep: Reputation: 0
I think, that /etc/ssmtp/ssmtp.conf is your problem. You should change the value for "hostname" to the name of your client.

micb
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Hostname change issues sfwalter Linux - Networking 1 10-29-2004 03:50 PM
hostname issues diwakergupta Linux - Networking 3 02-01-2004 12:44 AM
Hostname issues drxsmurf Mandriva 1 01-24-2004 01:23 PM
Hostname for mail... jpauls104 Linux - Networking 2 07-30-2003 03:29 PM
OpenBSD Hostname and Mail Issues R4z0r *BSD 1 11-30-2002 07:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:06 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