Latest LQ Deal: Linux Power User Bundle
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 05-22-2006, 08:42 PM   #1
Registered: Jun 2005
Distribution: debian, ubuntu, redhat,knoppix
Posts: 194

Rep: Reputation: 31
postfix with /etc/hosts, /etc/hostname file setting


I currently install webmin & usermin , but under usermin mail redirection it always use

So i go to edit my hosts file and set as : localhost .....

[there was a MACHINENAME atttack infront before]

That way when i type hostanme -f i can get a full domain usable for email. But that cause my postfix mail servr to have unknow error and outlook client can't send or receive email.

Can anyone tell me what suppose to be the correct setting here?

Old 05-24-2006, 10:56 AM   #2
Registered: May 2004
Location: Iowa USA
Distribution: CentOS
Posts: 419

Rep: Reputation: 30
Try editing /etc/postfix/ and see what value you have for
mydomain. I think you will find that it is set to the former hostname of the machine (which you should set back to what it was).


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
/etc/hosts, hostname, and dnsdomainname questions rdmenotte Linux - Software 9 03-28-2015 04:27 AM
hostname, fqdn, /etc/hosts setup [GOD]Anck Slackware 9 07-20-2010 04:51 PM
Changing Hostname.../etc/hosts...? vous Linux - Networking 13 01-16-2008 08:38 PM
/etc/hosts.allow can't verify allowed hostname - what do I do? Dragons Master Linux - Security 3 05-05-2006 06:05 AM
postfix uses hostname, not domainname dmarkow Linux - Networking 1 10-13-2003 02:41 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:15 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration