Server IP : 104.244.120.118  /  Your IP : 216.73.216.198
Web Server : Apache
System : Linux ded5817.inmotionhosting.com 5.14.0-741.22.1.el9_9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Nov 12 14:34:46 UTC 2026 x86_64
User : persoanlinjuryla ( 1006)
PHP Version : 8.5.13
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF
Directory (0755) :  /scripts/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //scripts/postwwwacct
#!/usr/bin/python2
# cPanel script hook for account creations   
# Documentation: http://docs.cpanel.net/twiki/bin/view/SoftwareDevelopmentKit/ScriptHooks

import sys
from subprocess import call

argv = sys.argv

# Initialize VALUES as a dict comprised of key/value pairs passed by cPanel when this script is invoked

VALUES={}
range=xrange(2, len(sys.argv), 2)
for i in range:
    VALUES[sys.argv[i - 1]] = sys.argv[i]

user = VALUES['user']

# Automatically create a domain key
print "Adding DKIM"

call(['/usr/local/cpanel/bin/dkim_keys_install', user])