LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-22-2006, 09:42 PM   #1
taiwf
Member
 
Registered: Jun 2005
Distribution: debian, ubuntu, redhat,knoppix
Posts: 194

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


HI,


I currently install webmin & usermin , but under usermin mail redirection it always use username@MACHINENAME.domainname.com

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

127.0.0.1 domainname.com 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?


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

Rep: Reputation: 30
Try editing /etc/postfix/main.cf 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).
 
  


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


All times are GMT -5. The time now is 02:40 AM.

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