Re: OpenDKIM problems with Postfix

From: Steve Jenkins <stevejenkins_at_gmail.com>
Date: Thu, 25 Oct 2012 13:56:20 -0700

On Thu, Oct 25, 2012 at 1:47 PM, Justin T. Stear
<jtstear_at_maurerstutzinc.com> wrote:
> When I do "hostname" all I get is the name of the server. I actually
> did use your guide (along with others) which is what brought me here.
>
> Justin Stear

Then that's probably part of the hostname problem.

The first line of your /etc/hosts file should read:

127.0.0.1 hostname.example.com hostname localhost.localdomain localhost

Where "hostname" is your machine's actual hostname and "example.com"
is the domain. The last two entries should be exactly as shown above.
So if your machine name was "justin" and your domain
"maurerstutzinc.com" that first line would read:

127.0.0.1 justin.maurerstutzinc.com justin localhost.localdomain localhost

Also, I recommend in /etc/sysconfig/network that you have the following line:

HOSTNAME=hostname.example.com

Then do:

# service network restart

And you should be good to go!

SJ
Received on Thu Oct 25 2012 - 20:56:32 PST

This archive was generated by hypermail 2.3.0 : Mon Oct 29 2012 - 23:20:44 PST