PDA

View Full Version : X-DKIM-Result: PermError



janton
12-19-2011, 12:27 PM
Hello All,

I just followed the instructions from:
http://www.directadmin.com/features.php?id=1189

1.) I did:
directadmin.conf and restart DA:
dkim=1


2.)And then run:
/usr/local/directadmin/scripts/dkim_create.sh domain.com


3.)Edit your /etc/exim.conf. Find this code:

remote_smtp:
driver = smtp

change it to be:

remote_smtp:
driver = smtp
dkim_domain = $sender_address_domain
dkim_selector = x
dkim_private_key = ${if exists{/etc/virtual/$sender_address_domain/dkim.private.key}{/etc/virtual/$sender_address_domain/dkim.private.key}{0}}
dkim_canon = relaxed
dkim_strict = 0

and restart exim.

Now it seems to work for my main domain, but a other domain i have with a different IP and different user i also run the dkim_create.sh with the right domain name, but now i see this for that email:
X-DKIM-Result: PermError

What could be wrong?

scsi
12-19-2011, 01:19 PM
Check the error logs

janton
12-19-2011, 02:04 PM
Check the error logs

The Exim log?

janton
12-19-2011, 02:09 PM
I checked exim log but i don't see anything strainge, i checked the DNS and i see this line:
localhost AAAA ::1

(is that normal?)

Also is this normal when i have 2 ip's one from the server and one for the site: (*i replaced the domain and ip for this post)
domain.com. TXT "v=spf1 a mx ip4:11.11.11.111 -all"

The IP shown here is the one from my main server, but the site is running on a differen IP

janton
12-20-2011, 05:17 AM
I found the problem, but could not solve it yet.. it looks like a strainge DA bug? see last post

http://www.directadmin.com/forum/showthread.php?t=42420