LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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-09-2012, 11:45 PM   #1
SarahGurung
Member
 
Registered: Jul 2011
Posts: 322

Rep: Reputation: Disabled
can we configure postfix in our laptop running linux?


hello all,

I have centos installed in my laptop and i want to play arounf with postfix so is it possible for me to configure postfix there without any valid hostname?

Or is that mandatory?
 
Old 07-10-2012, 12:35 AM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hello,

Yes, you can set up Postfix on your laptop to try it out with a configuration for a local domain. The only basic thing a domain does is point to an IP, so you can configure 'whatever' you want on your computer, for example mypostfix.local. Have a look at the Postfix Standard Configuration Examples.

Kind regards,

Eric
 
Old 07-10-2012, 01:27 AM   #3
SarahGurung
Member
 
Registered: Jul 2011
Posts: 322

Original Poster
Rep: Reputation: Disabled
then can i give sarah.in in the hostname? i thought we required fully qualified domain name..
 
Old 07-10-2012, 01:34 AM   #4
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hi,

sarah.in or sarah.local for example are also valid hostnames. Just make sure that you put them in your /etc/hosts file pointing to the correct IP (127.0.0.1 if on the localhost) and make sure that in the /etc/nsswictch.conf file the hosts order lists files first so that your DNS doesn't try to resolve the domain name.
Code:
hosts: files dns
Kind regards,

Eric
 
1 members found this post helpful.
  


Reply



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
Updated Postfix not running after transferring over users from older postfix fedora_user Linux - Server 2 03-01-2011 04:17 AM
Configure Bluetooth in Dell Inspiron Laptop running on CentOS 5.3 vinaytp Linux - Newbie 1 04-16-2010 02:36 PM
Postfix: How to configure postfix to process mail from another host m1ckey78 Linux - Server 3 10-15-2008 10:59 AM
Postfix: help required to configure postfix to redirect email. Wheddod Linux - Software 3 08-20-2008 07:55 AM
can any one configure eGroupware with postfix in fedora 6 or deeproot Linux pennada Linux - Software 0 03-09-2007 05:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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