cPanel SPF – TecAdmin https://tecadmin.net How to guide for System Administrator's and Developers Tue, 04 Jun 2013 11:15:12 +0000 en-US hourly 1 https://wordpress.org/?v=6.1.1 How to Add SPF Records for all Accounts on cPanel Server https://tecadmin.net/how-to-add-spf-records-for-all-accounts-on-cpanel-server/ https://tecadmin.net/how-to-add-spf-records-for-all-accounts-on-cpanel-server/#comments Tue, 04 Jun 2013 11:15:12 +0000 https://tecadmin.net/?p=1543 This article will help to how to add SPF records for all accounts on cPanel server 1. For Single Account cPanel provides scripts to add SPF record in accounts. If you want to add SPF record in single account use following command as root user. # /usr/local/cpanel/bin/spf_installer <username> <username> : cPanel account name to which [...]

The post How to Add SPF Records for all Accounts on cPanel Server appeared first on TecAdmin.

]]>
This article will help to how to add SPF records for all accounts on cPanel server

1. For Single Account

cPanel provides scripts to add SPF record in accounts. If you want to add SPF record in single account use following command as root user.

# /usr/local/cpanel/bin/spf_installer <username>

<username> : cPanel account name to which SPF need to configure.

2. For All Accounts

Use following script to add SPF records for all accounts on cPanel server.

# for USER in /var/cpanel/users/*; do /usr/local/cpanel/bin/spf_installer "${USER##*/}"; done

Reference:

http://docs.cpanel.net/twiki/bin/view/AllDocumentation/CpanelDocs/EmailAuthentication

The post How to Add SPF Records for all Accounts on cPanel Server appeared first on TecAdmin.

]]>
https://tecadmin.net/how-to-add-spf-records-for-all-accounts-on-cpanel-server/feed/ 3