FQDN on a development machine

Whether you are using Linux on the desktop or as a server, it's still good that you're using Linux. Linux related questions go here.

Moderator: General Moderators

Post Reply
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

FQDN on a development machine

Post by alex.barylski »

I'm just now installing and tinkering around with postfix...third step asks for a 'mail name' or FQDN.

I realize now, why a mail system would "typically" need this information -- but on my development machine I don't have any domain name mapped to it. I access my dev box with a internal IP address of 192.168.1.102

It has a server name 'dev-server' but this isn't what the step is asking for is it? It wants a FQDN so that email sent locally, like:

Code: Select all

mail hockey
 
Subject: Hello this is an internal email message
In this case, the username 'hockey' would be fixed with the mail system FQDN, which if set to devnetwork.net woudl then become:

Code: Select all

hockey@devnetwork.net
But what about my local setup -- with no domain name. Am I never to be able to test Postfix locally because I lack a FQDN?

Cheers :)
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: FQDN on a development machine

Post by Chris Corbyn »

localhost.localdomain ?

Add anything you want to /etc/hosts which maps to 127.0.0.1 an d you can put anything there. I'd just enter "localhost" personally.... It's only a test installation.
Post Reply