Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 07-29-2006, 06:38 AM   #1
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/"

I guess I should add a name to /etc/postfix/ - 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, 04:36 PM   #2
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 "". If not, you can just just make something up, say,

I don't know KWrite, but if you can open (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, 10:34 AM   #3
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 11:59 AM.


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

All times are GMT -5. The time now is 06:48 PM.

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