Is there any way to prevent a users from setting up forwards of their mail to specific domains. for example yahoo.com, gmail.com so that it will tell them or pop an error.
Yes I agree with Glenn,there is no such feature in the cpanel now. For this you will need to run some scripts in cron, which will check every domains forwarder setting file and then delete entries for forwarders to yahoo, gmail etc.