I just found out the that starting on the 8th of November which I believe is when I updated to the latest 0.10.22 froxlor the DKIM fails to send the public key. Looking at the email message source:
dkim=temperror (no key for signature) header.i=@xxxxxxxxx.com header.s=dkim1.priv header.b=kWkNNAzJ;
I just checked the froxlor database and the public and private keys are there. I also check the /etc/postfix/dkim/ and all the keys are also there, including dkim-keys.conf which lists all domains and its keys
In fact I haven't changed or modified anything related to this, not at that I'm aware of anyway.
I found this post
But I don't know if it's related to my problem,
I also restart postfix, dkim-filter, dovecot and the same dkim=temperror (no key for signature)
Are you aware if there is change on the latest froxlor update that could cause this? or any idea how else to debug this? It's really strange since nothing seems to be changed from my side.
Thanks,
Lluc
P.D. Could it be a permissions problem? I checked the /etc/postfix/dkim/ directory and the owner is root:root. Is this correct? I don't recall changing this neither. Just in case rings a bell.
OK.. could it be this change? I suspect is coming from this change.. maybe?
drwxr-xr-x 2 root root 4096 Nov 7 11:32 .
drwxr-xr-x 7 root root 4096 Aug 20 11:39 ..
-rw-r----- 1 root root 887 Aug 9 10:58 dkim1
-rw-r----- 1 root root 887 Nov 7 11:32 dkim1.priv
-rw-r--r-- 1 root root 272 Aug 9 10:58 dkim1.public
-rw-r----- 1 root root 887 Aug 9 10:58 dkim2
-rw-r----- 1 root root 887 Nov 7 11:32 dkim2.priv
-rw-r--r-- 1 root root 272 Aug 9 10:58 dkim2.public
-rw-r----- 1 root root 887 Aug 9 10:58 dkim3
-rw-r----- 1 root root 887 Nov 7 11:32 dkim3.priv
-rw-r--r-- 1 root root 272 Aug 9 10:58 dkim3.public
-rw-r----- 1 root root 887 Aug 9 10:58 dkim4
-rw-r----- 1 root root 887 Nov 7 11:32 dkim4.priv
-rw-r--r-- 1 root root 272 Aug 9 10:58 dkim4.public
-rw-r----- 1 root root 887 Aug 9 10:58 dkim6
-rw-r----- 1 root root 887 Nov 7 11:32 dkim6.priv
-rw-r--r-- 1 root root 272 Aug 9 10:58 dkim6.public
-rw-r----- 1 root root 887 Aug 9 10:58 dkim7
-rw-r----- 1 root root 887 Nov 7 11:32 dkim7.priv
-rw-r--r-- 1 root root 272 Aug 9 10:58 dkim7.public
which the dkim1, dkim2 etc.. are the "old" private files, and the dkim1.priv dkim2.priv etc. are the new private keys file created with the latest commit I just published above.
Question
llucps
Hi,
I just found out the that starting on the 8th of November which I believe is when I updated to the latest 0.10.22 froxlor the DKIM fails to send the public key. Looking at the email message source:
dkim=temperror (no key for signature) header.i=@xxxxxxxxx.com header.s=dkim1.priv header.b=kWkNNAzJ;
I just checked the froxlor database and the public and private keys are there. I also check the /etc/postfix/dkim/ and all the keys are also there, including dkim-keys.conf which lists all domains and its keys
In fact I haven't changed or modified anything related to this, not at that I'm aware of anyway.
I found this post
But I don't know if it's related to my problem,
I also restart postfix, dkim-filter, dovecot and the same dkim=temperror (no key for signature)
Are you aware if there is change on the latest froxlor update that could cause this? or any idea how else to debug this? It's really strange since nothing seems to be changed from my side.
Thanks,
Lluc
P.D. Could it be a permissions problem? I checked the /etc/postfix/dkim/ directory and the owner is root:root. Is this correct? I don't recall changing this neither. Just in case rings a bell.
OK.. could it be this change? I suspect is coming from this change.. maybe?
https://github.com/Froxlor/Froxlor/commit/15a13a7783d85f77efe1619ed85bd46e9ad3935b
More things:
On my /etc/postfix/dkim/ I have:
drwxr-xr-x 2 root root 4096 Nov 7 11:32 . drwxr-xr-x 7 root root 4096 Aug 20 11:39 .. -rw-r----- 1 root root 887 Aug 9 10:58 dkim1 -rw-r----- 1 root root 887 Nov 7 11:32 dkim1.priv -rw-r--r-- 1 root root 272 Aug 9 10:58 dkim1.public -rw-r----- 1 root root 887 Aug 9 10:58 dkim2 -rw-r----- 1 root root 887 Nov 7 11:32 dkim2.priv -rw-r--r-- 1 root root 272 Aug 9 10:58 dkim2.public -rw-r----- 1 root root 887 Aug 9 10:58 dkim3 -rw-r----- 1 root root 887 Nov 7 11:32 dkim3.priv -rw-r--r-- 1 root root 272 Aug 9 10:58 dkim3.public -rw-r----- 1 root root 887 Aug 9 10:58 dkim4 -rw-r----- 1 root root 887 Nov 7 11:32 dkim4.priv -rw-r--r-- 1 root root 272 Aug 9 10:58 dkim4.public -rw-r----- 1 root root 887 Aug 9 10:58 dkim6 -rw-r----- 1 root root 887 Nov 7 11:32 dkim6.priv -rw-r--r-- 1 root root 272 Aug 9 10:58 dkim6.public -rw-r----- 1 root root 887 Aug 9 10:58 dkim7 -rw-r----- 1 root root 887 Nov 7 11:32 dkim7.priv -rw-r--r-- 1 root root 272 Aug 9 10:58 dkim7.public
which the dkim1, dkim2 etc.. are the "old" private files, and the dkim1.priv dkim2.priv etc. are the new private keys file created with the latest commit I just published above.
In the dkim-keys.conf I have:
*@xxxxxx.com:xxxxxxx.com:/etc/postfix/dkim/dkim1.priv *@xxxxxx.com:xxxxxxx.com:/etc/postfix/dkim/dkim2.priv *@xxxxxx.com:xxxxxxx.com:/etc/postfix/dkim/dkim3.priv *@xxxxxx.com:xxxxxxx.com:/etc/postfix/dkim/dkim4.priv *@xxxxxx.com:xxxxxxx.com:/etc/postfix/dkim/dkim5.priv *@xxxxxx.com:xxxxxxx.com:/etc/postfix/dkim/dkim6.priv *@xxxxxx.com:xxxxxxx.com:/etc/postfix/dkim/dkim7.priv
Although it looks ok to me... it's pointing the the dkim*.priv files
12 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now