Re: [exim] Trouble with DKIM

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Todd Lyons
Date:  
À: VALMIR Christophe
CC: Exim-users
Sujet: Re: [exim] Trouble with DKIM
On Fri, Apr 10, 2009 at 1:03 AM, VALMIR Christophe
<christophe.valmir@???> wrote:
>   I have compiled exim on my computer with DKIM option and DK. On my
> computer exim work. But when I copy the binary executable on my serveur,
> exim don't work.
> I have this erreur:
>    option "dkim_domain" unknown


It doesn't seem like the binary that you are calling is the one that
you copied over.

> The command which used:
> echo -ne 'TO:christophe.....@......\n\nfed' |/usr/exim/bin/exim -t -i
> -d  -C /usr/exim/configure.2


Is /usr/exim/bin/exim the binary you copied over? Where is it
expecting to find its libs?

check with 'ldd /usr/exim/bin/exim'

> On my computer and server I have in /usr/lib:
>
> lrwxrwxrwx  1 root root      14 Apr  9 21:59 libdkim.so.0 -> libdkim.so.0.0
> -rw-r--r--  1 root root   73632 May  6  2007 libdkim.so.0.0
> lrwxrwxrwx  1 root root      20 Nov 17 08:36 libopencdk.so.10 ->
> libopencdk.so.10.0.6
> -rw-r--r--  1 root root  156856 Nov 16 15:03 libopencdk.so.10.0.6


If your binary is looking for libdkim.so, then the ldd command will show it.

Show us the output of:

CentOS52[root@ivwm41 ~]# exim -v
Loading lookup modules from /usr/lib64/exim/4.69-7.4iv/lookups
Loaded "mysql.so" (1 lookup types)
Loaded "dkim.so" (1 lookup types)
Loaded 2 lookup modules
Exim is a Mail Transfer Agent. It is normally called by Mail User Agents,
not directly from a shell command line. Options and/or arguments control
what it does when called. For a list of options, see the Exim documentation.

If yours doesn't say anything about those lookup modules, I'm not sure
that you've built it properly.
-- 
Regards...      Todd