New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

I'm a bit lost

Started by pedromidiasf, March 21, 2015, 09:42:54 PM

Previous topic - Next topic

pedromidiasf

I configured DKIM, I did this:

Over the panel:
(1) Email - DKIM & SPF Manager

(2) I selected my domain and i generated a DKIM key

(3) Then i took a look at: "/var/named/my_domain.com.db" and i found:
default._domainkey IN TXT "v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDyPJGm1OFopzv9zfPm7DQfQP4CDSe1iNS0BAogvXqaX/viXOVgMDJmra2FaCm2h4BE3XNLBEhaR+iap3GwFCuRNM3EihL6RlpIT6zxUl4CDQSY0Mu3vCDcV59ycWoQvebanqQPKwU1fHH6dZkq22/ncwxW/rUENke2qXKLxybkrwIDAQAB"

(4) Then i went to DynaDot (my dns provider) and i added the TXT record
DOMAIN: default._domainkey.my_domain.com
TARGET:
v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDyPJGm1OFopzv9zfPm7DQfQP4CDSe1iNS0BAogvXqaX/viXOVgMDJmra2FaCm2h4BE3XNLBEhaR+iap3GwFCuRNM3EihL6RlpIT6zxUl4CDQSY0Mu3vCDcV59ycWoQvebanqQPKwU1fHH6dZkq22/ncwxW/rUENke2qXKLxybkrwIDAQAB

I sent an email over roundcube to gmail but it's still not signed, what did i miss?
What else should i do?

Thanks for your time

zakrpa

Hi,

Had same problem but there are missing some config details in postfix to sign mail.
Try this:

Edit file:

/etc/postfix/main.cf

Add this at the end of file:

smtpd_milters           = inet:127.0.0.1:8891
non_smtpd_milters   = $smtpd_milters
milter_default_action   = accept
milter_protocol         = 2


save file and restart postfix.

I take this from some online tutorial and works for me... But dont know did they fixed owner permissions for DKIM I allready reported this bug!
But this fix must work for new added domains..

Try and let us know

Regards

pedromidiasf

I'll take a look, thanks for your help buddy

Administrator

try rebuilding mail server with DKIM it should resolve the issue.

pedromidiasf

It worked with the zakrpa tip.
I'm too scared to rebuild mail server, it might stop working like happened before, i had to do it over and over  :(

Administrator

new rebuilder has this fix included so you don't need to manually edit configuration files.

locvfx

#6
Quote from: pedromidiasf on March 21, 2015, 09:42:54 PM
I configured DKIM, I did this:

Over the panel:
(1) Email - DKIM & SPF Manager

(2) I selected my domain and i generated a DKIM key

(3) Then i took a look at: "/var/named/my_domain.com.db" and i found:
default._domainkey IN TXT "v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDyPJGm1OFopzv9zfPm7DQfQP4CDSe1iNS0BAogvXqaX/viXOVgMDJmra2FaCm2h4BE3XNLBEhaR+iap3GwFCuRNM3EihL6RlpIT6zxUl4CDQSY0Mu3vCDcV59ycWoQvebanqQPKwU1fHH6dZkq22/ncwxW/rUENke2qXKLxybkrwIDAQAB"

(4) Then i went to DynaDot (my dns provider) and i added the TXT record
DOMAIN: default._domainkey.my_domain.com
TARGET:
v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDyPJGm1OFopzv9zfPm7DQfQP4CDSe1iNS0BAogvXqaX/viXOVgMDJmra2FaCm2h4BE3XNLBEhaR+iap3GwFCuRNM3EihL6RlpIT6zxUl4CDQSY0Mu3vCDcV59ycWoQvebanqQPKwU1fHH6dZkq22/ncwxW/rUENke2qXKLxybkrwIDAQAB

I sent an email over roundcube to gmail but it's still not signed, what did i miss?
What else should i do?

Thanks for your time

In your domain panel, the TXT record Host should be

default._domainkey.my_domain.com  (remove --> .my_domain.com)

The VALUE should be

v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDyPJGm1OFopzv9zfPm7DQfQP4CDSe1iNS0BAogvXqaX/viXOVgMDJmra2FaCm2h4BE3XNLBEhaR+iap3GwFCuRNM3EihL6RlpIT6zxUl4CDQSY0Mu3vCDcV59ycWoQvebanqQPKwU1fHH6dZkq22/ncwxW/rUENke2qXKLxybkrwIDAQAB

pedromidiasf

I'm sorry I lost this message.
Thank you for your time and help.

Starburst

There is another file to check, opendkim.conf

Also some installation are missing opendkim & opendkim-tools, so you want to make sure they are installed and enabled.

If you are running AL9, see:
https://starburst.help/control-web-panel-cwp/control-web-panel-cwp-admin-tutorials/dkim-not-working-on-almalinux-9-with-cwp/

pedromidiasf