Disable greylisting on all cPanel accounts

Disable greylisting on all cPanel accounts

Here is a simple one-liner that will disable the greylisting feature for all cPanel accounts on the server:

for i in $(\ls /var/cpanel/users) ; do uapi --user=$i cPGreyList disable_all_domains ; done
whoami
Stefan Pejcic
Join the discussion

I enjoy constructive responses and professional comments to my posts, and invite anyone to comment or link to my site.