The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

install DKIM and SPF for all domain with single command

Discussion in 'E-mail Discussions' started by morteza3245, Nov 5, 2013.

  1. morteza3245

    morteza3245 Well-Known Member

    Joined:
    Sep 16, 2013
    Messages:
    104
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Hello

    i want install(config) DKIM and SPF for all domain in server with one command,
    it is possible?

    Please give me command

    Thanks.
     
  2. morteza3245

    morteza3245 Well-Known Member

    Joined:
    Sep 16, 2013
    Messages:
    104
    Likes Received:
    0
    Trophy Points:
    16
    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:

    999.jpg

    Please help me

    Thanks!
     
  3. quietFinn

    quietFinn Well-Known Member

    Joined:
    Feb 4, 2006
    Messages:
    998
    Likes Received:
    10
    Trophy Points:
    18
    Location:
    Finland
    cPanel Access Level:
    Root Administrator
    The command is:
    Code:
    for user in `ls /var/cpanel/users`; do /usr/local/cpanel/bin/dkim_keys_install $user; done
    
     
  4. aleroel

    aleroel Member

    Joined:
    Oct 19, 2010
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    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?
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page