LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-29-2006, 05:38 AM   #1
High-gain
Member
 
Registered: Dec 2004
Location: London,UK
Distribution: Mandriva 2007
Posts: 156

Rep: Reputation: 15
2005le - Postfix and Host Names


Mandriva 2005

Hi There - Looking thru my 'syslog' I find the following repeated over and over -

___________________________________________________________________________________
"Jul 29 10:11:30 localhost postfix/postqueue[6809]: warning: My hostname localhost is not a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf"
____________________________________________________________________________________

I guess I should add a name to /etc/postfix/main.cf - can I do this with 'KWrite', if so what name would it be. Is it my email address or /home/myname

As a 'Newbie' any help would be much appreciated.

Thanks for looking hope you can help.
 
Old 07-30-2006, 03:36 PM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Do you own a domain name? In that case it would be something like "machinename.mydomain.com". If not, you can just just make something up, say, server.example.com

I don't know KWrite, but if you can open main.cf (it should be in /etc/postfix I would think), there is a parameter in the call myhostname that you can set.

If you have webmin installed, you could use that.

If you set the hostname for your machine, Postfix will pick that up too. I don't know where you do that in Mandrake, but it's probably network settings somewhere.

Don't forget, you'll need to do a

# postfix reload

for the changes to take effect
 
Old 07-31-2006, 09:34 AM   #3
High-gain
Member
 
Registered: Dec 2004
Location: London,UK
Distribution: Mandriva 2007
Posts: 156

Original Poster
Rep: Reputation: 15
Many thanks for your reply. I don't own a domain name so I will count that answer out, shall have another look in postfix and try to work something out there. Thanks again for you help - Good Luck

Edit - Managed to sort the problem, I went to Mandrake Config section, under Network Settings - misc settings. Found the section which asks for 'Hosts' and added my machine name.
Expect it could be done via the console, but found this way easier and quicker.

Once again, thanks for your help billymayday.

Last edited by High-gain; 07-31-2006 at 10:59 AM.
 
  


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
Samba host names - how? levand Linux - Networking 3 11-18-2004 04:01 AM
multiple host names tux1982 Linux - Networking 3 06-08-2004 06:35 AM
Changing How Host Names are Looked Up civicsi Linux - Newbie 2 04-24-2004 07:18 AM
BIND 9 won't reslove host names jglazner Linux - Networking 4 02-23-2004 06:42 PM
host names??? jonfa Linux - Networking 1 05-28-2001 08:15 PM


All times are GMT -5. The time now is 03:26 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration