



PHP pages served through cPanel and WHM interfaces will always use the PHP located in the /usr/local/cpanel/3rdparty/bin directory. Run chattr +ia /etc/nf and restart the exim.ġ) What service uses the mods installed in /opt?Ģ) Which of the following directories contains the cPanel & WHM installation log?ģ) The makecpphp script is no longer supported. Then scroll down until you see these lines(line nuber 1518): Open /etc/nf and near the top, add the following lines:ĭKIM_FILE = /var/cpanel/domain_keys/private/$ System q(/usr/local/cpanel/bin/spf_installer $USER) System q(/usr/local/cpanel/bin/dkim_keys_installer $USER) To set up the server to automatically create an SPF record and DomainKey for new accounts, edit/create /scripts/postwwwacct and paste in the following code: usr/local/cpanel/bin/spf_installer $user doneĬPanel already though of that, and has options to create hooks for when after an account is created. usr/local/cpanel/bin/dkim_keys_install $user & If you wish to add DomainKeys and SPF for all Cpanel users on your server, execute following command.įor user in `ls -A /var/cpanel/users` do
