Page 1 of 1

FQDN on a development machine

Posted: Fri Mar 28, 2008 4:39 pm
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 :)

Re: FQDN on a development machine

Posted: Sat Apr 12, 2008 8:50 pm
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.