Atunci cand se creaza un cont nou, CPanel nu adauga automat intrarile in DNS pentru DomainKeys si SPF.

Pentru a putea face acest lucru, facem asa :

# touch /scripts/postwwwacct

# chmod +x postwwwacct

# vi postwwwacct

In vi dam paste la :

  1. #!/usr/bin/perl
  2.  
  3. print\nStarting install of Domainkeys and SPF records\n;
  4. my %OPTS = @ARGV;
  5. my $user = $OPTS{’user’};
  6. system(/usr/local/cpanel/bin/domain_keys_installer”, $user);
  7. system(/usr/local/cpanel/bin/spf_installer”, $user);
  8. print\nDone with install of Domainkeys and SPF records\n;
  9. print\nAdding domains to EXIM reverse lookup table\n;
  10. system(/bin/sed ’s/\(.*\)\(: \)\(.*\)/\3: \1//etc/domainips_reverse”);
  11. print\nDone adding domains to EXIM revese lookup table\n;
  12.  

Hafe Phun.

Leave a Reply