it would be helpful to see the code that handles your posted data, but let's assume that the email address submitted is contained in $_POST['email'].
<?
$my_domain = 'mydomain.com';
if (stristr($_POST['email'], $my_domain) {
die( "YOU JERK. YOU ARE NOT PERMITTED TO POST AN EMAIL ADDRESS FROM MY DOMAIN");
}
?>