--- contact.pages.inc	2009-05-16 23:58:16.000000000 -0400
+++ contact.pages.inc.mailalter	2009-05-16 23:59:19.000000000 -0400
@@ -234,3 +234,10 @@ function contact_mail_user_submit($form,
   // Back to the requested users profile page.
   $form_state['redirect'] = "user/$account->uid";
 }
+
+function contact_mail_alter(&$message) {
+	$properfrom = variable_get('site_mail','');
+        $properreplyto = $message['from'];
+	$message['headers']['From'] = $properfrom;
+        $message['headers']['Reply-To'] = $properreplyto;
+}
