install DKIM and SPF for all domain with single command

quietFinn

Well-Known Member
Feb 4, 2006
1,222
87
178
Finland
cPanel Access Level
Root Administrator
when i run " ls /var/cpanel/users`; do /usr/local/cpanel/bin/dkim_keys_install $user; done "
i see like below image:

View attachment 17951

Please help me
The command is:
Code:
for user in `ls /var/cpanel/users`; do /usr/local/cpanel/bin/dkim_keys_install $user; done
 

aleroel

Member
Oct 19, 2010
6
0
51
Hello,

After configuration, gave this message:

In order to ensure that SPF or DKIM take effect, you must confirm that this server is a name server authoritative for "dominio.com.br". If you need help, please contact your hosting provider.
****
****
****
DKIM
DKIM is a way to check e-mails received. It ensures that incoming messages are modified and the sender is who they claim to be. This works to prevent the entry of spam messages.
Status: Activated Warning: cPanel is possible to verify that this server is a name server authoritative for "dominio.com.br". [?]
****
SPF
The SPF system allows you to specify servers and IP addresses that are authorized to send email from your domain (s). This works to prevent spam messages sent.
Status: Activated Warning: cPanel is possible to verify that this server is a name server authoritative for "dominio.com.br". [?]

How do I fix?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,203
363
You have to ensure that the domain name referenced uses name servers with IP addresses associated with your cPanel server at it's domain registrar.

Thank you.