Is there a way to prevent users from setting up forwards of there mail to specific domains. eg yahoo.com, gmail.com so that it will tell them or pop an error.
there is no such feature in the cpanel now. 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.