Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

install domain keys & spf record

Discussion in 'General Discussion' started by crazyaboutlinux, Mar 25, 2009.

  1. crazyaboutlinux

    crazyaboutlinux Well-Known Member

    Joined:
    Nov 3, 2007
    Messages:
    939
    Likes Received:
    0
    Trophy Points:
    66
    hi

    is there any option in cPanel server that when create a new account from WHM a new account should be create with domain keys & SPF record ??
     
  2. JPC-Martin

    JPC-Martin Active Member
    PartnerNOC

    Joined:
    May 31, 2008
    Messages:
    37
    Likes Received:
    1
    Trophy Points:
    58
    As per my knowledge I don't think so there is such a option availble in Cpanel or WHM.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. big_bull

    big_bull Well-Known Member

    Joined:
    Nov 19, 2006
    Messages:
    150
    Likes Received:
    0
    Trophy Points:
    166
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. crazyaboutlinux

    crazyaboutlinux Well-Known Member

    Joined:
    Nov 3, 2007
    Messages:
    939
    Likes Received:
    0
    Trophy Points:
    66
    hi

    i know this thing & i tried but it doesn't work

    i have tried to editing below are the codes in /scripts/postwwwacct by 1by1

    but the codes are doesn’t work

    we are using cPanel 11.24.4-S33345
    WHM 11.24.2 - X 3.9
    CENTOS 5.2 i686 on standard

    my %OPTS = @ARGV;
    my $user = $OPTS{’user’};
    /usr/local/cpanel/bin/domain_keys_installer $user

    #!/usr/bin/perl
    my %OPTS = @ARGV;
    my $user = $OPTS{’user’};
    system(”/usr/local/cpanel/bin/domain_keys_installer $user”);

    #!/usr/bin/perl

    print “\nStarting install of Domainkeys\n”;
    my %OPTS = @ARGV;
    my $user = $OPTS{’user’};
    system(”/usr/local/cpanel/bin/domain_keys_installer”, $user);
    print “\nDone with install of Domainkeys\n”;exit;

    then try to create a new account but it seems that does not create domain keys Automatically

    please tell what to do now
     
  5. crazyaboutlinux

    crazyaboutlinux Well-Known Member

    Joined:
    Nov 3, 2007
    Messages:
    939
    Likes Received:
    0
    Trophy Points:
    66
    Finally, it is working for me
    Code:
    #!/usr/bin/perl
    
    my %OPTS = @ARGV;
    $ENV{USER} = “$OPTS{’user’}”;
    system q(/usr/local/cpanel/bin/domain_keys_installer $USER);
    system q(/usr/local/cpanel/bin/spf_installer $USER)
    DONT FORGET THIS STEP

    chmod 711 /scripts/postwwwacct (after use this permission Domain keys & SPF record enabled it self)
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice