Re: Connection refused

From: justatry <justatry_at_free.fr>
Date: Thu, 22 Mar 2012 23:26:10 +0100

Hi all,

Now, I can see the opendkim process running!
To achieve that, I have modified the init.d/opendkim file like that
(sorry, I guess this kind of modifications is evident for you guys...):

NAME=opendkim
#PATH=/bin:/usr/bin:/sbin:/usr/sbin
#DAEMON=/usr/sbin/$NAME
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin
DAEMON=/usr/local/sbin/$NAME
PIDFILE=/var/run/$NAME/$NAME.pid
CONFIG=/etc/$NAME.conf
USER=opendkim

I don't have "connection refused" in my mail.log any more but now, I
have a "can't load key from /etc/opendkim/mydomain/default : permission
denied" when an email is sent.

I have to say that at the begin of Steve's HowTo, when I tried to
execute this line :

useradd -r -g opendkim -G mail -s /sbin/nologin -d /var/run/opendkim -c "OpenDKIM" opendkim
I get an error ("group opendkim doesn't exists).

So I did it in 2 steps :
groupadd opendkim
useradd -r -g opendkim -G mail -s /sbin/nologin -d /var/run/opendkim -c "OpenDKIM" opendkim



Denis

Le 22/03/2012 22:37, Murray S. Kucherawy a écrit :
>> -----Original Message-----
>> From: opendkim-users-bounce_at_lists.opendkim.org [mailto:opendkim-users-
>> bounce_at_lists.opendkim.org] On Behalf Of justatry
>> Sent: Thursday, March 22, 2012 1:24 PM
>> To: opendkim-users_at_lists.opendkim.org
>> Subject: Re: Connection refused
>>
>> yes,
>> it is in /usr/local/sbin
>> I have got a opendkim file in this folder
>>
>> I have install opendkim 2.5.1 from sources
> When you do this:
>
> $ /usr/local/sbin/opendkim
>
> ...what happens?
>
> You should also attach your opendkim.conf file.
>
> -MSK
>
>
>
>
Received on Thu Mar 22 2012 - 22:26:26 PST

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