I am trying to install iRedMail on a freshly installed Debian Squeeze server but I am instructed to add a fqdn in order for iRedMail to install.
My /etc/hosts currently looks like:
Code:
127.0.0.1 mail.mydomain.com localhost localhost.localdomain
184.XXX.XXX.XXX mydomain.com
My /etc/hostname currently looks like
This is what I best gather from what the tutorial states on
this page.
I have tried many combinations and run /etc/init.d/hostname.sh many times but can't seem to get it right.
Can anyone offer a solution?
Edit: I forgot to mention that when I test the set-up with `hostname -f` I receive the error
Code:
hostname: Name or service not known